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

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

public static class BuildImpl.ResourcesImpl
extends Object
implements Serializable, Cloneable, Build.Resources

See Also:
Serialized Form

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

Field Detail

resource

protected List<Resource> resource
Constructor Detail

BuildImpl.ResourcesImpl

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


BuildImpl.ResourcesImpl

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

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

getResource

public List<Resource> getResource()
Description copied from interface: Build.Resources
Gets the value of the resource 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 resource property.

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

    getResource().add(newItem);
 

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

Specified by:
getResource in interface Build.Resources

copyResource

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

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.ResourcesImpl 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.