com.glookast.commons.templates.AvidNexisStorageSystem 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 AvidNexisStorageSystem complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AvidNexisStorageSystem">
* <complexContent>
* <extension base="{http://templates.commons.glookast.com}AvidStorageSystem">
* <sequence>
* <element name="systemDirector" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="workspace" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AvidNexisStorageSystem", namespace = "http://templates.commons.glookast.com", propOrder = {
"systemDirector",
"workspace"
})
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, defaultImpl = AvidNexisStorageSystem.class)
public class AvidNexisStorageSystem
extends AvidStorageSystem
implements Serializable
{
@XmlElement(required = true)
protected String systemDirector;
@XmlElement(required = true)
protected String workspace;
/**
* Default no-arg constructor
*/
public AvidNexisStorageSystem()
{
super();
}
/**
* Fully-initialising value constructor
*/
public AvidNexisStorageSystem(final UUID id, final String name, final String description, final String systemDirector, final String workspace)
{
super(id, name, description);
this.systemDirector = systemDirector;
this.workspace = workspace;
}
public AvidNexisStorageSystem(AvidNexisStorageSystem ss)
{
super(ss);
this.systemDirector = ss.systemDirector;
this.workspace = ss.workspace;
}
/**
* Gets the value of the systemDirector property.
*
* @return possible object is
* {@link String }
*/
public String getSystemDirector()
{
return systemDirector;
}
/**
* Sets the value of the systemDirector property.
*
* @param value allowed object is
* {@link String }
*/
public void setSystemDirector(String value)
{
this.systemDirector = value;
}
/**
* Gets the value of the workspace property.
*
* @return possible object is
* {@link String }
*/
public String getWorkspace()
{
return workspace;
}
/**
* Sets the value of the workspace property.
*
* @param value allowed object is
* {@link String }
*/
public void setWorkspace(String value)
{
this.workspace = 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;
}
AvidNexisStorageSystem that = (AvidNexisStorageSystem) o;
return Objects.equals(getSystemDirector(), that.getSystemDirector()) &&
Objects.equals(getWorkspace(), that.getWorkspace());
}
@Override
public int hashCode()
{
return Objects.hash(super.hashCode(), getSystemDirector(), getWorkspace());
}
@Override
public String toString()
{
return "AvidNexisStorageSystem{" + "id=" + id + ", name=" + name + ", description=" + description + ", systemDirector=" + systemDirector + ", workspace=" + workspace + '}';
}
}