net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.javaee.impl
Class RunAsTypeImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.javaee.impl.RunAsTypeImpl
All Implemented Interfaces:
Serializable, Cloneable, RunAsType

public class RunAsTypeImpl
extends Object
implements Serializable, Cloneable, RunAsType

See Also:
Serialized Form

Field Summary
protected  List<DescriptionType> description
           
protected  String id
           
protected  RoleNameTypeImpl roleName
           
 
Constructor Summary
RunAsTypeImpl()
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.javaee.impl.RunAsTypeImpl instance.
RunAsTypeImpl(RunAsTypeImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.javaee.impl.RunAsTypeImpl instance by copying a given instance.
 
Method Summary
 RunAsTypeImpl clone()
          Creates and returns a copy of this object.
static void copyDescription(List<DescriptionType> source, List<DescriptionType> target)
          Copies all values of property Description.
 List<DescriptionType> getDescription()
          Gets the value of the description property.
 String getId()
          Gets the value of the id property.
 RoleNameType getRoleName()
          Gets the value of the roleName property.
 void setId(String value)
          Sets the value of the id property.
 void setRoleName(RoleNameType value)
          Sets the value of the roleName property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected List<DescriptionType> description

roleName

protected RoleNameTypeImpl roleName

id

protected String id
Constructor Detail

RunAsTypeImpl

public RunAsTypeImpl()
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.javaee.impl.RunAsTypeImpl instance.


RunAsTypeImpl

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

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

getDescription

public List<DescriptionType> getDescription()
Description copied from interface: RunAsType
Gets the value of the description 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 description property.

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

    getDescription().add(newItem);
 

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

Specified by:
getDescription in interface RunAsType

getRoleName

public RoleNameType getRoleName()
Description copied from interface: RunAsType
Gets the value of the roleName property.

Specified by:
getRoleName in interface RunAsType
Returns:
possible object is RoleNameType

setRoleName

public void setRoleName(RoleNameType value)
Description copied from interface: RunAsType
Sets the value of the roleName property.

Specified by:
setRoleName in interface RunAsType
Parameters:
value - allowed object is RoleNameType

getId

public String getId()
Description copied from interface: RunAsType
Gets the value of the id property.

Specified by:
getId in interface RunAsType
Returns:
possible object is String

setId

public void setId(String value)
Description copied from interface: RunAsType
Sets the value of the id property.

Specified by:
setId in interface RunAsType
Parameters:
value - allowed object is String

copyDescription

public static void copyDescription(List<DescriptionType> source,
                                   List<DescriptionType> target)
Copies all values of property Description.

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

clone

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