
@Generated(value="com.sun.tools.xjc.Driver",
date="2016-11-01T03:16:37+01:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public class ModelObject
extends Object
implements Cloneable
Java class for ModelObject complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ModelObject">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://jomc.org/model}documentation" minOccurs="0"/>
<element ref="{http://jomc.org/model}authors" minOccurs="0"/>
</sequence>
<attribute name="modelVersion" type="{http://jomc.org/model}Version" default="1.2" />
<attribute name="createDate" type="{http://jomc.org/model}DateTime" />
<attribute name="deprecated" type="{http://jomc.org/model}Flag" default="false" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Authors |
authors |
protected XMLGregorianCalendar |
createDate |
protected Boolean |
deprecated |
protected Texts |
documentation |
static String |
MODEL_PUBLIC_ID
Public identifier of the object management and configuration model.
|
protected String |
modelVersion |
| Constructor and Description |
|---|
ModelObject()
Creates a new
ModelObject instance. |
ModelObject(ModelObject o)
Creates a new
ModelObject instance by deeply copying a given ModelObject instance. |
| Modifier and Type | Method and Description |
|---|---|
ModelObject |
clone()
Creates and returns a deep copy of this object.
|
protected javax.xml.bind.JAXBElement |
getAnyElement(List<Object> any,
String namespaceURI,
String localPart)
Deprecated.
As of JOMC 1.1, please use method
getAnyElement(java.util.List, java.lang.String, java.lang.String, java.lang.Class).
This method will be removed in version 2.0. |
protected <T> javax.xml.bind.JAXBElement<T> |
getAnyElement(List<Object> any,
String namespaceURI,
String localPart,
Class<T> type)
Gets a single
JAXBElement matching a namespace URI and local part from a given list of objects. |
protected List<javax.xml.bind.JAXBElement> |
getAnyElements(List<Object> any,
String namespaceURI,
String localPart)
Deprecated.
As of JOMC 1.1, please use method
getAnyElements(java.util.List, java.lang.String, java.lang.String, java.lang.Class).
This method will be removed in version 2.0. |
protected <T> List<javax.xml.bind.JAXBElement<T>> |
getAnyElements(List<Object> any,
String namespaceURI,
String localPart,
Class<T> type)
Gets a list containing all
JAXBElements matching a namespace URI and local part from a given list of
objects. |
protected <T> T |
getAnyObject(List<Object> any,
Class<T> clazz)
Gets a single object matching a class from a given list of objects.
|
protected <T> List<T> |
getAnyObjects(List<Object> any,
Class<T> clazz)
Gets a list containing all objects matching a class from a given list of objects.
|
Authors |
getAuthors()
Authors of this object or
null. |
XMLGregorianCalendar |
getCreateDate()
The date this object got created or
null. |
Texts |
getDocumentation()
Documentation of this object or
null. |
String |
getModelVersion()
Model version of this object.
|
boolean |
isDeprecated()
true, if this object is deprecated. |
void |
setAuthors(Authors value)
Sets the value of the authors property.
|
void |
setCreateDate(XMLGregorianCalendar value)
Sets the value of the createDate property.
|
void |
setDeprecated(Boolean value)
Sets the value of the deprecated property.
|
void |
setDocumentation(Texts value)
Sets the value of the documentation property.
|
void |
setModelVersion(String value)
Sets the value of the modelVersion property.
|
@Generated(value="com.sun.tools.xjc.Driver",
date="2016-11-01T03:16:37+01:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
protected Texts documentation
@Generated(value="com.sun.tools.xjc.Driver",
date="2016-11-01T03:16:37+01:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
protected Authors authors
@Generated(value="com.sun.tools.xjc.Driver",
date="2016-11-01T03:16:37+01:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
protected String modelVersion
@Generated(value="com.sun.tools.xjc.Driver",
date="2016-11-01T03:16:37+01:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
protected XMLGregorianCalendar createDate
@Generated(value="com.sun.tools.xjc.Driver",
date="2016-11-01T03:16:37+01:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
protected Boolean deprecated
public static final String MODEL_PUBLIC_ID
public ModelObject()
ModelObject instance.public ModelObject(ModelObject o)
ModelObject instance by deeply copying a given ModelObject instance.o - The instance to copy.NullPointerException - if o is null.@Generated(value="com.sun.tools.xjc.Driver",
date="2016-11-01T03:16:37+01:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public Texts getDocumentation()
null.Texts@Generated(value="com.sun.tools.xjc.Driver",
date="2016-11-01T03:16:37+01:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public void setDocumentation(Texts value)
value - allowed object is
Texts@Generated(value="com.sun.tools.xjc.Driver",
date="2016-11-01T03:16:37+01:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public Authors getAuthors()
null.Authors@Generated(value="com.sun.tools.xjc.Driver",
date="2016-11-01T03:16:37+01:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public void setAuthors(Authors value)
value - allowed object is
Authors@Generated(value="com.sun.tools.xjc.Driver",
date="2016-11-01T03:16:37+01:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public String getModelVersion()
String@Generated(value="com.sun.tools.xjc.Driver",
date="2016-11-01T03:16:37+01:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public void setModelVersion(String value)
value - allowed object is
String@Generated(value="com.sun.tools.xjc.Driver",
date="2016-11-01T03:16:37+01:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public XMLGregorianCalendar getCreateDate()
null.XMLGregorianCalendar@Generated(value="com.sun.tools.xjc.Driver",
date="2016-11-01T03:16:37+01:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public void setCreateDate(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendar@Generated(value="com.sun.tools.xjc.Driver",
date="2016-11-01T03:16:37+01:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public boolean isDeprecated()
true, if this object is deprecated.Boolean@Generated(value="com.sun.tools.xjc.Driver",
date="2016-11-01T03:16:37+01:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public void setDeprecated(Boolean value)
value - allowed object is
Boolean@Generated(value="com.sun.tools.xjc.Driver",
date="2016-11-01T03:16:37+01:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public ModelObject clone()
@Deprecated protected javax.xml.bind.JAXBElement getAnyElement(List<Object> any, String namespaceURI, String localPart)
getAnyElement(java.util.List, java.lang.String, java.lang.String, java.lang.Class).
This method will be removed in version 2.0.JAXBElement matching a namespace URI and local part from a given list of objects.any - The list to search.namespaceURI - The namespace URI of the JAXBElement to return.localPart - The local part of the JAXBElement to return.JAXBElement matching namespaceURI and localPart from the any list or
null if no such element is found.NullPointerException - if any, namespaceURI or localPart is null.IllegalStateException - if any contains more than one matching element.@Deprecated protected List<javax.xml.bind.JAXBElement> getAnyElements(List<Object> any, String namespaceURI, String localPart)
getAnyElements(java.util.List, java.lang.String, java.lang.String, java.lang.Class).
This method will be removed in version 2.0.JAXBElements matching a namespace URI and local part from a given list of
objects.any - The list to search.namespaceURI - The namespace URI of the JAXBElements to return.localPart - The local part of the JAXBElements to return.JAXBElements matching namespaceURI and localPart from
the any list - an empty list if no such elements are found.NullPointerException - if any, namespaceURI or localPart is null.protected <T> javax.xml.bind.JAXBElement<T> getAnyElement(List<Object> any, String namespaceURI, String localPart, Class<T> type)
JAXBElement matching a namespace URI and local part from a given list of objects.T - The type the element is bound to.any - The list to search.namespaceURI - The namespace URI of the JAXBElement to return.localPart - The local part of the JAXBElement to return.type - The class of the type the element is bound to.JAXBElement matching namespaceURI and localPart from the any list or
null if no such element is found.NullPointerException - if any, namespaceURI, localPart or type is
null.IllegalStateException - if any contains more than one matching element.protected <T> List<javax.xml.bind.JAXBElement<T>> getAnyElements(List<Object> any, String namespaceURI, String localPart, Class<T> type)
JAXBElements matching a namespace URI and local part from a given list of
objects.T - The type the elements are bound to.any - The list to search.namespaceURI - The namespace URI of the JAXBElements to return.localPart - The local part of the JAXBElements to return.type - The class of the type the elements are bound to.JAXBElements matching namespaceURI and localPart from
the any list - an empty list if no such elements are found.NullPointerException - if any, namespaceURI, localPart or type is
null.protected <T> T getAnyObject(List<Object> any, Class<T> clazz)
T - The type of the object to return.any - The list to search.clazz - The class to return an instance of.clazz from the any list or null, if no such instance is found.NullPointerException - if any or clazz is null.IllegalStateException - if any contains more than one matching object.protected <T> List<T> getAnyObjects(List<Object> any, Class<T> clazz)
T - The type of the objects to return.any - The list to search.clazz - The class to return all instances of.clazz from the any list - an empty list if no
such objects are found.NullPointerException - if any or clazz is null.Copyright © 2005–2016 The JOMC Project. All rights reserved.