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

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

public class CmpFieldTypeImpl
extends Object
implements Serializable, Cloneable, CmpFieldType

See Also:
Serialized Form

Field Summary
protected  List<DescriptionType> description
           
protected  JavaIdentifierTypeImpl fieldName
           
protected  String id
           
 
Constructor Summary
CmpFieldTypeImpl()
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.javaee.impl.CmpFieldTypeImpl instance.
CmpFieldTypeImpl(CmpFieldTypeImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.javaee.impl.CmpFieldTypeImpl instance by copying a given instance.
 
Method Summary
 CmpFieldTypeImpl 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.
 JavaIdentifierType getFieldName()
          Gets the value of the fieldName property.
 String getId()
          Gets the value of the id property.
 void setFieldName(JavaIdentifierType value)
          Sets the value of the fieldName property.
 void setId(String value)
          Sets the value of the id 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

fieldName

protected JavaIdentifierTypeImpl fieldName

id

protected String id
Constructor Detail

CmpFieldTypeImpl

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


CmpFieldTypeImpl

public CmpFieldTypeImpl(CmpFieldTypeImpl o)
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.javaee.impl.CmpFieldTypeImpl 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: CmpFieldType
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 CmpFieldType

getFieldName

public JavaIdentifierType getFieldName()
Description copied from interface: CmpFieldType
Gets the value of the fieldName property.

Specified by:
getFieldName in interface CmpFieldType
Returns:
possible object is JavaIdentifierType

setFieldName

public void setFieldName(JavaIdentifierType value)
Description copied from interface: CmpFieldType
Sets the value of the fieldName property.

Specified by:
setFieldName in interface CmpFieldType
Parameters:
value - allowed object is JavaIdentifierType

getId

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

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

setId

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

Specified by:
setId in interface CmpFieldType
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 CmpFieldTypeImpl 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.