
@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 Properties
extends ModelObject
implements Cloneable
Java class for Properties complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Properties">
<complexContent>
<extension base="{http://jomc.org/model}ModelObject">
<sequence>
<element ref="{http://jomc.org/model}property" maxOccurs="unbounded" minOccurs="0"/>
<element name="reference" type="{http://jomc.org/model}PropertyReference" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Property> |
property |
protected List<PropertyReference> |
reference |
authors, createDate, deprecated, documentation, MODEL_PUBLIC_ID, modelVersion| Constructor and Description |
|---|
Properties()
Creates a new
Properties instance. |
Properties(Properties o)
Creates a new
Properties instance by deeply copying a given Properties instance. |
| Modifier and Type | Method and Description |
|---|---|
Properties |
clone()
Creates and returns a deep copy of this object.
|
List<Property> |
getPropertiesByType(String type)
Gets a list of properties of a given type.
|
List<Property> |
getProperty()
Gets the value of the property property.
|
Property |
getProperty(String name)
Gets a property for a given name from the list of properties.
|
List<PropertyReference> |
getReference()
Gets the value of the reference property.
|
PropertyReference |
getReference(String name)
Gets a property reference for a given name from the list of references.
|
getAnyElement, getAnyElement, getAnyElements, getAnyElements, getAnyObject, getAnyObjects, getAuthors, getCreateDate, getDocumentation, getModelVersion, isDeprecated, setAuthors, setCreateDate, setDeprecated, setDocumentation, setModelVersion@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 List<Property> 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 List<PropertyReference> reference
public Properties()
Properties instance.public Properties(Properties o)
Properties instance by deeply copying a given Properties 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 List<Property> getProperty()
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 property property.
For example, to add a new item, do as follows:
getProperty().add(newItem);
Objects of the following type(s) are allowed in the list
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")
public List<PropertyReference> getReference()
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 reference property.
For example, to add a new item, do as follows:
getReference().add(newItem);
Objects of the following type(s) are allowed in the list
PropertyReference
@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 Properties clone()
clone in class ModelObjectpublic Property getProperty(String name)
name - The name of the property to return.null, if no such property is found.NullPointerException - if name is null.getProperty(),
Property.getName()public PropertyReference getReference(String name)
name - The name of the property reference to return.null, if no such reference is found.NullPointerException - if name is null.getReference(),
PropertyReference.getName()public List<Property> getPropertiesByType(String type)
type - The type of the properties to return or null, to return properties of the default type.type.getProperty(),
Property.getType()Copyright © 2005–2016 The JOMC Project. All rights reserved.