net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.maven.pom400.impl
Class PluginExecutionImpl.GoalsImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.maven.pom400.impl.PluginExecutionImpl.GoalsImpl
All Implemented Interfaces:
Serializable, Cloneable, PluginExecution.Goals
Enclosing class:
PluginExecutionImpl

public static class PluginExecutionImpl.GoalsImpl
extends Object
implements Serializable, Cloneable, PluginExecution.Goals

See Also:
Serialized Form

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

Field Detail

goal

protected List<String> goal
Constructor Detail

PluginExecutionImpl.GoalsImpl

public PluginExecutionImpl.GoalsImpl()
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.maven.pom400.impl.PluginExecutionImpl.GoalsImpl instance.


PluginExecutionImpl.GoalsImpl

public PluginExecutionImpl.GoalsImpl(PluginExecutionImpl.GoalsImpl o)
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.maven.pom400.impl.PluginExecutionImpl.GoalsImpl instance by copying a given instance.

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

getGoal

public List<String> getGoal()
Description copied from interface: PluginExecution.Goals
Gets the value of the goal 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 goal property.

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

    getGoal().add(newItem);
 

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

Specified by:
getGoal in interface PluginExecution.Goals

copyGoal

public static void copyGoal(List<String> source,
                            List<String> target)
Copies all values of property Goal.

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

clone

public PluginExecutionImpl.GoalsImpl 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.