net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.persistence.orm.impl
Class EmbeddedIdImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.persistence.orm.impl.EmbeddedIdImpl
All Implemented Interfaces:
Serializable, Cloneable, EmbeddedId

public class EmbeddedIdImpl
extends Object
implements Serializable, Cloneable, EmbeddedId

See Also:
Serialized Form

Field Summary
protected  List<AttributeOverride> attributeOverride
           
protected  String name
           
 
Constructor Summary
EmbeddedIdImpl()
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.persistence.orm.impl.EmbeddedIdImpl instance.
EmbeddedIdImpl(EmbeddedIdImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.persistence.orm.impl.EmbeddedIdImpl instance by copying a given instance.
 
Method Summary
 EmbeddedIdImpl clone()
          Creates and returns a copy of this object.
protected static void copyAttributeOverride(List<AttributeOverride> source, List<AttributeOverride> target)
          Copies all values of property AttributeOverride.
 List<AttributeOverride> getAttributeOverride()
          Gets the value of the attributeOverride property.
 String getName()
          Gets the value of the name property.
 void setName(String value)
          Sets the value of the name property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attributeOverride

protected List<AttributeOverride> attributeOverride

name

protected String name
Constructor Detail

EmbeddedIdImpl

public EmbeddedIdImpl()
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.persistence.orm.impl.EmbeddedIdImpl instance.


EmbeddedIdImpl

public EmbeddedIdImpl(EmbeddedIdImpl o)
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.persistence.orm.impl.EmbeddedIdImpl instance by copying a given instance.

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

getAttributeOverride

public List<AttributeOverride> getAttributeOverride()
Description copied from interface: EmbeddedId
Gets the value of the attributeOverride 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 attributeOverride property.

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

    getAttributeOverride().add(newItem);
 

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

Specified by:
getAttributeOverride in interface EmbeddedId

getName

public String getName()
Description copied from interface: EmbeddedId
Gets the value of the name property.

Specified by:
getName in interface EmbeddedId
Returns:
possible object is String

setName

public void setName(String value)
Description copied from interface: EmbeddedId
Sets the value of the name property.

Specified by:
setName in interface EmbeddedId
Parameters:
value - allowed object is String

copyAttributeOverride

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

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

clone

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