net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.persistence.orm.impl
Class EmbeddedImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.persistence.orm.impl.EmbeddedImpl
All Implemented Interfaces:
Serializable, Cloneable, Embedded

public class EmbeddedImpl
extends Object
implements Serializable, Cloneable, Embedded

See Also:
Serialized Form

Field Summary
protected  List<AttributeOverride> attributeOverride
           
protected  String name
           
 
Constructor Summary
EmbeddedImpl()
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.persistence.orm.impl.EmbeddedImpl instance.
EmbeddedImpl(EmbeddedImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.persistence.orm.impl.EmbeddedImpl instance by copying a given instance.
 
Method Summary
 EmbeddedImpl clone()
          Creates and returns a copy of this object.
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

EmbeddedImpl

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


EmbeddedImpl

public EmbeddedImpl(EmbeddedImpl o)
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.persistence.orm.impl.EmbeddedImpl 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: Embedded
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 Embedded

getName

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

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

setName

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

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

copyAttributeOverride

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