net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.jomc
Interface Properties

All Superinterfaces:
ModelObject
All Known Implementing Classes:
PropertiesImpl

public interface Properties
extends ModelObject

List of properties.


Method Summary
 List<Property> getProperty()
          Gets the value of the property property.
 List<PropertyReference> getReference()
          Gets the value of the reference property.
 
Methods inherited from interface net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.jomc.ModelObject
getAuthors, getCreateDate, getDocumentation, getModelVersion, setAuthors, setCreateDate, setDocumentation, setModelVersion
 

Method Detail

getProperty

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

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



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