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

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

public class CmrFieldTypeImpl
extends Object
implements Serializable, Cloneable, CmrFieldType

See Also:
Serialized Form

Field Summary
protected  StringImpl cmrFieldName
           
protected  CmrFieldTypeTypeImpl cmrFieldType
           
protected  List<DescriptionType> description
           
protected  String id
           
 
Constructor Summary
CmrFieldTypeImpl()
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.javaee.impl.CmrFieldTypeImpl instance.
CmrFieldTypeImpl(CmrFieldTypeImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.javaee.impl.CmrFieldTypeImpl instance by copying a given instance.
 
Method Summary
 CmrFieldTypeImpl clone()
          Creates and returns a copy of this object.
static void copyDescription(List<DescriptionType> source, List<DescriptionType> target)
          Copies all values of property Description.
 String getCmrFieldName()
          Gets the value of the cmrFieldName property.
 CmrFieldTypeType getCmrFieldType()
          Gets the value of the cmrFieldType property.
 List<DescriptionType> getDescription()
          Gets the value of the description property.
 String getId()
          Gets the value of the id property.
 void setCmrFieldName(String value)
          Sets the value of the cmrFieldName property.
 void setCmrFieldType(CmrFieldTypeType value)
          Sets the value of the cmrFieldType 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

cmrFieldName

protected StringImpl cmrFieldName

cmrFieldType

protected CmrFieldTypeTypeImpl cmrFieldType

id

protected String id
Constructor Detail

CmrFieldTypeImpl

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


CmrFieldTypeImpl

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

getCmrFieldName

public String getCmrFieldName()
Description copied from interface: CmrFieldType
Gets the value of the cmrFieldName property.

Specified by:
getCmrFieldName in interface CmrFieldType
Returns:
possible object is String

setCmrFieldName

public void setCmrFieldName(String value)
Description copied from interface: CmrFieldType
Sets the value of the cmrFieldName property.

Specified by:
setCmrFieldName in interface CmrFieldType
Parameters:
value - allowed object is String

getCmrFieldType

public CmrFieldTypeType getCmrFieldType()
Description copied from interface: CmrFieldType
Gets the value of the cmrFieldType property.

Specified by:
getCmrFieldType in interface CmrFieldType
Returns:
possible object is CmrFieldTypeType

setCmrFieldType

public void setCmrFieldType(CmrFieldTypeType value)
Description copied from interface: CmrFieldType
Sets the value of the cmrFieldType property.

Specified by:
setCmrFieldType in interface CmrFieldType
Parameters:
value - allowed object is CmrFieldTypeType

getId

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

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

setId

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

Specified by:
setId in interface CmrFieldType
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 CmrFieldTypeImpl 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.