public class ObservanceType extends Object
Java class for ObservanceType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ObservanceType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="local-name" type="{urn:ietf:params:xml:ns:timezone-service}LocalNameType" maxOccurs="unbounded"/>
<element name="onset" type="{urn:ietf:params:xml:ns:timezone-service}OnsetType"/>
<element name="utc-offset-from" type="{urn:ietf:params:xml:ns:timezone-service}UtcOffsetType"/>
<element name="utc-offset-to" type="{urn:ietf:params:xml:ns:timezone-service}UtcOffsetType"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<LocalNameType> |
localName |
protected String |
name |
protected XMLGregorianCalendar |
onset |
protected String |
utcOffsetFrom |
protected String |
utcOffsetTo |
| Constructor and Description |
|---|
ObservanceType() |
| Modifier and Type | Method and Description |
|---|---|
List<LocalNameType> |
getLocalName()
Gets the value of the localName property.
|
String |
getName()
Gets the value of the name property.
|
XMLGregorianCalendar |
getOnset()
Gets the value of the onset property.
|
String |
getUtcOffsetFrom()
Gets the value of the utcOffsetFrom property.
|
String |
getUtcOffsetTo()
Gets the value of the utcOffsetTo property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setOnset(XMLGregorianCalendar value)
Sets the value of the onset property.
|
void |
setUtcOffsetFrom(String value)
Sets the value of the utcOffsetFrom property.
|
void |
setUtcOffsetTo(String value)
Sets the value of the utcOffsetTo property.
|
protected String name
protected List<LocalNameType> localName
protected XMLGregorianCalendar onset
protected String utcOffsetFrom
protected String utcOffsetTo
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic List<LocalNameType> getLocalName()
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 set method for the localName property.
For example, to add a new item, do as follows:
getLocalName().add(newItem);
Objects of the following type(s) are allowed in the list
LocalNameType
public XMLGregorianCalendar getOnset()
XMLGregorianCalendarpublic void setOnset(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic String getUtcOffsetFrom()
Stringpublic void setUtcOffsetFrom(String value)
value - allowed object is
Stringpublic String getUtcOffsetTo()
StringCopyright © 2015 Bedework. All rights reserved.