Package uk.org.siri.siri21
Class ConsequenceContentStructure
- java.lang.Object
-
- uk.org.siri.siri21.ConsequenceContentStructure
-
- All Implemented Interfaces:
Serializable
public class ConsequenceContentStructure extends Object implements Serializable
Java class for ConsequenceContentStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ConsequenceContentStructure"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="ConsequenceText" type="{http://www.siri.org.uk/siri}DefaultedTextStructure" maxOccurs="unbounded"/> <element name="ConsequencePriority" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected BigIntegerconsequencePriorityprotected List<DefaultedTextStructure>consequenceTexts
-
Constructor Summary
Constructors Constructor Description ConsequenceContentStructure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigIntegergetConsequencePriority()Gets the value of the consequencePriority property.List<DefaultedTextStructure>getConsequenceTexts()Gets the value of the consequenceTexts property.voidsetConsequencePriority(BigInteger value)Sets the value of the consequencePriority property.
-
-
-
Field Detail
-
consequenceTexts
protected List<DefaultedTextStructure> consequenceTexts
-
consequencePriority
protected BigInteger consequencePriority
-
-
Method Detail
-
getConsequenceTexts
public List<DefaultedTextStructure> getConsequenceTexts()
Gets the value of the consequenceTexts 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 consequenceTexts property.For example, to add a new item, do as follows:
getConsequenceTexts().add(newItem);Objects of the following type(s) are allowed in the list
DefaultedTextStructure
-
getConsequencePriority
public BigInteger getConsequencePriority()
Gets the value of the consequencePriority property.- Returns:
- possible object is
BigInteger
-
setConsequencePriority
public void setConsequencePriority(BigInteger value)
Sets the value of the consequencePriority property.- Parameters:
value- allowed object isBigInteger
-
-