net.sourceforge.ccxjc.it.model.prot.collections.valueclass.jomc
Class Specifications

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

public class Specifications
extends ModelObject
implements Serializable, Cloneable

List of specications.

See Also:
Serialized Form

Field Summary
protected  List<SpecificationReference> reference
           
protected  List<Specification> specification
           
 
Fields inherited from class net.sourceforge.ccxjc.it.model.prot.collections.valueclass.jomc.ModelObject
authors, createDate, documentation, modelVersion
 
Constructor Summary
Specifications()
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.jomc.Specifications instance.
Specifications(Specifications o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.jomc.Specifications instance by copying a given instance.
 
Method Summary
 Specifications clone()
          Creates and returns a copy of this object.
protected static void copyReference(List<SpecificationReference> source, List<SpecificationReference> target)
          Copies all values of property Reference.
protected static void copySpecification(List<Specification> source, List<Specification> target)
          Copies all values of property Specification.
 List<SpecificationReference> getReference()
          Gets the value of the reference property.
 List<Specification> getSpecification()
          Gets the value of the specification property.
 
Methods inherited from class net.sourceforge.ccxjc.it.model.prot.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

specification

protected List<Specification> specification

reference

protected List<SpecificationReference> reference
Constructor Detail

Specifications

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


Specifications

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

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

getSpecification

public List<Specification> getSpecification()
Gets the value of the specification 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 specification property.

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

    getSpecification().add(newItem);
 

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


getReference

public List<SpecificationReference> 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 SpecificationReference


copySpecification

protected static void copySpecification(List<Specification> source,
                                        List<Specification> target)
Copies all values of property Specification.

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

copyReference

protected static void copyReference(List<SpecificationReference> source,
                                    List<SpecificationReference> target)
Copies all values of property Reference.

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

clone

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