|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openejb.jee.jpa.ManyToMany
public class ManyToMany
| Field Summary | |
|---|---|
protected AccessType |
access
|
protected CascadeType |
cascade
|
protected FetchType |
fetch
|
protected JoinTable |
joinTable
|
protected MapKey |
mapKey
|
protected List<AttributeOverride> |
mapKeyAttributeOverride
|
protected MapKeyClass |
mapKeyClass
|
protected MapKeyColumn |
mapKeyColumn
|
protected EnumType |
mapKeyEnumerated
|
protected List<MapKeyJoinColumn> |
mapKeyJoinColumn
|
protected TemporalType |
mapKeyTemporal
|
protected String |
mappedBy
|
protected String |
name
|
protected String |
orderBy
|
protected OrderColumn |
orderColumn
|
protected RelationField |
relatedField
|
protected boolean |
syntheticField
|
protected String |
targetEntity
|
| Constructor Summary | |
|---|---|
ManyToMany()
|
|
| Method Summary | |
|---|---|
AccessType |
getAccess()
Gets the value of the access property. |
CascadeType |
getCascade()
Gets the value of the cascade property. |
FetchType |
getFetch()
Gets the value of the fetch property. |
List<JoinColumn> |
getJoinColumn()
|
JoinTable |
getJoinTable()
Gets the value of the joinTable property. |
Object |
getKey()
Gets the immutable key for this object. |
MapKey |
getMapKey()
Gets the value of the mapKey property. |
List<AttributeOverride> |
getMapKeyAttributeOverride()
Gets the value of the mapKeyAttributeOverride property. |
MapKeyClass |
getMapKeyClass()
Gets the value of the mapKeyClass property. |
MapKeyColumn |
getMapKeyColumn()
Gets the value of the mapKeyColumn property. |
EnumType |
getMapKeyEnumerated()
Gets the value of the mapKeyEnumerated property. |
List<MapKeyJoinColumn> |
getMapKeyJoinColumn()
Gets the value of the mapKeyJoinColumn property. |
TemporalType |
getMapKeyTemporal()
Gets the value of the mapKeyTemporal 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. |
OrderColumn |
getOrderColumn()
Gets the value of the orderColumn property. |
RelationField |
getRelatedField()
This is only used for xml converters and will normally return null. |
String |
getTargetEntity()
Gets the value of the targetEntity property. |
boolean |
isSyntheticField()
This is only used for xml converters and will normally return false. |
void |
setAccess(AccessType value)
Sets the value of the access 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 |
setMapKeyClass(MapKeyClass value)
Sets the value of the mapKeyClass property. |
void |
setMapKeyColumn(MapKeyColumn value)
Sets the value of the mapKeyColumn property. |
void |
setMapKeyEnumerated(EnumType value)
Sets the value of the mapKeyEnumerated property. |
void |
setMapKeyTemporal(TemporalType value)
Sets the value of the mapKeyTemporal 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 |
setOrderColumn(OrderColumn value)
Sets the value of the orderColumn property. |
void |
setRelatedField(RelationField value)
Gets the field on the target entity for this relationship. |
void |
setSyntheticField(boolean syntheticField)
This is only used for xml converters and will normally return false. |
void |
setTargetEntity(String value)
Sets the value of the targetEntity property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String orderBy
protected OrderColumn orderColumn
protected MapKey mapKey
protected MapKeyClass mapKeyClass
protected TemporalType mapKeyTemporal
protected EnumType mapKeyEnumerated
protected List<AttributeOverride> mapKeyAttributeOverride
protected MapKeyColumn mapKeyColumn
protected List<MapKeyJoinColumn> mapKeyJoinColumn
protected JoinTable joinTable
protected CascadeType cascade
protected FetchType fetch
protected AccessType access
protected String mappedBy
protected String name
protected String targetEntity
protected RelationField relatedField
protected boolean syntheticField
| Constructor Detail |
|---|
public ManyToMany()
| Method Detail |
|---|
public String getOrderBy()
Stringpublic void setOrderBy(String value)
value - allowed object is
Stringpublic OrderColumn getOrderColumn()
OrderColumnpublic void setOrderColumn(OrderColumn value)
value - allowed object is
OrderColumnpublic MapKey getMapKey()
MapKeypublic void setMapKey(MapKey value)
value - allowed object is
MapKeypublic MapKeyClass getMapKeyClass()
MapKeyClasspublic void setMapKeyClass(MapKeyClass value)
value - allowed object is
MapKeyClasspublic TemporalType getMapKeyTemporal()
TemporalTypepublic void setMapKeyTemporal(TemporalType value)
value - allowed object is
TemporalTypepublic EnumType getMapKeyEnumerated()
EnumTypepublic void setMapKeyEnumerated(EnumType value)
value - allowed object is
EnumTypepublic List<AttributeOverride> getMapKeyAttributeOverride()
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 mapKeyAttributeOverride property.
For example, to add a new item, do as follows:
getMapKeyAttributeOverride().add(newItem);
Objects of the following type(s) are allowed in the list
AttributeOverride
public MapKeyColumn getMapKeyColumn()
MapKeyColumnpublic void setMapKeyColumn(MapKeyColumn value)
value - allowed object is
MapKeyColumnpublic List<MapKeyJoinColumn> getMapKeyJoinColumn()
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 mapKeyJoinColumn property.
For example, to add a new item, do as follows:
getMapKeyJoinColumn().add(newItem);
Objects of the following type(s) are allowed in the list
MapKeyJoinColumn
public JoinTable getJoinTable()
getJoinTable in interface RelationFieldJoinTablepublic void setJoinTable(JoinTable value)
setJoinTable in interface RelationFieldvalue - allowed object is
JoinTablepublic CascadeType getCascade()
getCascade in interface RelationFieldCascadeTypepublic void setCascade(CascadeType value)
setCascade in interface RelationFieldvalue - allowed object is
CascadeTypepublic FetchType getFetch()
getFetch in interface RelationFieldFetchTypepublic void setFetch(FetchType value)
setFetch in interface RelationFieldvalue - allowed object is
FetchTypepublic String getMappedBy()
getMappedBy in interface RelationFieldStringpublic void setMappedBy(String value)
setMappedBy in interface RelationFieldvalue - allowed object is
Stringpublic String getName()
getName in interface RelationFieldStringpublic void setName(String value)
setName in interface RelationFieldvalue - allowed object is
Stringpublic AccessType getAccess()
AccessTypepublic void setAccess(AccessType value)
value - allowed object is
AccessTypepublic String getTargetEntity()
getTargetEntity in interface RelationFieldStringpublic void setTargetEntity(String value)
setTargetEntity in interface RelationFieldvalue - allowed object is
Stringpublic List<JoinColumn> getJoinColumn()
getJoinColumn in interface RelationFieldpublic RelationField getRelatedField()
getRelatedField in interface RelationFieldpublic void setRelatedField(RelationField value)
setRelatedField in interface RelationFieldvalue - field on the target entity for this relationship.public boolean isSyntheticField()
isSyntheticField in interface RelationFieldpublic void setSyntheticField(boolean syntheticField)
setSyntheticField in interface RelationFieldpublic Object getKey()
Keyable
getKey in interface Keyable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||