org.rutebanken.netex.model.NoticeAssignment_DerivedViewStructure 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 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.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;
/**
* Java class for NoticeAssignment_DerivedViewStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="NoticeAssignment_DerivedViewStructure">
* <complexContent>
* <extension base="{http://www.netex.org.uk/netex}DerivedViewStructure">
* <sequence>
* <element name="Name" type="{http://www.netex.org.uk/netex}MultilingualString" minOccurs="0"/>
* <element ref="{http://www.netex.org.uk/netex}NoticeRef" minOccurs="0"/>
* <group ref="{http://www.netex.org.uk/netex}NoticeAssignmentPropertiesGroup"/>
* <group ref="{http://www.netex.org.uk/netex}NoticePropertiesGroup"/>
* </sequence>
* <attribute name="order" type="{http://www.w3.org/2001/XMLSchema}integer" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "NoticeAssignment_DerivedViewStructure", propOrder = {
"name",
"noticeRef",
"mark",
"markUrl",
"publicityChannel",
"advertised",
"text",
"publicCode",
"shortCode",
"privateCode",
"typeOfNoticeRef",
"canBeAdvertised"
})
@XmlSeeAlso({
NoticeAssignmentView.class
})
public class NoticeAssignment_DerivedViewStructure
extends DerivedViewStructure
{
@XmlElement(name = "Name")
protected MultilingualString name;
@XmlElement(name = "NoticeRef")
protected NoticeRefStructure noticeRef;
@XmlElement(name = "Mark")
protected String mark;
@XmlElement(name = "MarkUrl")
@XmlSchemaType(name = "anyURI")
protected String markUrl;
@XmlElement(name = "PublicityChannel", defaultValue = "all")
@XmlSchemaType(name = "NMTOKEN")
protected PublicityChannelEnumeration publicityChannel;
@XmlElement(name = "Advertised")
protected Boolean advertised;
@XmlElement(name = "Text")
protected MultilingualString text;
@XmlElement(name = "PublicCode")
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
@XmlSchemaType(name = "normalizedString")
protected String publicCode;
@XmlElement(name = "ShortCode")
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
@XmlSchemaType(name = "normalizedString")
protected String shortCode;
@XmlElement(name = "PrivateCode")
protected PrivateCodeStructure privateCode;
@XmlElement(name = "TypeOfNoticeRef")
protected TypeOfNoticeRefStructure typeOfNoticeRef;
@XmlElement(name = "CanBeAdvertised")
protected Boolean canBeAdvertised;
@XmlAttribute(name = "order")
protected BigInteger order;
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link MultilingualString }
*
*/
public MultilingualString getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link MultilingualString }
*
*/
public void setName(MultilingualString value) {
this.name = value;
}
/**
* Gets the value of the noticeRef property.
*
* @return
* possible object is
* {@link NoticeRefStructure }
*
*/
public NoticeRefStructure getNoticeRef() {
return noticeRef;
}
/**
* Sets the value of the noticeRef property.
*
* @param value
* allowed object is
* {@link NoticeRefStructure }
*
*/
public void setNoticeRef(NoticeRefStructure value) {
this.noticeRef = value;
}
/**
* Gets the value of the mark property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMark() {
return mark;
}
/**
* Sets the value of the mark property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMark(String value) {
this.mark = value;
}
/**
* Gets the value of the markUrl property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMarkUrl() {
return markUrl;
}
/**
* Sets the value of the markUrl property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMarkUrl(String value) {
this.markUrl = value;
}
/**
* Gets the value of the publicityChannel property.
*
* @return
* possible object is
* {@link PublicityChannelEnumeration }
*
*/
public PublicityChannelEnumeration getPublicityChannel() {
return publicityChannel;
}
/**
* Sets the value of the publicityChannel property.
*
* @param value
* allowed object is
* {@link PublicityChannelEnumeration }
*
*/
public void setPublicityChannel(PublicityChannelEnumeration value) {
this.publicityChannel = value;
}
/**
* Gets the value of the advertised property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isAdvertised() {
return advertised;
}
/**
* Sets the value of the advertised property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setAdvertised(Boolean value) {
this.advertised = value;
}
/**
* Gets the value of the text property.
*
* @return
* possible object is
* {@link MultilingualString }
*
*/
public MultilingualString getText() {
return text;
}
/**
* Sets the value of the text property.
*
* @param value
* allowed object is
* {@link MultilingualString }
*
*/
public void setText(MultilingualString value) {
this.text = value;
}
/**
* Gets the value of the publicCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPublicCode() {
return publicCode;
}
/**
* Sets the value of the publicCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPublicCode(String value) {
this.publicCode = value;
}
/**
* Gets the value of the shortCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getShortCode() {
return shortCode;
}
/**
* Sets the value of the shortCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setShortCode(String value) {
this.shortCode = value;
}
/**
* Gets the value of the privateCode property.
*
* @return
* possible object is
* {@link PrivateCodeStructure }
*
*/
public PrivateCodeStructure getPrivateCode() {
return privateCode;
}
/**
* Sets the value of the privateCode property.
*
* @param value
* allowed object is
* {@link PrivateCodeStructure }
*
*/
public void setPrivateCode(PrivateCodeStructure value) {
this.privateCode = value;
}
/**
* Gets the value of the typeOfNoticeRef property.
*
* @return
* possible object is
* {@link TypeOfNoticeRefStructure }
*
*/
public TypeOfNoticeRefStructure getTypeOfNoticeRef() {
return typeOfNoticeRef;
}
/**
* Sets the value of the typeOfNoticeRef property.
*
* @param value
* allowed object is
* {@link TypeOfNoticeRefStructure }
*
*/
public void setTypeOfNoticeRef(TypeOfNoticeRefStructure value) {
this.typeOfNoticeRef = value;
}
/**
* Gets the value of the canBeAdvertised property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isCanBeAdvertised() {
return canBeAdvertised;
}
/**
* Sets the value of the canBeAdvertised property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setCanBeAdvertised(Boolean value) {
this.canBeAdvertised = value;
}
/**
* Gets the value of the order property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getOrder() {
return order;
}
/**
* Sets the value of the order property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setOrder(BigInteger value) {
this.order = value;
}
public NoticeAssignment_DerivedViewStructure withName(MultilingualString value) {
setName(value);
return this;
}
public NoticeAssignment_DerivedViewStructure withNoticeRef(NoticeRefStructure value) {
setNoticeRef(value);
return this;
}
public NoticeAssignment_DerivedViewStructure withMark(String value) {
setMark(value);
return this;
}
public NoticeAssignment_DerivedViewStructure withMarkUrl(String value) {
setMarkUrl(value);
return this;
}
public NoticeAssignment_DerivedViewStructure withPublicityChannel(PublicityChannelEnumeration value) {
setPublicityChannel(value);
return this;
}
public NoticeAssignment_DerivedViewStructure withAdvertised(Boolean value) {
setAdvertised(value);
return this;
}
public NoticeAssignment_DerivedViewStructure withText(MultilingualString value) {
setText(value);
return this;
}
public NoticeAssignment_DerivedViewStructure withPublicCode(String value) {
setPublicCode(value);
return this;
}
public NoticeAssignment_DerivedViewStructure withShortCode(String value) {
setShortCode(value);
return this;
}
public NoticeAssignment_DerivedViewStructure withPrivateCode(PrivateCodeStructure value) {
setPrivateCode(value);
return this;
}
public NoticeAssignment_DerivedViewStructure withTypeOfNoticeRef(TypeOfNoticeRefStructure value) {
setTypeOfNoticeRef(value);
return this;
}
public NoticeAssignment_DerivedViewStructure withCanBeAdvertised(Boolean value) {
setCanBeAdvertised(value);
return this;
}
public NoticeAssignment_DerivedViewStructure withOrder(BigInteger value) {
setOrder(value);
return this;
}
@Override
public NoticeAssignment_DerivedViewStructure withBrandingRef(BrandingRefStructure value) {
setBrandingRef(value);
return this;
}
@Override
public NoticeAssignment_DerivedViewStructure withId(String value) {
setId(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