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

com.threatconnect.sdk.server.entity.Victim 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;

/**
 *
 * @author eric
 */
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "Victim")
public class Victim
{
    @XmlElement(name = "Id", required = true)
    private Integer id;
    @XmlElement(name = "Name", required = true)
    private String name;
    @XmlElement(name = "Description", required = false)
    private String description;
    @XmlElement(name = "Org", required = false)
    private String org;
    @XmlElement(name = "Suborg", required = false)
    private String suborg;
    @XmlElement(name = "WorkLocation", required = false)
    private String workLocation;
    @XmlElement(name = "Nationality", required = false)
    private String nationality;
    @XmlElement(name = "WebLink", required = false)
    private String webLink;
    
    public Victim()
    {
    }

    public Victim(Integer id, String name, String description, String org, String suborg, String workLocation, String nationality, String webLink)
    {
        this.id = id;
        this.name = name;
        this.description = description;
        this.org = org;
        this.suborg = suborg;
        this.workLocation = workLocation;
        this.nationality = nationality;
        this.webLink = webLink;
    }

    public Integer getId()
    {
        return id;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getDescription()
    {
        return description;
    }

    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getOrg()
    {
        return org;
    }

    public void setOrg(String org)
    {
        this.org = org;
    }

    public String getSuborg()
    {
        return suborg;
    }

    public void setSuborg(String suborg)
    {
        this.suborg = suborg;
    }

    public String getWorkLocation()
    {
        return workLocation;
    }

    public void setWorkLocation(String workLocation)
    {
        this.workLocation = workLocation;
    }

    public String getNationality()
    {
        return nationality;
    }

    public void setNationality(String nationality)
    {
        this.nationality = nationality;
    }

    public String getWebLink()
    {
        return webLink;
    }

    public void setWebLink(String webLink)
    {
        this.webLink = webLink;
    }

    @Override
    public String toString()
    {
        return "Victim{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", description='" + description + '\'' +
                ", org='" + org + '\'' +
                ", suborg='" + suborg + '\'' +
                ", workLocation='" + workLocation + '\'' +
                ", nationality='" + nationality + '\'' +
                ", webLink='" + webLink + '\'' +
                '}';
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy