
io.fixprotocol._2016.fixrepository.Appinfo Maven / Gradle / Ivy
The newest version!
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.09.19 at 12:33:07 PM CDT
//
package io.fixprotocol._2016.fixrepository;
import java.math.BigInteger;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.jvnet.jaxb2_commons.lang.CopyStrategy2;
import org.jvnet.jaxb2_commons.lang.CopyTo2;
import org.jvnet.jaxb2_commons.lang.JAXBCopyStrategy;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;
/**
* Usage specific annotation, optionally with link to
* an external reference or standard
*
*
* Java class for appinfo complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="appinfo">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attGroup ref="{http://fixprotocol.io/2016/fixrepository}entityAttribGrp"/>
* <attribute name="specUrl" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* <attribute name="langId" type="{http://fixprotocol.io/2016/fixrepository}language_t" />
* <attribute name="purpose" type="{http://fixprotocol.io/2016/fixrepository}purpose_t" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "appinfo", propOrder = {
"content"
})
public class Appinfo implements Cloneable, CopyTo2
{
@XmlValue
protected String content;
@XmlAttribute(name = "specUrl")
@XmlSchemaType(name = "anyURI")
protected String specUrl;
@XmlAttribute(name = "langId")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String langId;
@XmlAttribute(name = "purpose")
protected String purpose;
@XmlAttribute(name = "added")
protected String added;
@XmlAttribute(name = "addedEP")
protected BigInteger addedEP;
@XmlAttribute(name = "changeType")
protected ChangeTypeT changeType;
@XmlAttribute(name = "deprecated")
protected String deprecated;
@XmlAttribute(name = "deprecatedEP")
protected BigInteger deprecatedEP;
@XmlAttribute(name = "issue")
protected String issue;
@XmlAttribute(name = "lastModified")
protected String lastModified;
@XmlAttribute(name = "replaced")
protected String replaced;
@XmlAttribute(name = "replacedEP")
protected BigInteger replacedEP;
@XmlAttribute(name = "replacedByField")
protected BigInteger replacedByField;
@XmlAttribute(name = "supported")
protected SupportType supported;
@XmlAttribute(name = "updated")
protected String updated;
@XmlAttribute(name = "updatedEP")
protected BigInteger updatedEP;
/**
* Usage specific annotation, optionally with link to
* an external reference or standard
*
*
* @return
* possible object is
* {@link String }
*
*/
public String getContent() {
return content;
}
/**
* Sets the value of the content property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setContent(String value) {
this.content = value;
}
/**
* Gets the value of the specUrl property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSpecUrl() {
return specUrl;
}
/**
* Sets the value of the specUrl property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSpecUrl(String value) {
this.specUrl = value;
}
/**
* Gets the value of the langId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLangId() {
return langId;
}
/**
* Sets the value of the langId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLangId(String value) {
this.langId = value;
}
/**
* Gets the value of the purpose property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPurpose() {
return purpose;
}
/**
* Sets the value of the purpose property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPurpose(String value) {
this.purpose = value;
}
/**
* Gets the value of the added property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAdded() {
return added;
}
/**
* Sets the value of the added property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAdded(String value) {
this.added = value;
}
/**
* Gets the value of the addedEP property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getAddedEP() {
return addedEP;
}
/**
* Sets the value of the addedEP property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setAddedEP(BigInteger value) {
this.addedEP = value;
}
/**
* Gets the value of the changeType property.
*
* @return
* possible object is
* {@link ChangeTypeT }
*
*/
public ChangeTypeT getChangeType() {
return changeType;
}
/**
* Sets the value of the changeType property.
*
* @param value
* allowed object is
* {@link ChangeTypeT }
*
*/
public void setChangeType(ChangeTypeT value) {
this.changeType = value;
}
/**
* Gets the value of the deprecated property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDeprecated() {
return deprecated;
}
/**
* Sets the value of the deprecated property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDeprecated(String value) {
this.deprecated = value;
}
/**
* Gets the value of the deprecatedEP property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getDeprecatedEP() {
return deprecatedEP;
}
/**
* Sets the value of the deprecatedEP property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setDeprecatedEP(BigInteger value) {
this.deprecatedEP = value;
}
/**
* Gets the value of the issue property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIssue() {
return issue;
}
/**
* Sets the value of the issue property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIssue(String value) {
this.issue = value;
}
/**
* Gets the value of the lastModified property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLastModified() {
return lastModified;
}
/**
* Sets the value of the lastModified property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLastModified(String value) {
this.lastModified = value;
}
/**
* Gets the value of the replaced property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getReplaced() {
return replaced;
}
/**
* Sets the value of the replaced property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setReplaced(String value) {
this.replaced = value;
}
/**
* Gets the value of the replacedEP property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getReplacedEP() {
return replacedEP;
}
/**
* Sets the value of the replacedEP property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setReplacedEP(BigInteger value) {
this.replacedEP = value;
}
/**
* Gets the value of the replacedByField property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getReplacedByField() {
return replacedByField;
}
/**
* Sets the value of the replacedByField property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setReplacedByField(BigInteger value) {
this.replacedByField = value;
}
/**
* Gets the value of the supported property.
*
* @return
* possible object is
* {@link SupportType }
*
*/
public SupportType getSupported() {
if (supported == null) {
return SupportType.SUPPORTED;
} else {
return supported;
}
}
/**
* Sets the value of the supported property.
*
* @param value
* allowed object is
* {@link SupportType }
*
*/
public void setSupported(SupportType value) {
this.supported = value;
}
/**
* Gets the value of the updated property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUpdated() {
return updated;
}
/**
* Sets the value of the updated property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUpdated(String value) {
this.updated = value;
}
/**
* Gets the value of the updatedEP property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getUpdatedEP() {
return updatedEP;
}
/**
* Sets the value of the updatedEP property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setUpdatedEP(BigInteger value) {
this.updatedEP = value;
}
public Object clone() {
return copyTo(createNewInstance());
}
public Object copyTo(Object target) {
final CopyStrategy2 strategy = JAXBCopyStrategy.INSTANCE;
return copyTo(null, target, strategy);
}
public Object copyTo(ObjectLocator locator, Object target, CopyStrategy2 strategy) {
final Object draftCopy = ((target == null)?createNewInstance():target);
if (draftCopy instanceof Appinfo) {
final Appinfo copy = ((Appinfo) draftCopy);
{
Boolean contentShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.content!= null));
if (contentShouldBeCopiedAndSet == Boolean.TRUE) {
String sourceContent;
sourceContent = this.getContent();
String copyContent = ((String) strategy.copy(LocatorUtils.property(locator, "content", sourceContent), sourceContent, (this.content!= null)));
copy.setContent(copyContent);
} else {
if (contentShouldBeCopiedAndSet == Boolean.FALSE) {
copy.content = null;
}
}
}
{
Boolean specUrlShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.specUrl!= null));
if (specUrlShouldBeCopiedAndSet == Boolean.TRUE) {
String sourceSpecUrl;
sourceSpecUrl = this.getSpecUrl();
String copySpecUrl = ((String) strategy.copy(LocatorUtils.property(locator, "specUrl", sourceSpecUrl), sourceSpecUrl, (this.specUrl!= null)));
copy.setSpecUrl(copySpecUrl);
} else {
if (specUrlShouldBeCopiedAndSet == Boolean.FALSE) {
copy.specUrl = null;
}
}
}
{
Boolean langIdShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.langId!= null));
if (langIdShouldBeCopiedAndSet == Boolean.TRUE) {
String sourceLangId;
sourceLangId = this.getLangId();
String copyLangId = ((String) strategy.copy(LocatorUtils.property(locator, "langId", sourceLangId), sourceLangId, (this.langId!= null)));
copy.setLangId(copyLangId);
} else {
if (langIdShouldBeCopiedAndSet == Boolean.FALSE) {
copy.langId = null;
}
}
}
{
Boolean purposeShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.purpose!= null));
if (purposeShouldBeCopiedAndSet == Boolean.TRUE) {
String sourcePurpose;
sourcePurpose = this.getPurpose();
String copyPurpose = ((String) strategy.copy(LocatorUtils.property(locator, "purpose", sourcePurpose), sourcePurpose, (this.purpose!= null)));
copy.setPurpose(copyPurpose);
} else {
if (purposeShouldBeCopiedAndSet == Boolean.FALSE) {
copy.purpose = null;
}
}
}
{
Boolean addedShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.added!= null));
if (addedShouldBeCopiedAndSet == Boolean.TRUE) {
String sourceAdded;
sourceAdded = this.getAdded();
String copyAdded = ((String) strategy.copy(LocatorUtils.property(locator, "added", sourceAdded), sourceAdded, (this.added!= null)));
copy.setAdded(copyAdded);
} else {
if (addedShouldBeCopiedAndSet == Boolean.FALSE) {
copy.added = null;
}
}
}
{
Boolean addedEPShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.addedEP!= null));
if (addedEPShouldBeCopiedAndSet == Boolean.TRUE) {
BigInteger sourceAddedEP;
sourceAddedEP = this.getAddedEP();
BigInteger copyAddedEP = ((BigInteger) strategy.copy(LocatorUtils.property(locator, "addedEP", sourceAddedEP), sourceAddedEP, (this.addedEP!= null)));
copy.setAddedEP(copyAddedEP);
} else {
if (addedEPShouldBeCopiedAndSet == Boolean.FALSE) {
copy.addedEP = null;
}
}
}
{
Boolean changeTypeShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.changeType!= null));
if (changeTypeShouldBeCopiedAndSet == Boolean.TRUE) {
ChangeTypeT sourceChangeType;
sourceChangeType = this.getChangeType();
ChangeTypeT copyChangeType = ((ChangeTypeT) strategy.copy(LocatorUtils.property(locator, "changeType", sourceChangeType), sourceChangeType, (this.changeType!= null)));
copy.setChangeType(copyChangeType);
} else {
if (changeTypeShouldBeCopiedAndSet == Boolean.FALSE) {
copy.changeType = null;
}
}
}
{
Boolean deprecatedShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.deprecated!= null));
if (deprecatedShouldBeCopiedAndSet == Boolean.TRUE) {
String sourceDeprecated;
sourceDeprecated = this.getDeprecated();
String copyDeprecated = ((String) strategy.copy(LocatorUtils.property(locator, "deprecated", sourceDeprecated), sourceDeprecated, (this.deprecated!= null)));
copy.setDeprecated(copyDeprecated);
} else {
if (deprecatedShouldBeCopiedAndSet == Boolean.FALSE) {
copy.deprecated = null;
}
}
}
{
Boolean deprecatedEPShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.deprecatedEP!= null));
if (deprecatedEPShouldBeCopiedAndSet == Boolean.TRUE) {
BigInteger sourceDeprecatedEP;
sourceDeprecatedEP = this.getDeprecatedEP();
BigInteger copyDeprecatedEP = ((BigInteger) strategy.copy(LocatorUtils.property(locator, "deprecatedEP", sourceDeprecatedEP), sourceDeprecatedEP, (this.deprecatedEP!= null)));
copy.setDeprecatedEP(copyDeprecatedEP);
} else {
if (deprecatedEPShouldBeCopiedAndSet == Boolean.FALSE) {
copy.deprecatedEP = null;
}
}
}
{
Boolean issueShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.issue!= null));
if (issueShouldBeCopiedAndSet == Boolean.TRUE) {
String sourceIssue;
sourceIssue = this.getIssue();
String copyIssue = ((String) strategy.copy(LocatorUtils.property(locator, "issue", sourceIssue), sourceIssue, (this.issue!= null)));
copy.setIssue(copyIssue);
} else {
if (issueShouldBeCopiedAndSet == Boolean.FALSE) {
copy.issue = null;
}
}
}
{
Boolean lastModifiedShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.lastModified!= null));
if (lastModifiedShouldBeCopiedAndSet == Boolean.TRUE) {
String sourceLastModified;
sourceLastModified = this.getLastModified();
String copyLastModified = ((String) strategy.copy(LocatorUtils.property(locator, "lastModified", sourceLastModified), sourceLastModified, (this.lastModified!= null)));
copy.setLastModified(copyLastModified);
} else {
if (lastModifiedShouldBeCopiedAndSet == Boolean.FALSE) {
copy.lastModified = null;
}
}
}
{
Boolean replacedShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.replaced!= null));
if (replacedShouldBeCopiedAndSet == Boolean.TRUE) {
String sourceReplaced;
sourceReplaced = this.getReplaced();
String copyReplaced = ((String) strategy.copy(LocatorUtils.property(locator, "replaced", sourceReplaced), sourceReplaced, (this.replaced!= null)));
copy.setReplaced(copyReplaced);
} else {
if (replacedShouldBeCopiedAndSet == Boolean.FALSE) {
copy.replaced = null;
}
}
}
{
Boolean replacedEPShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.replacedEP!= null));
if (replacedEPShouldBeCopiedAndSet == Boolean.TRUE) {
BigInteger sourceReplacedEP;
sourceReplacedEP = this.getReplacedEP();
BigInteger copyReplacedEP = ((BigInteger) strategy.copy(LocatorUtils.property(locator, "replacedEP", sourceReplacedEP), sourceReplacedEP, (this.replacedEP!= null)));
copy.setReplacedEP(copyReplacedEP);
} else {
if (replacedEPShouldBeCopiedAndSet == Boolean.FALSE) {
copy.replacedEP = null;
}
}
}
{
Boolean replacedByFieldShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.replacedByField!= null));
if (replacedByFieldShouldBeCopiedAndSet == Boolean.TRUE) {
BigInteger sourceReplacedByField;
sourceReplacedByField = this.getReplacedByField();
BigInteger copyReplacedByField = ((BigInteger) strategy.copy(LocatorUtils.property(locator, "replacedByField", sourceReplacedByField), sourceReplacedByField, (this.replacedByField!= null)));
copy.setReplacedByField(copyReplacedByField);
} else {
if (replacedByFieldShouldBeCopiedAndSet == Boolean.FALSE) {
copy.replacedByField = null;
}
}
}
{
Boolean supportedShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.supported!= null));
if (supportedShouldBeCopiedAndSet == Boolean.TRUE) {
SupportType sourceSupported;
sourceSupported = this.getSupported();
SupportType copySupported = ((SupportType) strategy.copy(LocatorUtils.property(locator, "supported", sourceSupported), sourceSupported, (this.supported!= null)));
copy.setSupported(copySupported);
} else {
if (supportedShouldBeCopiedAndSet == Boolean.FALSE) {
copy.supported = null;
}
}
}
{
Boolean updatedShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.updated!= null));
if (updatedShouldBeCopiedAndSet == Boolean.TRUE) {
String sourceUpdated;
sourceUpdated = this.getUpdated();
String copyUpdated = ((String) strategy.copy(LocatorUtils.property(locator, "updated", sourceUpdated), sourceUpdated, (this.updated!= null)));
copy.setUpdated(copyUpdated);
} else {
if (updatedShouldBeCopiedAndSet == Boolean.FALSE) {
copy.updated = null;
}
}
}
{
Boolean updatedEPShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.updatedEP!= null));
if (updatedEPShouldBeCopiedAndSet == Boolean.TRUE) {
BigInteger sourceUpdatedEP;
sourceUpdatedEP = this.getUpdatedEP();
BigInteger copyUpdatedEP = ((BigInteger) strategy.copy(LocatorUtils.property(locator, "updatedEP", sourceUpdatedEP), sourceUpdatedEP, (this.updatedEP!= null)));
copy.setUpdatedEP(copyUpdatedEP);
} else {
if (updatedEPShouldBeCopiedAndSet == Boolean.FALSE) {
copy.updatedEP = null;
}
}
}
}
return draftCopy;
}
public Object createNewInstance() {
return new Appinfo();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy