net.sourceforge.ccxjc.it.model.pub.collections.valueclass.jomc
Class Modules

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

public class Modules
extends ModelObject
implements Serializable, Cloneable

List of modules.

See Also:
Serialized Form

Field Summary
protected  List<Module> module
           
 
Fields inherited from class net.sourceforge.ccxjc.it.model.pub.collections.valueclass.jomc.ModelObject
authors, createDate, documentation, modelVersion
 
Constructor Summary
Modules()
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.jomc.Modules instance.
Modules(Modules o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.jomc.Modules instance by copying a given instance.
 
Method Summary
 Modules clone()
          Creates and returns a copy of this object.
static void copyModule(List<Module> source, List<Module> target)
          Copies all values of property Module.
 List<Module> getModule()
          Gets the value of the module property.
 
Methods inherited from class net.sourceforge.ccxjc.it.model.pub.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

module

protected List<Module> module
Constructor Detail

Modules

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


Modules

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

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

getModule

public List<Module> getModule()
Gets the value of the module 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 module property.

For example, to add a new item, do as follows:

    getModule().add(newItem);
 

Objects of the following type(s) are allowed in the list Module


copyModule

public static void copyModule(List<Module> source,
                              List<Module> target)
Copies all values of property Module.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target is null.

clone

public Modules 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.