Class CommentStructure
- java.lang.Object
-
- eu.datex2.siri14.schema._1_0._1_0.CommentStructure
-
- All Implemented Interfaces:
Serializable
public class CommentStructure extends Object implements Serializable
A free text comment with an optional date/time stamp that can be used by the operator to convey uncoded observations/information.Java class for Comment complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Comment"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="comment"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="value" maxOccurs="unbounded"> <complexType> <simpleContent> <extension base="<http://datex2.eu/schema/1_0/1_0>MultiLingualString"> <attribute name="lang" type="{http://www.w3.org/2001/XMLSchema}language" /> </extension> </simpleContent> </complexType> </element> </sequence> </restriction> </complexContent> </complexType> </element> <element name="commentDateTime" type="{http://datex2.eu/schema/1_0/1_0}DateTime" minOccurs="0"/> <element name="commentExtension" type="{http://datex2.eu/schema/1_0/1_0}ExtensionType" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCommentStructure.CommentJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected CommentStructure.Commentcommentprotected DateTimecommentDateTimeprotected ExtensionTypecommentExtension
-
Constructor Summary
Constructors Constructor Description CommentStructure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommentStructure.CommentgetComment()Gets the value of the comment property.DateTimegetCommentDateTime()Gets the value of the commentDateTime property.ExtensionTypegetCommentExtension()Gets the value of the commentExtension property.voidsetComment(CommentStructure.Comment value)Sets the value of the comment property.voidsetCommentDateTime(DateTime value)Sets the value of the commentDateTime property.voidsetCommentExtension(ExtensionType value)Sets the value of the commentExtension property.
-
-
-
Field Detail
-
comment
protected CommentStructure.Comment comment
-
commentDateTime
protected DateTime commentDateTime
-
commentExtension
protected ExtensionType commentExtension
-
-
Method Detail
-
getComment
public CommentStructure.Comment getComment()
Gets the value of the comment property.- Returns:
- possible object is
CommentStructure.Comment
-
setComment
public void setComment(CommentStructure.Comment value)
Sets the value of the comment property.- Parameters:
value- allowed object isCommentStructure.Comment
-
getCommentDateTime
public DateTime getCommentDateTime()
Gets the value of the commentDateTime property.- Returns:
- possible object is
DateTime
-
setCommentDateTime
public void setCommentDateTime(DateTime value)
Sets the value of the commentDateTime property.- Parameters:
value- allowed object isDateTime
-
getCommentExtension
public ExtensionType getCommentExtension()
Gets the value of the commentExtension property.- Returns:
- possible object is
ExtensionType
-
setCommentExtension
public void setCommentExtension(ExtensionType value)
Sets the value of the commentExtension property.- Parameters:
value- allowed object isExtensionType
-
-