|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.jomc.model.ModelObject
org.jomc.model.Properties
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-02T06:07:50+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public class PropertiesList of properties.
Property| Field Summary | |
|---|---|
protected List<Property> |
property
|
protected List<PropertyReference> |
reference
|
| Fields inherited from class org.jomc.model.ModelObject |
|---|
authors, createDate, deprecated, documentation, modelVersion |
| Constructor Summary | |
|---|---|
Properties()
Creates a new Properties instance. |
|
Properties(Properties o)
Creates a new Properties instance by deeply copying a given instance. |
|
| Method Summary | |
|---|---|
Properties |
clone()
Creates and returns a deep copy of this object. |
private static void |
copyProperty(List<Property> source,
List<Property> target)
Copies all values of property Property deeply. |
private static void |
copyReference(List<PropertyReference> source,
List<PropertyReference> target)
Copies all values of property Reference deeply. |
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. |
| Methods inherited from class org.jomc.model.ModelObject |
|---|
getAuthors, getCreateDate, getDocumentation, getModelVersion, isDeprecated, setAuthors, setCreateDate, setDeprecated, setDocumentation, setModelVersion |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-02T06:07:50+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected List<Property> property
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-02T06:07:50+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected List<PropertyReference> reference
| Constructor Detail |
|---|
public Properties()
Properties instance.
public Properties(Properties o)
Properties instance by deeply copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-02T06:07:50+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
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="2009-10-02T06:07:50+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
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="2009-10-02T06:07:50+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static void copyProperty(List<Property> source,
List<Property> target)
Property deeply.
target - The target to copy source to.source - The source to copy from.
NullPointerException - if source or target is null.
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-02T06:07:50+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static void copyReference(List<PropertyReference> source,
List<PropertyReference> target)
Reference deeply.
target - The target to copy source to.source - The source to copy from.
NullPointerException - if source or target is null.
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-02T06:07:50+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public Properties clone()
clone in class ModelObjectpublic Property getProperty(String name)
name - The name of the property to return.
name from the list or
null, if no property matching name is found.
NullPointerException - if name is null.getProperty()public PropertyReference getReference(String name)
name - The name of the property reference to return.
name from the list or
null, if no property reference matching name is found.
NullPointerException - if name is null.getReference()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||