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

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

public class AssociationOverrideImpl
extends Object
implements Serializable, Cloneable, AssociationOverride

See Also:
Serialized Form

Field Summary
protected  List<JoinColumn> joinColumn
           
protected  String name
           
 
Constructor Summary
AssociationOverrideImpl()
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.persistence.orm.impl.AssociationOverrideImpl instance.
AssociationOverrideImpl(AssociationOverrideImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.persistence.orm.impl.AssociationOverrideImpl instance by copying a given instance.
 
Method Summary
 AssociationOverrideImpl clone()
          Creates and returns a copy of this object.
protected static void copyJoinColumn(List<JoinColumn> source, List<JoinColumn> target)
          Copies all values of property JoinColumn.
 List<JoinColumn> getJoinColumn()
          Gets the value of the joinColumn 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

joinColumn

protected List<JoinColumn> joinColumn

name

protected String name
Constructor Detail

AssociationOverrideImpl

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


AssociationOverrideImpl

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

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

getJoinColumn

public List<JoinColumn> getJoinColumn()
Description copied from interface: AssociationOverride
Gets the value of the joinColumn 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 joinColumn property.

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

    getJoinColumn().add(newItem);
 

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

Specified by:
getJoinColumn in interface AssociationOverride

getName

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

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

setName

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

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

copyJoinColumn

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

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

clone

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