Package uk.org.siri.siri20
Class SituationSourceStructure
- java.lang.Object
-
- uk.org.siri.siri20.SituationSourceStructure
-
- All Implemented Interfaces:
Serializable
public class SituationSourceStructure extends Object implements Serializable
Type for a source, i.e. provider of information.Java class for SituationSourceStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SituationSourceStructure"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Country" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" minOccurs="0"/> <element name="SourceType" type="{http://www.siri.org.uk/siri}SituationSourceTypeEnumeration"/> <group ref="{http://www.siri.org.uk/siri}SituationSourceDetailsGroup"/> <element name="SourceMethod" type="{http://datex2.eu/schema/2_0RC1/2_0}SourceTypeEnum" minOccurs="0"/> <element name="AgentReference" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="Name" type="{http://www.siri.org.uk/siri}NaturalLanguageStringStructure" minOccurs="0"/> <element name="SourceRole" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="TimeOfCommunication" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="ExternalCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="SourceFile" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> <element ref="{http://www.siri.org.uk/siri}Extensions" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringagentReferenceprotected Stringcountryprotected Stringemailprotected Extensionsextensionsprotected StringexternalCodeprotected Stringfaxprotected NaturalLanguageStringStructurenameprotected Stringotherprotected Stringphoneprotected StringsourceFileprotected SourceTypeEnumsourceMethodprotected StringsourceRoleprotected SituationSourceTypeEnumerationsourceTypeprotected ZonedDateTimetimeOfCommunicationprotected Stringweb
-
Constructor Summary
Constructors Constructor Description SituationSourceStructure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAgentReference()Gets the value of the agentReference property.StringgetCountry()Gets the value of the country property.StringgetEmail()Gets the value of the email property.ExtensionsgetExtensions()Gets the value of the extensions property.StringgetExternalCode()Gets the value of the externalCode property.StringgetFax()Gets the value of the fax property.NaturalLanguageStringStructuregetName()Gets the value of the name property.StringgetOther()Gets the value of the other property.StringgetPhone()Gets the value of the phone property.StringgetSourceFile()Gets the value of the sourceFile property.SourceTypeEnumgetSourceMethod()Gets the value of the sourceMethod property.StringgetSourceRole()Gets the value of the sourceRole property.SituationSourceTypeEnumerationgetSourceType()Gets the value of the sourceType property.ZonedDateTimegetTimeOfCommunication()Gets the value of the timeOfCommunication property.StringgetWeb()Gets the value of the web property.voidsetAgentReference(String value)Sets the value of the agentReference property.voidsetCountry(String value)Sets the value of the country property.voidsetEmail(String value)Sets the value of the email property.voidsetExtensions(Extensions value)Sets the value of the extensions property.voidsetExternalCode(String value)Sets the value of the externalCode property.voidsetFax(String value)Sets the value of the fax property.voidsetName(NaturalLanguageStringStructure value)Sets the value of the name property.voidsetOther(String value)Sets the value of the other property.voidsetPhone(String value)Sets the value of the phone property.voidsetSourceFile(String value)Sets the value of the sourceFile property.voidsetSourceMethod(SourceTypeEnum value)Sets the value of the sourceMethod property.voidsetSourceRole(String value)Sets the value of the sourceRole property.voidsetSourceType(SituationSourceTypeEnumeration value)Sets the value of the sourceType property.voidsetTimeOfCommunication(ZonedDateTime value)Sets the value of the timeOfCommunication property.voidsetWeb(String value)Sets the value of the web property.
-
-
-
Field Detail
-
country
protected String country
-
sourceType
protected SituationSourceTypeEnumeration sourceType
-
email
protected String email
-
phone
protected String phone
-
fax
protected String fax
-
web
protected String web
-
other
protected String other
-
sourceMethod
protected SourceTypeEnum sourceMethod
-
agentReference
protected String agentReference
-
name
protected NaturalLanguageStringStructure name
-
sourceRole
protected String sourceRole
-
timeOfCommunication
protected ZonedDateTime timeOfCommunication
-
externalCode
protected String externalCode
-
sourceFile
protected String sourceFile
-
extensions
protected Extensions extensions
-
-
Method Detail
-
getCountry
public String getCountry()
Gets the value of the country property.- Returns:
- possible object is
String
-
setCountry
public void setCountry(String value)
Sets the value of the country property.- Parameters:
value- allowed object isString
-
getSourceType
public SituationSourceTypeEnumeration getSourceType()
Gets the value of the sourceType property.- Returns:
- possible object is
SituationSourceTypeEnumeration
-
setSourceType
public void setSourceType(SituationSourceTypeEnumeration value)
Sets the value of the sourceType property.- Parameters:
value- allowed object isSituationSourceTypeEnumeration
-
getEmail
public String getEmail()
Gets the value of the email property.- Returns:
- possible object is
String
-
setEmail
public void setEmail(String value)
Sets the value of the email property.- Parameters:
value- allowed object isString
-
getPhone
public String getPhone()
Gets the value of the phone property.- Returns:
- possible object is
String
-
setPhone
public void setPhone(String value)
Sets the value of the phone property.- Parameters:
value- allowed object isString
-
getFax
public String getFax()
Gets the value of the fax property.- Returns:
- possible object is
String
-
setFax
public void setFax(String value)
Sets the value of the fax property.- Parameters:
value- allowed object isString
-
getWeb
public String getWeb()
Gets the value of the web property.- Returns:
- possible object is
String
-
setWeb
public void setWeb(String value)
Sets the value of the web property.- Parameters:
value- allowed object isString
-
getOther
public String getOther()
Gets the value of the other property.- Returns:
- possible object is
String
-
setOther
public void setOther(String value)
Sets the value of the other property.- Parameters:
value- allowed object isString
-
getSourceMethod
public SourceTypeEnum getSourceMethod()
Gets the value of the sourceMethod property.- Returns:
- possible object is
SourceTypeEnum
-
setSourceMethod
public void setSourceMethod(SourceTypeEnum value)
Sets the value of the sourceMethod property.- Parameters:
value- allowed object isSourceTypeEnum
-
getAgentReference
public String getAgentReference()
Gets the value of the agentReference property.- Returns:
- possible object is
String
-
setAgentReference
public void setAgentReference(String value)
Sets the value of the agentReference property.- Parameters:
value- allowed object isString
-
getName
public NaturalLanguageStringStructure getName()
Gets the value of the name property.- Returns:
- possible object is
NaturalLanguageStringStructure
-
setName
public void setName(NaturalLanguageStringStructure value)
Sets the value of the name property.- Parameters:
value- allowed object isNaturalLanguageStringStructure
-
getSourceRole
public String getSourceRole()
Gets the value of the sourceRole property.- Returns:
- possible object is
String
-
setSourceRole
public void setSourceRole(String value)
Sets the value of the sourceRole property.- Parameters:
value- allowed object isString
-
getTimeOfCommunication
public ZonedDateTime getTimeOfCommunication()
Gets the value of the timeOfCommunication property.- Returns:
- possible object is
String
-
setTimeOfCommunication
public void setTimeOfCommunication(ZonedDateTime value)
Sets the value of the timeOfCommunication property.- Parameters:
value- allowed object isString
-
getExternalCode
public String getExternalCode()
Gets the value of the externalCode property.- Returns:
- possible object is
String
-
setExternalCode
public void setExternalCode(String value)
Sets the value of the externalCode property.- Parameters:
value- allowed object isString
-
getSourceFile
public String getSourceFile()
Gets the value of the sourceFile property.- Returns:
- possible object is
String
-
setSourceFile
public void setSourceFile(String value)
Sets the value of the sourceFile property.- Parameters:
value- allowed object isString
-
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
-
-