Package org.apache.openejb.jee.jpa
Interface RelationField
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CascadeTypegetCascade()FetchTypegetFetch()List<JoinColumn>getJoinColumn()JoinTablegetJoinTable()StringgetMappedBy()StringgetName()RelationFieldgetRelatedField()This is only used for xml converters and will normally return null.StringgetTargetEntity()booleanisSyntheticField()This is only used for xml converters and will normally return false.voidsetCascade(CascadeType value)voidsetFetch(FetchType value)voidsetJoinTable(JoinTable value)voidsetMappedBy(String value)voidsetName(String value)voidsetRelatedField(RelationField value)Gets the field on the target entity for this relationship.voidsetSyntheticField(boolean syntheticField)This is only used for xml converters and will normally return false.voidsetTargetEntity(String value)
-
-
-
Method Detail
-
getJoinColumn
List<JoinColumn> getJoinColumn()
-
getJoinTable
JoinTable getJoinTable()
-
setJoinTable
void setJoinTable(JoinTable value)
-
getCascade
CascadeType getCascade()
-
setCascade
void setCascade(CascadeType value)
-
getFetch
FetchType getFetch()
-
setFetch
void setFetch(FetchType value)
-
getMappedBy
String getMappedBy()
-
setMappedBy
void setMappedBy(String value)
-
getName
String getName()
-
setName
void setName(String value)
-
getTargetEntity
String getTargetEntity()
-
setTargetEntity
void setTargetEntity(String value)
-
getRelatedField
RelationField getRelatedField()
This is only used for xml converters and will normally return null. Gets the field on the target entity for this relationship.- Returns:
- the field on the target entity for this relationship.
-
setRelatedField
void setRelatedField(RelationField value)
Gets the field on the target entity for this relationship.- Parameters:
value- field on the target entity for this relationship.
-
isSyntheticField
boolean isSyntheticField()
This is only used for xml converters and will normally return false. A true value indicates that this field was generated for CMR back references.- Returns:
- true if this field was generated for CMR back references.
-
setSyntheticField
void setSyntheticField(boolean syntheticField)
This is only used for xml converters and will normally return false. A true value indicates that this field was generated for CMR back references.
-
-