org.rutebanken.netex.model.VersionOfObjectRefStructure 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.time.OffsetDateTime;
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.XmlSeeAlso;
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.NormalizedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;
import org.rutebanken.util.OffsetDateTimeISO8601XmlAdapter;
/**
* Java class for VersionOfObjectRefStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="VersionOfObjectRefStructure">
* <simpleContent>
* <extension base="<http://www.netex.org.uk/netex>ObjectIdType">
* <attGroup ref="{http://www.netex.org.uk/netex}ReferenceModificationDetailsGroup"/>
* <attribute name="nameOfRefClass" type="{http://www.netex.org.uk/netex}NameOfClass" />
* <attribute name="modification" type="{http://www.netex.org.uk/netex}ModificationEnumeration" />
* <attribute name="ref" use="required" type="{http://www.netex.org.uk/netex}ObjectIdType" />
* <attribute name="versionRef" type="{http://www.netex.org.uk/netex}VersionIdType" />
* </extension>
* </simpleContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "VersionOfObjectRefStructure", propOrder = {
"value"
})
@XmlSeeAlso({
VersionRefStructure.class,
DataSourceRefStructure.class,
AllowedLineDirectionRefStructure.class,
DestinationDisplayRefStructure.class,
DestinationDisplayVariantRefStructure.class,
ResponsibilitySetRefStructure.class,
ResponsibilityRoleRefStructure.class,
AlternativeTextRefStructure.class,
ValidityConditionRefStructure.class,
ServiceCalendarRefStructure.class,
OperatingDayRefStructure.class,
OperatingPeriodRefStructure.class,
TimebandRefStructure.class,
AccessibilityAssessmentRefStructure.class,
AlternativeNameRefStructure.class,
OpenTransportModeRefStructure.class,
SubmodeRefStructure.class,
FacilityRefStructure.class,
FacilitySetRefStructure.class,
AccommodationRefStructure.class,
OnboardStayRefStructure.class,
PassengerCapacityRefStructure.class,
VehicleRequirementRefStructure.class,
VehicleRefStructure.class,
VehicleModelRefStructure.class,
VehicleEquipmentProfileRefStructure.class,
NoticeRefStructure.class,
DeliveryVariantRefStructure.class,
SchematicMapRefStructure.class,
SchematicMapMemberRefStructure.class,
SecurityListRefStructure.class,
ProjectionRefStructure.class,
TrainInCompoundTrainRefStructure.class,
TrainElementRefStructure.class,
AllOrganisationsRefStructure.class,
OperationalContextRefStructure.class,
OrganisationPartRefStructure.class,
ResourceFrameRefStructure.class,
GeneralFrameMemberRefStructure.class,
TimeDemandTypeRefStructure.class,
TimeDemandProfileRefStructure.class,
LineRefStructure.class,
FlexibleLinkPropertiesRefStructure.class,
FlexiblePointPropertiesRefStructure.class,
LevelRefStructure.class,
RouteInstructionRefStructure.class,
LineNetworkRefStructure.class,
TransferRefStructure.class,
ParkingCapacityRefStructure.class,
ParkingPropertyRefStructure.class,
LogicalDisplayRefStructure.class,
VehicleQuayAlignmentRefStructure.class,
VehiclePositionAlignmentRefStructure.class,
TrainNumberRefStructure.class,
JourneyMeetingRefStructure.class,
InterchangeRefStructure.class,
CoupledJourneyRefStructure.class,
JourneyPartCoupleRefStructure.class,
BlockRefStructure.class,
BlockPartRefStructure.class,
CompoundBlockRefStructure.class,
VehicleServiceRefStructure.class,
VehicleServicePartRefStructure.class,
DriverRefStructure.class,
CourseOfJourneysRefStructure.class,
ReliefOpportunityRefStructure.class,
DutyRefStructure.class,
AccountableElementRefStructure.class,
DriverTripRefStructure.class,
DriverTripTimeRefStructure.class,
FlexibleServicePropertiesRefStructure.class,
SupplyContractRefStructure.class,
TariffRefStructure.class,
ResidentialQualificationRefStructure.class,
CellRefStructure.class,
FareTableColumnRefStructure.class,
FareTableRowRefStructure.class,
PricingParameterSetRefStructure.class,
RoundingRefStructure.class,
RoundingStepRefStructure.class,
DayTypeRefStructure.class,
PricingServiceRefStructure.class,
MonthValidityOffsetRefStructure.class,
TravelDocumentRefStructure.class,
ParkingTariffRefStructure.class,
CustomerRefStructure.class,
PassengerContractRefStructure.class,
CustomerAccountRefStructure.class,
OrganisationRefStructure.class,
SecurityListingRefStructure.class,
CustomerEligibilityRefStructure.class,
LogEntryRefStructure.class,
PassengerQueryRefStructure.class,
FarePriceRefStructure.class,
EntityInVersionInFrameRefStructure.class,
PointRefStructure.class,
LimitationRefStructure.class,
VehicleTypeRefStructure.class,
VersionFrameRefStructure.class,
JourneyTimingRefStructure.class,
LinkRefStructure.class,
EquipmentRefStructure.class,
LinkSequenceRefStructure.class,
StartTimeAtStopPointRefStructure.class,
PriceableObjectRefStructure.class,
GroupOfEntitiesRefStructure_.class,
OrderedVersionOfObjectRefStructure.class,
TypeOfValueRefStructure.class
})
public class VersionOfObjectRefStructure {
@XmlValue
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String value;
@XmlAttribute(name = "nameOfRefClass")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String nameOfRefClass;
@XmlAttribute(name = "modification")
protected ModificationEnumeration modification;
@XmlAttribute(name = "ref", required = true)
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String ref;
@XmlAttribute(name = "versionRef")
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String versionRef;
@XmlAttribute(name = "created")
@XmlJavaTypeAdapter(OffsetDateTimeISO8601XmlAdapter.class)
@XmlSchemaType(name = "dateTime")
protected OffsetDateTime created;
@XmlAttribute(name = "changed")
@XmlJavaTypeAdapter(OffsetDateTimeISO8601XmlAdapter.class)
@XmlSchemaType(name = "dateTime")
protected OffsetDateTime changed;
@XmlAttribute(name = "version")
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String version;
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
/**
* Gets the value of the nameOfRefClass property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNameOfRefClass() {
return nameOfRefClass;
}
/**
* Sets the value of the nameOfRefClass property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNameOfRefClass(String value) {
this.nameOfRefClass = value;
}
/**
* Gets the value of the modification property.
*
* @return
* possible object is
* {@link ModificationEnumeration }
*
*/
public ModificationEnumeration getModification() {
return modification;
}
/**
* Sets the value of the modification property.
*
* @param value
* allowed object is
* {@link ModificationEnumeration }
*
*/
public void setModification(ModificationEnumeration value) {
this.modification = value;
}
/**
* Gets the value of the ref property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRef() {
return ref;
}
/**
* Sets the value of the ref property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRef(String value) {
this.ref = value;
}
/**
* Gets the value of the versionRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVersionRef() {
return versionRef;
}
/**
* Sets the value of the versionRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVersionRef(String value) {
this.versionRef = value;
}
/**
* Gets the value of the created property.
*
* @return
* possible object is
* {@link String }
*
*/
public OffsetDateTime getCreated() {
return created;
}
/**
* Sets the value of the created property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCreated(OffsetDateTime value) {
this.created = value;
}
/**
* Gets the value of the changed property.
*
* @return
* possible object is
* {@link String }
*
*/
public OffsetDateTime getChanged() {
return changed;
}
/**
* Sets the value of the changed property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setChanged(OffsetDateTime value) {
this.changed = value;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVersion(String value) {
this.version = value;
}
public VersionOfObjectRefStructure withValue(String value) {
setValue(value);
return this;
}
public VersionOfObjectRefStructure withNameOfRefClass(String value) {
setNameOfRefClass(value);
return this;
}
public VersionOfObjectRefStructure withModification(ModificationEnumeration value) {
setModification(value);
return this;
}
public VersionOfObjectRefStructure withRef(String value) {
setRef(value);
return this;
}
public VersionOfObjectRefStructure withVersionRef(String value) {
setVersionRef(value);
return this;
}
public VersionOfObjectRefStructure withCreated(OffsetDateTime value) {
setCreated(value);
return this;
}
public VersionOfObjectRefStructure withChanged(OffsetDateTime value) {
setChanged(value);
return this;
}
public VersionOfObjectRefStructure withVersion(String value) {
setVersion(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