Package uk.org.siri.siri20
Class InfoLinkStructure
- java.lang.Object
-
- uk.org.siri.siri20.InfoLinkStructure
-
- All Implemented Interfaces:
Serializable
public class InfoLinkStructure extends Object implements Serializable
Type for a general hyperlink.Java class for InfoLinkStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="InfoLinkStructure"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Uri" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> <element name="Label" type="{http://www.siri.org.uk/siri}NaturalLanguageStringStructure" maxOccurs="unbounded" minOccurs="0"/> <element name="Image" type="{http://www.siri.org.uk/siri}ImageStructure" minOccurs="0"/> <element name="LinkContent" type="{http://www.siri.org.uk/siri}LinkContentEnumeration" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ImageStructureimageprotected List<NaturalLanguageStringStructure>labelsprotected LinkContentEnumerationlinkContentprotected Stringuri
-
Constructor Summary
Constructors Constructor Description InfoLinkStructure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageStructuregetImage()Gets the value of the image property.List<NaturalLanguageStringStructure>getLabels()Gets the value of the labels property.LinkContentEnumerationgetLinkContent()Gets the value of the linkContent property.StringgetUri()Gets the value of the uri property.voidsetImage(ImageStructure value)Sets the value of the image property.voidsetLinkContent(LinkContentEnumeration value)Sets the value of the linkContent property.voidsetUri(String value)Sets the value of the uri property.
-
-
-
Field Detail
-
uri
protected String uri
-
labels
protected List<NaturalLanguageStringStructure> labels
-
image
protected ImageStructure image
-
linkContent
protected LinkContentEnumeration linkContent
-
-
Method Detail
-
getUri
public String getUri()
Gets the value of the uri property.- Returns:
- possible object is
String
-
setUri
public void setUri(String value)
Sets the value of the uri property.- Parameters:
value- allowed object isString
-
getLabels
public List<NaturalLanguageStringStructure> getLabels()
Gets the value of the labels 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 labels property.For example, to add a new item, do as follows:
getLabels().add(newItem);Objects of the following type(s) are allowed in the list
NaturalLanguageStringStructure
-
getImage
public ImageStructure getImage()
Gets the value of the image property.- Returns:
- possible object is
ImageStructure
-
setImage
public void setImage(ImageStructure value)
Sets the value of the image property.- Parameters:
value- allowed object isImageStructure
-
getLinkContent
public LinkContentEnumeration getLinkContent()
Gets the value of the linkContent property.- Returns:
- possible object is
LinkContentEnumeration
-
setLinkContent
public void setLinkContent(LinkContentEnumeration value)
Sets the value of the linkContent property.- Parameters:
value- allowed object isLinkContentEnumeration
-
-