Package uk.org.siri.siri14
Class PtConsequenceStructure
- java.lang.Object
-
- uk.org.siri.siri14.PtConsequenceStructure
-
- All Implemented Interfaces:
Serializable
public class PtConsequenceStructure extends Object implements Serializable
Type for disruption.Java class for PtConsequenceStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PtConsequenceStructure"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Period" type="{http://www.siri.org.uk/siri}HalfOpenTimestampRangeStructure" minOccurs="0"/> <element ref="{http://www.siri.org.uk/siri}Condition" minOccurs="0"/> <element name="Severity" type="{http://www.siri.org.uk/siri}SeverityEnumeration"/> <element name="Affects" type="{http://www.siri.org.uk/siri}AffectsScopeStructure" minOccurs="0"/> <element name="Suitabilities" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Suitability" type="{http://www.ifopt.org.uk/acsb}SuitabilityStructure" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="Advice" type="{http://www.siri.org.uk/siri}PtAdviceStructure" minOccurs="0"/> <element name="Blocking" type="{http://www.siri.org.uk/siri}BlockingStructure" minOccurs="0"/> <element name="Boarding" type="{http://www.siri.org.uk/siri}BoardingStructure" minOccurs="0"/> <element name="Delays" type="{http://www.siri.org.uk/siri}DelaysStructure" minOccurs="0"/> <element name="Casualties" type="{http://www.siri.org.uk/siri}CasualtiesStructure" minOccurs="0"/> <element name="Easements" type="{http://www.siri.org.uk/siri}EasementsStructure" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.siri.org.uk/siri}Extensions" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPtConsequenceStructure.SuitabilitiesJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected PtAdviceStructureadviceprotected AffectsScopeStructureaffectsprotected BlockingStructureblockingprotected BoardingStructureboardingprotected CasualtiesStructurecasualtiesprotected ServiceConditionEnumerationconditionprotected DelaysStructuredelaysprotected List<EasementsStructure>easementsprotected Extensionsextensionsprotected HalfOpenTimestampRangeStructureperiodprotected SeverityEnumerationseverityprotected PtConsequenceStructure.Suitabilitiessuitabilities
-
Constructor Summary
Constructors Constructor Description PtConsequenceStructure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PtAdviceStructuregetAdvice()Gets the value of the advice property.AffectsScopeStructuregetAffects()Gets the value of the affects property.BlockingStructuregetBlocking()Gets the value of the blocking property.BoardingStructuregetBoarding()Gets the value of the boarding property.CasualtiesStructuregetCasualties()Gets the value of the casualties property.ServiceConditionEnumerationgetCondition()Gets the value of the condition property.DelaysStructuregetDelays()Gets the value of the delays property.List<EasementsStructure>getEasements()Gets the value of the easements property.ExtensionsgetExtensions()Gets the value of the extensions property.HalfOpenTimestampRangeStructuregetPeriod()Gets the value of the period property.SeverityEnumerationgetSeverity()Gets the value of the severity property.PtConsequenceStructure.SuitabilitiesgetSuitabilities()Gets the value of the suitabilities property.voidsetAdvice(PtAdviceStructure value)Sets the value of the advice property.voidsetAffects(AffectsScopeStructure value)Sets the value of the affects property.voidsetBlocking(BlockingStructure value)Sets the value of the blocking property.voidsetBoarding(BoardingStructure value)Sets the value of the boarding property.voidsetCasualties(CasualtiesStructure value)Sets the value of the casualties property.voidsetCondition(ServiceConditionEnumeration value)Sets the value of the condition property.voidsetDelays(DelaysStructure value)Sets the value of the delays property.voidsetExtensions(Extensions value)Sets the value of the extensions property.voidsetPeriod(HalfOpenTimestampRangeStructure value)Sets the value of the period property.voidsetSeverity(SeverityEnumeration value)Sets the value of the severity property.voidsetSuitabilities(PtConsequenceStructure.Suitabilities value)Sets the value of the suitabilities property.
-
-
-
Field Detail
-
period
protected HalfOpenTimestampRangeStructure period
-
condition
protected ServiceConditionEnumeration condition
-
severity
protected SeverityEnumeration severity
-
affects
protected AffectsScopeStructure affects
-
suitabilities
protected PtConsequenceStructure.Suitabilities suitabilities
-
advice
protected PtAdviceStructure advice
-
blocking
protected BlockingStructure blocking
-
boarding
protected BoardingStructure boarding
-
delays
protected DelaysStructure delays
-
casualties
protected CasualtiesStructure casualties
-
easements
protected List<EasementsStructure> easements
-
extensions
protected Extensions extensions
-
-
Method Detail
-
getPeriod
public HalfOpenTimestampRangeStructure getPeriod()
Gets the value of the period property.- Returns:
- possible object is
HalfOpenTimestampRangeStructure
-
setPeriod
public void setPeriod(HalfOpenTimestampRangeStructure value)
Sets the value of the period property.- Parameters:
value- allowed object isHalfOpenTimestampRangeStructure
-
getCondition
public ServiceConditionEnumeration getCondition()
Gets the value of the condition property.- Returns:
- possible object is
ServiceConditionEnumeration
-
setCondition
public void setCondition(ServiceConditionEnumeration value)
Sets the value of the condition property.- Parameters:
value- allowed object isServiceConditionEnumeration
-
getSeverity
public SeverityEnumeration getSeverity()
Gets the value of the severity property.- Returns:
- possible object is
SeverityEnumeration
-
setSeverity
public void setSeverity(SeverityEnumeration value)
Sets the value of the severity property.- Parameters:
value- allowed object isSeverityEnumeration
-
getAffects
public AffectsScopeStructure getAffects()
Gets the value of the affects property.- Returns:
- possible object is
AffectsScopeStructure
-
setAffects
public void setAffects(AffectsScopeStructure value)
Sets the value of the affects property.- Parameters:
value- allowed object isAffectsScopeStructure
-
getSuitabilities
public PtConsequenceStructure.Suitabilities getSuitabilities()
Gets the value of the suitabilities property.- Returns:
- possible object is
PtConsequenceStructure.Suitabilities
-
setSuitabilities
public void setSuitabilities(PtConsequenceStructure.Suitabilities value)
Sets the value of the suitabilities property.- Parameters:
value- allowed object isPtConsequenceStructure.Suitabilities
-
getAdvice
public PtAdviceStructure getAdvice()
Gets the value of the advice property.- Returns:
- possible object is
PtAdviceStructure
-
setAdvice
public void setAdvice(PtAdviceStructure value)
Sets the value of the advice property.- Parameters:
value- allowed object isPtAdviceStructure
-
getBlocking
public BlockingStructure getBlocking()
Gets the value of the blocking property.- Returns:
- possible object is
BlockingStructure
-
setBlocking
public void setBlocking(BlockingStructure value)
Sets the value of the blocking property.- Parameters:
value- allowed object isBlockingStructure
-
getBoarding
public BoardingStructure getBoarding()
Gets the value of the boarding property.- Returns:
- possible object is
BoardingStructure
-
setBoarding
public void setBoarding(BoardingStructure value)
Sets the value of the boarding property.- Parameters:
value- allowed object isBoardingStructure
-
getDelays
public DelaysStructure getDelays()
Gets the value of the delays property.- Returns:
- possible object is
DelaysStructure
-
setDelays
public void setDelays(DelaysStructure value)
Sets the value of the delays property.- Parameters:
value- allowed object isDelaysStructure
-
getCasualties
public CasualtiesStructure getCasualties()
Gets the value of the casualties property.- Returns:
- possible object is
CasualtiesStructure
-
setCasualties
public void setCasualties(CasualtiesStructure value)
Sets the value of the casualties property.- Parameters:
value- allowed object isCasualtiesStructure
-
getEasements
public List<EasementsStructure> 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
EasementsStructure
-
getExtensions
public Extensions getExtensions()
Gets the value of the extensions property.- Returns:
- possible object is
Extensions
-
setExtensions
public void setExtensions(Extensions value)
Sets the value of the extensions property.- Parameters:
value- allowed object isExtensions
-
-