public class TrainComponent_DerivedViewStructure extends DerivedViewStructure
Java class for TrainComponent_DerivedViewStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TrainComponent_DerivedViewStructure">
<complexContent>
<extension base="{http://www.netex.org.uk/netex}DerivedViewStructure">
<sequence>
<group ref="{http://www.netex.org.uk/netex}TrainComponentViewGroup"/>
</sequence>
<attribute name="order" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected MultilingualString |
description |
protected List<FareClassEnumeration> |
fareClasses |
protected MultilingualString |
label |
protected BigInteger |
order |
protected TrainComponentRefStructure |
trainComponentRef |
protected TrainElementRefStructure |
trainElementRef |
protected TrainElementTypeEnumeration |
trainElementType |
brandingRef, id| Constructor and Description |
|---|
TrainComponent_DerivedViewStructure() |
getBrandingRef, getId, setBrandingRef, setIdprotected TrainComponentRefStructure trainComponentRef
protected MultilingualString label
protected MultilingualString description
protected TrainElementRefStructure trainElementRef
protected List<FareClassEnumeration> fareClasses
protected TrainElementTypeEnumeration trainElementType
protected BigInteger order
public TrainComponentRefStructure getTrainComponentRef()
TrainComponentRefStructurepublic void setTrainComponentRef(TrainComponentRefStructure value)
value - allowed object is
TrainComponentRefStructurepublic MultilingualString getLabel()
MultilingualStringpublic void setLabel(MultilingualString value)
value - allowed object is
MultilingualStringpublic MultilingualString getDescription()
MultilingualStringpublic void setDescription(MultilingualString value)
value - allowed object is
MultilingualStringpublic TrainElementRefStructure getTrainElementRef()
TrainElementRefStructurepublic void setTrainElementRef(TrainElementRefStructure value)
value - allowed object is
TrainElementRefStructurepublic List<FareClassEnumeration> getFareClasses()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the fareClasses property.
For example, to add a new item, do as follows:
getFareClasses().add(newItem);
Objects of the following type(s) are allowed in the list
FareClassEnumeration
public TrainElementTypeEnumeration getTrainElementType()
TrainElementTypeEnumerationpublic void setTrainElementType(TrainElementTypeEnumeration value)
value - allowed object is
TrainElementTypeEnumerationpublic BigInteger getOrder()
BigIntegerpublic void setOrder(BigInteger value)
value - allowed object is
BigIntegerpublic TrainComponent_DerivedViewStructure withTrainComponentRef(TrainComponentRefStructure value)
public TrainComponent_DerivedViewStructure withLabel(MultilingualString value)
public TrainComponent_DerivedViewStructure withDescription(MultilingualString value)
public TrainComponent_DerivedViewStructure withTrainElementRef(TrainElementRefStructure value)
public TrainComponent_DerivedViewStructure withFareClasses(FareClassEnumeration... values)
public TrainComponent_DerivedViewStructure withFareClasses(Collection<FareClassEnumeration> values)
public TrainComponent_DerivedViewStructure withTrainElementType(TrainElementTypeEnumeration value)
public TrainComponent_DerivedViewStructure withOrder(BigInteger value)
public TrainComponent_DerivedViewStructure withBrandingRef(BrandingRefStructure value)
withBrandingRef in class DerivedViewStructurepublic TrainComponent_DerivedViewStructure withId(String value)
withId in class DerivedViewStructurepublic String toString()
toString in class DerivedViewStructureCopyright © 2018 Entur AS. All rights reserved.