|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.prot.collections.novalueclass.persistence.orm.impl.OneToManyImpl
public class OneToManyImpl
| Field Summary | |
|---|---|
protected CascadeTypeImpl |
cascade
|
protected FetchType |
fetch
|
protected List<JoinColumn> |
joinColumn
|
protected JoinTableImpl |
joinTable
|
protected MapKeyImpl |
mapKey
|
protected String |
mappedBy
|
protected String |
name
|
protected String |
orderBy
|
protected String |
targetEntity
|
| Constructor Summary | |
|---|---|
OneToManyImpl()
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.persistence.orm.impl.OneToManyImpl instance. |
|
OneToManyImpl(OneToManyImpl o)
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.persistence.orm.impl.OneToManyImpl instance by copying a given instance. |
|
| Method Summary | |
|---|---|
OneToManyImpl |
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. |
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 MapKeyImpl mapKey
protected JoinTableImpl joinTable
protected List<JoinColumn> joinColumn
protected CascadeTypeImpl cascade
protected String name
protected String targetEntity
protected FetchType fetch
protected String mappedBy
| Constructor Detail |
|---|
public OneToManyImpl()
net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.persistence.orm.impl.OneToManyImpl instance.
public OneToManyImpl(OneToManyImpl o)
net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.persistence.orm.impl.OneToManyImpl instance by copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
public String getOrderBy()
OneToMany
getOrderBy in interface OneToManyStringpublic void setOrderBy(String value)
OneToMany
setOrderBy in interface OneToManyvalue - allowed object is
Stringpublic MapKey getMapKey()
OneToMany
getMapKey in interface OneToManyMapKeypublic void setMapKey(MapKey value)
OneToMany
setMapKey in interface OneToManyvalue - allowed object is
MapKeypublic JoinTable getJoinTable()
OneToMany
getJoinTable in interface OneToManyJoinTablepublic void setJoinTable(JoinTable value)
OneToMany
setJoinTable in interface OneToManyvalue - allowed object is
JoinTablepublic List<JoinColumn> getJoinColumn()
OneToMany
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
getJoinColumn in interface OneToManypublic CascadeType getCascade()
OneToMany
getCascade in interface OneToManyCascadeTypepublic void setCascade(CascadeType value)
OneToMany
setCascade in interface OneToManyvalue - allowed object is
CascadeTypepublic String getName()
OneToMany
getName in interface OneToManyStringpublic void setName(String value)
OneToMany
setName in interface OneToManyvalue - allowed object is
Stringpublic String getTargetEntity()
OneToMany
getTargetEntity in interface OneToManyStringpublic void setTargetEntity(String value)
OneToMany
setTargetEntity in interface OneToManyvalue - allowed object is
Stringpublic FetchType getFetch()
OneToMany
getFetch in interface OneToManyFetchTypepublic void setFetch(FetchType value)
OneToMany
setFetch in interface OneToManyvalue - allowed object is
FetchTypepublic String getMappedBy()
OneToMany
getMappedBy in interface OneToManyStringpublic void setMappedBy(String value)
OneToMany
setMappedBy in interface OneToManyvalue - allowed object is
String
protected static void copyJoinColumn(List<JoinColumn> source,
List<JoinColumn> target)
JoinColumn.
target - The target to copy source to.source - The source to copy from.
NullPointerException - if source or target is null.public OneToManyImpl clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||