public class MetadataLockType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo
Java class for MetadataLockType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MetadataLockType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="user" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="expires" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> <element name="field" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Class and Description |
---|---|
static class |
MetadataLockType.PropInfo |
Modifier and Type | Field and Description |
---|---|
protected XMLGregorianCalendar |
expires |
protected List<String> |
field |
protected String |
id |
protected String |
user |
Constructor and Description |
---|
MetadataLockType() |
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() |
XMLGregorianCalendar |
getExpires()
Gets the value of the expires property.
|
List<String> |
getField()
Gets the value of the field property.
|
String |
getId()
Gets the value of the id property.
|
String |
getUser()
Gets the value of the user property.
|
boolean |
isSetExpires() |
boolean |
isSetField() |
boolean |
isSetId() |
boolean |
isSetUser() |
void |
setExpires(XMLGregorianCalendar value)
Sets the value of the expires property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setUser(String value)
Sets the value of the user property.
|
void |
unsetField() |
MetadataLockType |
visit(com.kscs.util.jaxb.PropertyVisitor _visitor_) |
MetadataLockType |
withExpires(XMLGregorianCalendar value) |
MetadataLockType |
withField(Collection<String> values) |
MetadataLockType |
withField(String... values) |
MetadataLockType |
withId(String value) |
MetadataLockType |
withUser(String value) |
protected String id
protected String user
protected XMLGregorianCalendar expires
public void setId(String value)
value
- allowed object is
String
public boolean isSetId()
public String getUser()
String
public void setUser(String value)
value
- allowed object is
String
public boolean isSetUser()
public XMLGregorianCalendar getExpires()
XMLGregorianCalendar
public void setExpires(XMLGregorianCalendar value)
value
- allowed object is
XMLGregorianCalendar
public boolean isSetExpires()
public List<String> 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
String
public boolean isSetField()
public void unsetField()
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
public MetadataLockType withId(String value)
public MetadataLockType withUser(String value)
public MetadataLockType withExpires(XMLGregorianCalendar value)
public MetadataLockType withField(String... values)
public MetadataLockType withField(Collection<String> values)
public MetadataLockType visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
Copyright © 2017. All rights reserved.