|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.pkg.collections.valueclass.persistence.orm.OneToMany
public class OneToMany
| Field Summary | |
|---|---|
protected CascadeType |
cascade
|
protected FetchType |
fetch
|
protected List<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.pkg.collections.valueclass.persistence.orm.OneToMany instance. |
|
OneToMany(OneToMany o)
Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.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. |
List<JoinColumn> |
getJoinColumn()
Gets the value of the joinColumn property. |
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. |
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 |
|---|
protected String orderBy
protected MapKey mapKey
protected JoinTable joinTable
protected List<JoinColumn> joinColumn
protected CascadeType cascade
protected String name
protected String targetEntity
protected FetchType fetch
protected String mappedBy
| Constructor Detail |
|---|
public OneToMany()
net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.persistence.orm.OneToMany instance.
public OneToMany(OneToMany o)
net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.persistence.orm.OneToMany instance by copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
public String getOrderBy()
Stringpublic void setOrderBy(String value)
value - allowed object is
Stringpublic MapKey getMapKey()
MapKeypublic void setMapKey(MapKey value)
value - allowed object is
MapKeypublic JoinTable getJoinTable()
JoinTablepublic void setJoinTable(JoinTable value)
value - allowed object is
JoinTablepublic List<JoinColumn> getJoinColumn()
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
public CascadeType getCascade()
CascadeTypepublic void setCascade(CascadeType value)
value - allowed object is
CascadeTypepublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getTargetEntity()
Stringpublic void setTargetEntity(String value)
value - allowed object is
Stringpublic FetchType getFetch()
FetchTypepublic void setFetch(FetchType value)
value - allowed object is
FetchTypepublic String getMappedBy()
Stringpublic void setMappedBy(String value)
value - allowed object is
Stringpublic OneToMany clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||