net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.jomc
Class Properties

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.jomc.ModelObject
      extended by net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.jomc.Properties
All Implemented Interfaces:
Serializable, Cloneable

public class Properties
extends ModelObject
implements Serializable, Cloneable

List of properties.

See Also:
Serialized Form

Field Summary
protected  List<Property> property
           
protected  List<PropertyReference> reference
           
 
Fields inherited from class net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.jomc.ModelObject
authors, createDate, documentation, modelVersion
 
Constructor Summary
Properties()
          Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.jomc.Properties instance.
Properties(Properties o)
          Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.jomc.Properties instance by copying a given instance.
 
Method Summary
 Properties clone()
          Creates and returns a copy of this object.
 List<Property> getProperty()
          Gets the value of the property property.
 List<PropertyReference> getReference()
          Gets the value of the reference property.
 
Methods inherited from class net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.jomc.ModelObject
getAuthors, getCreateDate, getDocumentation, getModelVersion, setAuthors, setCreateDate, setDocumentation, setModelVersion
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

property

protected List<Property> property

reference

protected List<PropertyReference> reference
Constructor Detail

Properties

public Properties()
Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.jomc.Properties instance.


Properties

public Properties(Properties o)
Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.jomc.Properties instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getProperty

public List<Property> getProperty()
Gets the value of the property property.

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


getReference

public List<PropertyReference> getReference()
Gets the value of the reference property.

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


clone

public Properties clone()
Creates and returns a copy of this object.

Overrides:
clone in class ModelObject
Returns:
A clone of this instance.


Copyright © 2009 The CC-XJC Community. All Rights Reserved.