Package uk.org.siri.siri21
Class EasementsStructure
- java.lang.Object
-
- uk.org.siri.siri21.EasementsStructure
-
- All Implemented Interfaces:
Serializable
public class EasementsStructure extends Object implements Serializable
Type for easement info.Java class for EasementsStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="EasementsStructure"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="TicketRestrictions" type="{http://www.siri.org.uk/siri}TicketRestrictionEnumeration" minOccurs="0"/> <element name="Easement" type="{http://www.siri.org.uk/siri}NaturalLanguageStringStructure" maxOccurs="unbounded" minOccurs="0"/> <element name="EasementRef" type="{http://www.w3.org/2001/XMLSchema}normalizedString" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringeasementRefprotected List<NaturalLanguageStringStructure>easementsprotected TicketRestrictionEnumerationticketRestrictions
-
Constructor Summary
Constructors Constructor Description EasementsStructure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEasementRef()Gets the value of the easementRef property.List<NaturalLanguageStringStructure>getEasements()Gets the value of the easements property.TicketRestrictionEnumerationgetTicketRestrictions()Gets the value of the ticketRestrictions property.voidsetEasementRef(String value)Sets the value of the easementRef property.voidsetTicketRestrictions(TicketRestrictionEnumeration value)Sets the value of the ticketRestrictions property.
-
-
-
Field Detail
-
ticketRestrictions
protected TicketRestrictionEnumeration ticketRestrictions
-
easements
protected List<NaturalLanguageStringStructure> easements
-
easementRef
protected String easementRef
-
-
Method Detail
-
getTicketRestrictions
public TicketRestrictionEnumeration getTicketRestrictions()
Gets the value of the ticketRestrictions property.- Returns:
- possible object is
TicketRestrictionEnumeration
-
setTicketRestrictions
public void setTicketRestrictions(TicketRestrictionEnumeration value)
Sets the value of the ticketRestrictions property.- Parameters:
value- allowed object isTicketRestrictionEnumeration
-
getEasements
public List<NaturalLanguageStringStructure> getEasements()
Gets the value of the easements property.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
setmethod for the easements property.For example, to add a new item, do as follows:
getEasements().add(newItem);Objects of the following type(s) are allowed in the list
NaturalLanguageStringStructure
-
getEasementRef
public String getEasementRef()
Gets the value of the easementRef property.- Returns:
- possible object is
String
-
-