net.sourceforge.ccxjc.it.model.prot.collections.valueclass.persistence.orm
Class EmbeddedId

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

public class EmbeddedId
extends Object
implements Serializable, Cloneable

See Also:
Serialized Form

Field Summary
protected  List<AttributeOverride> attributeOverride
           
protected  String name
           
 
Constructor Summary
EmbeddedId()
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.persistence.orm.EmbeddedId instance.
EmbeddedId(EmbeddedId o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.persistence.orm.EmbeddedId instance by copying a given instance.
 
Method Summary
 EmbeddedId 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

EmbeddedId

public EmbeddedId()
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.persistence.orm.EmbeddedId instance.


EmbeddedId

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

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

getAttributeOverride

public List<AttributeOverride> getAttributeOverride()
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


getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

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 EmbeddedId 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.