net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.jdtaus.container.impl
Class SpecificationsImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.jdtaus.container.impl.ModelObjectImpl
      extended by net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.jdtaus.container.impl.SpecificationsImpl
All Implemented Interfaces:
Serializable, Cloneable, ModelObject, Specifications

public class SpecificationsImpl
extends ModelObjectImpl
implements Serializable, Cloneable, Specifications

See Also:
Serialized Form

Field Summary
protected  List<SpecificationReference> reference
           
protected  List<Specification> specification
           
 
Fields inherited from class net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.jdtaus.container.impl.ModelObjectImpl
documentation, modelVersion
 
Constructor Summary
SpecificationsImpl()
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.jdtaus.container.impl.SpecificationsImpl instance.
SpecificationsImpl(SpecificationsImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.jdtaus.container.impl.SpecificationsImpl instance by copying a given instance.
 
Method Summary
 SpecificationsImpl clone()
          Creates and returns a copy of this object.
static void copyReference(List<SpecificationReference> source, List<SpecificationReference> target)
          Copies all values of property Reference.
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.pub.collections.novalueclass.jdtaus.container.impl.ModelObjectImpl
getDocumentation, getModelVersion, 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.pub.collections.novalueclass.jdtaus.container.ModelObject
getDocumentation, getModelVersion, setDocumentation, setModelVersion
 

Field Detail

specification

protected List<Specification> specification

reference

protected List<SpecificationReference> reference
Constructor Detail

SpecificationsImpl

public SpecificationsImpl()
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.jdtaus.container.impl.SpecificationsImpl instance.


SpecificationsImpl

public SpecificationsImpl(SpecificationsImpl o)
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.jdtaus.container.impl.SpecificationsImpl instance by copying a given instance.

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

getSpecification

public List<Specification> getSpecification()
Description copied from interface: Specifications
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

Specified by:
getSpecification in interface Specifications

getReference

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

Specified by:
getReference in interface Specifications

copySpecification

public 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

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