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

com.glookast.commons.templates.JsonExportMetadataSystem Maven / Gradle / Ivy


package com.glookast.commons.templates;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonTypeInfo;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import java.io.Serializable;
import java.util.Objects;
import java.util.UUID;


/**
 * 

Java class for JsonExportMetadataSystem complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="JsonExportMetadataSystem">
 *   <complexContent>
 *     <extension base="{http://templates.commons.glookast.com}MetadataSystem">
 *       <sequence>
 *         <element name="location" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
*/ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "JsonExportMetadataSystem", namespace = "http://templates.commons.glookast.com", propOrder = { "location" }) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, defaultImpl = JsonExportMetadataSystem.class) public class JsonExportMetadataSystem extends MetadataSystem implements Serializable { @XmlElement(required = true) protected String location; /** * Default no-arg constructor */ public JsonExportMetadataSystem() { super(); } /** * Fully-initialising value constructor */ public JsonExportMetadataSystem(final UUID id, final String name, final String description, final String location) { super(id, name, description); this.location = location; } public JsonExportMetadataSystem(JsonExportMetadataSystem ms) { super(ms); this.location = ms.location; } /** * Gets the value of the location property. * * @return possible object is * {@link String } */ public String getLocation() { return location; } /** * Sets the value of the location property. * * @param value allowed object is * {@link String } */ public void setLocation(String value) { this.location = value; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } if (!super.equals(o)) { return false; } JsonExportMetadataSystem that = (JsonExportMetadataSystem) o; return Objects.equals(getLocation(), that.getLocation()); } @Override public int hashCode() { return Objects.hash(super.hashCode(), getLocation()); } @Override public String toString() { return "JsonExportMetadataSystem{" + "id=" + id + ", name=" + name + ", description=" + description + ", location=" + location + '}'; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy