Class UserData
java.lang.Object
org.opentrafficsim.opendrive.xml.generated.UserData
- All Implemented Interfaces:
Serializable
@Generated(value="com.sun.tools.xjc.Driver", date="2020-01-24T04:36:13+01:00", comments="JAXB RI v2.3.0") public class UserData extends Object implements Serializable
Java class for userData complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="userData">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="code" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description UserData() -
Method Summary
Modifier and Type Method Description StringgetCode()Gets the value of the code property.List<Object>getContent()Gets the value of the content property.StringgetValue()Gets the value of the value property.voidsetCode(String value)Sets the value of the code property.voidsetValue(String value)Sets the value of the value property.
-
Field Details
-
Constructor Details
-
UserData
public UserData()
-
-
Method Details
-
getContent
@Generated(value="com.sun.tools.xjc.Driver", date="2020-01-24T04:36:13+01:00", comments="JAXB RI v2.3.0") public List<Object> getContent()Gets the value of the content 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 content property.For example, to add a new item, do as follows:
getContent().add(newItem);Objects of the following type(s) are allowed in the list
ElementString -
getCode
@Generated(value="com.sun.tools.xjc.Driver", date="2020-01-24T04:36:13+01:00", comments="JAXB RI v2.3.0") public String getCode()Gets the value of the code property.- Returns:
- possible object is
String
-
setCode
@Generated(value="com.sun.tools.xjc.Driver", date="2020-01-24T04:36:13+01:00", comments="JAXB RI v2.3.0") public void setCode(String value)Sets the value of the code property.- Parameters:
value- allowed object isString
-
getValue
@Generated(value="com.sun.tools.xjc.Driver", date="2020-01-24T04:36:13+01:00", comments="JAXB RI v2.3.0") public String getValue()Gets the value of the value property.- Returns:
- possible object is
String
-
setValue
@Generated(value="com.sun.tools.xjc.Driver", date="2020-01-24T04:36:13+01:00", comments="JAXB RI v2.3.0") public void setValue(String value)Sets the value of the value property.- Parameters:
value- allowed object isString
-