net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.jomc.impl
Class PropertiesImpl

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

public class PropertiesImpl
extends ModelObjectImpl
implements Serializable, Cloneable, 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.novalueclass.jomc.impl.ModelObjectImpl
authors, createDate, documentation, modelVersion
 
Constructor Summary
PropertiesImpl()
          Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.jomc.impl.PropertiesImpl instance.
PropertiesImpl(PropertiesImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.jomc.impl.PropertiesImpl instance by copying a given instance.
 
Method Summary
 PropertiesImpl 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.novalueclass.jomc.impl.ModelObjectImpl
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
 
Methods inherited from interface net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.jomc.ModelObject
getAuthors, getCreateDate, getDocumentation, getModelVersion, setAuthors, setCreateDate, setDocumentation, setModelVersion
 

Field Detail

property

protected List<Property> property

reference

protected List<PropertyReference> reference
Constructor Detail

PropertiesImpl

public PropertiesImpl()
Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.jomc.impl.PropertiesImpl instance.


PropertiesImpl

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

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

getProperty

public List<Property> getProperty()
Description copied from interface: Properties
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

Specified by:
getProperty in interface Properties

getReference

public List<PropertyReference> getReference()
Description copied from interface: Properties
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

Specified by:
getReference in interface Properties

clone

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

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


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