net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.persistence.orm
Class OneToMany

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.persistence.orm.OneToMany
All Implemented Interfaces:
Serializable, Cloneable

public class OneToMany
extends Object
implements Serializable, Cloneable

See Also:
Serialized Form

Field Summary
protected  CascadeType cascade
           
protected  FetchType fetch
           
protected  JoinColumn[] joinColumn
           
protected  JoinTable joinTable
           
protected  MapKey mapKey
           
protected  String mappedBy
           
protected  String name
           
protected  String orderBy
           
protected  String targetEntity
           
 
Constructor Summary
OneToMany()
          Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.persistence.orm.OneToMany instance.
OneToMany(OneToMany o)
          Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.persistence.orm.OneToMany instance by copying a given instance.
 
Method Summary
 OneToMany clone()
          Creates and returns a copy of this object.
 CascadeType getCascade()
          Gets the value of the cascade property.
 FetchType getFetch()
          Gets the value of the fetch property.
 JoinColumn[] getJoinColumn()
           
 JoinColumn getJoinColumn(int idx)
           
 int getJoinColumnLength()
           
 JoinTable getJoinTable()
          Gets the value of the joinTable property.
 MapKey getMapKey()
          Gets the value of the mapKey property.
 String getMappedBy()
          Gets the value of the mappedBy property.
 String getName()
          Gets the value of the name property.
 String getOrderBy()
          Gets the value of the orderBy property.
 String getTargetEntity()
          Gets the value of the targetEntity property.
 void setCascade(CascadeType value)
          Sets the value of the cascade property.
 void setFetch(FetchType value)
          Sets the value of the fetch property.
 JoinColumn setJoinColumn(int idx, JoinColumn value)
           
 void setJoinColumn(JoinColumn[] values)
           
 void setJoinTable(JoinTable value)
          Sets the value of the joinTable property.
 void setMapKey(MapKey value)
          Sets the value of the mapKey property.
 void setMappedBy(String value)
          Sets the value of the mappedBy property.
 void setName(String value)
          Sets the value of the name property.
 void setOrderBy(String value)
          Sets the value of the orderBy property.
 void setTargetEntity(String value)
          Sets the value of the targetEntity property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

orderBy

protected String orderBy

mapKey

protected MapKey mapKey

joinTable

protected JoinTable joinTable

joinColumn

protected JoinColumn[] joinColumn

cascade

protected CascadeType cascade

name

protected String name

targetEntity

protected String targetEntity

fetch

protected FetchType fetch

mappedBy

protected String mappedBy
Constructor Detail

OneToMany

public OneToMany()
Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.persistence.orm.OneToMany instance.


OneToMany

public OneToMany(OneToMany o)
Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.persistence.orm.OneToMany instance by copying a given instance.

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

getOrderBy

public String getOrderBy()
Gets the value of the orderBy property.

Returns:
possible object is String

setOrderBy

public void setOrderBy(String value)
Sets the value of the orderBy property.

Parameters:
value - allowed object is String

getMapKey

public MapKey getMapKey()
Gets the value of the mapKey property.

Returns:
possible object is MapKey

setMapKey

public void setMapKey(MapKey value)
Sets the value of the mapKey property.

Parameters:
value - allowed object is MapKey

getJoinTable

public JoinTable getJoinTable()
Gets the value of the joinTable property.

Returns:
possible object is JoinTable

setJoinTable

public void setJoinTable(JoinTable value)
Sets the value of the joinTable property.

Parameters:
value - allowed object is JoinTable

getJoinColumn

public JoinColumn[] getJoinColumn()
Returns:
array of JoinColumn

getJoinColumn

public JoinColumn getJoinColumn(int idx)
Returns:
one of JoinColumn

getJoinColumnLength

public int getJoinColumnLength()

setJoinColumn

public void setJoinColumn(JoinColumn[] values)
Parameters:
values - allowed objects are JoinColumn

setJoinColumn

public JoinColumn setJoinColumn(int idx,
                                JoinColumn value)
Parameters:
value - allowed object is JoinColumn

getCascade

public CascadeType getCascade()
Gets the value of the cascade property.

Returns:
possible object is CascadeType

setCascade

public void setCascade(CascadeType value)
Sets the value of the cascade property.

Parameters:
value - allowed object is CascadeType

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

getTargetEntity

public String getTargetEntity()
Gets the value of the targetEntity property.

Returns:
possible object is String

setTargetEntity

public void setTargetEntity(String value)
Sets the value of the targetEntity property.

Parameters:
value - allowed object is String

getFetch

public FetchType getFetch()
Gets the value of the fetch property.

Returns:
possible object is FetchType

setFetch

public void setFetch(FetchType value)
Sets the value of the fetch property.

Parameters:
value - allowed object is FetchType

getMappedBy

public String getMappedBy()
Gets the value of the mappedBy property.

Returns:
possible object is String

setMappedBy

public void setMappedBy(String value)
Sets the value of the mappedBy property.

Parameters:
value - allowed object is String

clone

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