All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.threatconnect.sdk.server.entity.Signature Maven / Gradle / Ivy

Go to download

The ThreatConnect Java SDK. Used to communicate with teh ThreatConnect Threat Intelligence Platform

The newest version!
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.threatconnect.sdk.server.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.Date;

/**
 *
 * @author James
 */
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "Signature")
public class Signature extends Group
{
    @XmlElement(name = "fileType", required = false)
    private String fileType;
    @XmlElement(name = "fileName", required = false)
    private String fileName;
    @XmlElement(name = "fileText", required = false)
    private String fileText;
    
    public Signature()
    {
        super();
    }

    public Signature(Integer id, String name, String type, Owner owner, String ownerName, Date dateAdded, String webLink, String fileType, String fileName, String fileText)
    {
        super(id, name, type, owner, ownerName, dateAdded, webLink);
        this.fileType = fileType;
        this.fileName = fileName;
        this.fileText = fileText;
    }

    public String getFileType()
    {
        return fileType;
    }

    public void setFileType(String fileType)
    {
        this.fileType = fileType;
    }

    public String getFileName()
    {
        return fileName;
    }

    public void setFileName(String fileName)
    {
        this.fileName = fileName;
    }

    public String getFileText()
    {
        return fileText;
    }

    public void setFileText(String fileText)
    {
        this.fileText = fileText;
    }
    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy