public static class ItemType.Timespan extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="field" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </element> </sequence> <attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
Modifier and Type | Class and Description |
---|---|
static class |
ItemType.Timespan.Field
Java class for anonymous complex type.
|
Modifier and Type | Field and Description |
---|---|
protected String |
end |
protected List<ItemType.Timespan.Field> |
field |
protected String |
start |
Constructor and Description |
---|
ItemType.Timespan() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
Object |
copyTo(Object target) |
Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy strategy) |
Object |
createNewInstance() |
String |
getEnd()
Gets the value of the end property.
|
List<ItemType.Timespan.Field> |
getField()
Gets the value of the field property.
|
String |
getStart()
Gets the value of the start property.
|
boolean |
isSetEnd() |
boolean |
isSetField() |
boolean |
isSetStart() |
void |
setEnd(String value)
Sets the value of the end property.
|
void |
setStart(String value)
Sets the value of the start property.
|
void |
unsetField() |
protected List<ItemType.Timespan.Field> field
protected String start
protected String end
public List<ItemType.Timespan.Field> getField()
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 field property.
For example, to add a new item, do as follows:
getField().add(newItem);
Objects of the following type(s) are allowed in the list
ItemType.Timespan.Field
public boolean isSetField()
public void unsetField()
public String getStart()
String
public void setStart(String value)
value
- allowed object is
String
public boolean isSetStart()
public void setEnd(String value)
value
- allowed object is
String
public boolean isSetEnd()
public Object copyTo(Object target)
copyTo
in interface org.jvnet.jaxb2_commons.lang.CopyTo
public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
copyTo
in interface org.jvnet.jaxb2_commons.lang.CopyTo
public Object createNewInstance()
createNewInstance
in interface org.jvnet.jaxb2_commons.lang.CopyTo
Copyright © 2016. All rights reserved.