net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.maven.pom400.impl
Class BuildImpl.ExtensionsImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.maven.pom400.impl.BuildImpl.ExtensionsImpl
All Implemented Interfaces:
Serializable, Cloneable, Build.Extensions
Enclosing class:
BuildImpl

public static class BuildImpl.ExtensionsImpl
extends Object
implements Serializable, Cloneable, Build.Extensions

See Also:
Serialized Form

Field Summary
protected  List<Extension> extension
           
 
Constructor Summary
BuildImpl.ExtensionsImpl()
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.maven.pom400.impl.BuildImpl.ExtensionsImpl instance.
BuildImpl.ExtensionsImpl(BuildImpl.ExtensionsImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.maven.pom400.impl.BuildImpl.ExtensionsImpl instance by copying a given instance.
 
Method Summary
 BuildImpl.ExtensionsImpl clone()
          Creates and returns a copy of this object.
protected static void copyExtension(List<Extension> source, List<Extension> target)
          Copies all values of property Extension.
 List<Extension> getExtension()
          Gets the value of the extension property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

extension

protected List<Extension> extension
Constructor Detail

BuildImpl.ExtensionsImpl

public BuildImpl.ExtensionsImpl()
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.maven.pom400.impl.BuildImpl.ExtensionsImpl instance.


BuildImpl.ExtensionsImpl

public BuildImpl.ExtensionsImpl(BuildImpl.ExtensionsImpl o)
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.maven.pom400.impl.BuildImpl.ExtensionsImpl instance by copying a given instance.

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

getExtension

public List<Extension> getExtension()
Description copied from interface: Build.Extensions
Gets the value of the extension 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 extension property.

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

    getExtension().add(newItem);
 

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

Specified by:
getExtension in interface Build.Extensions

copyExtension

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

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

clone

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

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


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