org.rutebanken.netex.model.ClassRelationshipInFrameStructure Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of netex-java-model Show documentation
Show all versions of netex-java-model Show documentation
Generates Java model from NeTEx XSDs using JAXB.
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2017.09.21 at 10:53:23 AM CEST
//
package org.rutebanken.netex.model;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;
/**
* Java class for ClassRelationshipInFrameStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ClassRelationshipInFrameStructure">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://www.netex.org.uk/netex}RelationshipRef"/>
* <element name="Mandatory" type="{http://www.netex.org.uk/netex}MandatoryEnumeration" minOccurs="0"/>
* <element name="Containment" type="{http://www.netex.org.uk/netex}ContainmentEnumeration" minOccurs="0"/>
* <element name="ModificationSet" type="{http://www.netex.org.uk/netex}ModificationSetEnumeration" minOccurs="0"/>
* </sequence>
* <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NCName" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ClassRelationshipInFrameStructure", propOrder = {
"relationshipRef",
"mandatory",
"containment",
"modificationSet"
})
public class ClassRelationshipInFrameStructure {
@XmlElement(name = "RelationshipRef", required = true)
protected RelationshipRefStructure relationshipRef;
@XmlElement(name = "Mandatory", defaultValue = "optional")
@XmlSchemaType(name = "normalizedString")
protected MandatoryEnumeration mandatory;
@XmlElement(name = "Containment", defaultValue = "both")
@XmlSchemaType(name = "NMTOKEN")
protected ContainmentEnumeration containment;
@XmlElement(name = "ModificationSet")
@XmlSchemaType(name = "NMTOKEN")
protected ModificationSetEnumeration modificationSet;
@XmlAttribute(name = "name")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NCName")
protected String name;
/**
* Gets the value of the relationshipRef property.
*
* @return
* possible object is
* {@link RelationshipRefStructure }
*
*/
public RelationshipRefStructure getRelationshipRef() {
return relationshipRef;
}
/**
* Sets the value of the relationshipRef property.
*
* @param value
* allowed object is
* {@link RelationshipRefStructure }
*
*/
public void setRelationshipRef(RelationshipRefStructure value) {
this.relationshipRef = value;
}
/**
* Gets the value of the mandatory property.
*
* @return
* possible object is
* {@link MandatoryEnumeration }
*
*/
public MandatoryEnumeration getMandatory() {
return mandatory;
}
/**
* Sets the value of the mandatory property.
*
* @param value
* allowed object is
* {@link MandatoryEnumeration }
*
*/
public void setMandatory(MandatoryEnumeration value) {
this.mandatory = value;
}
/**
* Gets the value of the containment property.
*
* @return
* possible object is
* {@link ContainmentEnumeration }
*
*/
public ContainmentEnumeration getContainment() {
return containment;
}
/**
* Sets the value of the containment property.
*
* @param value
* allowed object is
* {@link ContainmentEnumeration }
*
*/
public void setContainment(ContainmentEnumeration value) {
this.containment = value;
}
/**
* Gets the value of the modificationSet property.
*
* @return
* possible object is
* {@link ModificationSetEnumeration }
*
*/
public ModificationSetEnumeration getModificationSet() {
return modificationSet;
}
/**
* Sets the value of the modificationSet property.
*
* @param value
* allowed object is
* {@link ModificationSetEnumeration }
*
*/
public void setModificationSet(ModificationSetEnumeration value) {
this.modificationSet = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
public ClassRelationshipInFrameStructure withRelationshipRef(RelationshipRefStructure value) {
setRelationshipRef(value);
return this;
}
public ClassRelationshipInFrameStructure withMandatory(MandatoryEnumeration value) {
setMandatory(value);
return this;
}
public ClassRelationshipInFrameStructure withContainment(ContainmentEnumeration value) {
setContainment(value);
return this;
}
public ClassRelationshipInFrameStructure withModificationSet(ModificationSetEnumeration value) {
setModificationSet(value);
return this;
}
public ClassRelationshipInFrameStructure withName(String value) {
setName(value);
return this;
}
/**
* Generates a String representation of the contents of this type.
* This is an extension method, produced by the 'ts' xjc plugin
*
*/
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, OmitNullsToStringStyle.INSTANCE);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy