|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bm.introspectors.relations.AbstractRelation
com.bm.introspectors.relations.OneToManyReleation
public class OneToManyReleation
Represents a OneToMany relelation.
Constructor Summary | |
---|---|
OneToManyReleation(java.lang.Class sourceClass,
java.lang.Class targetClass,
Property sourceProperty,
Property targetProperty,
javax.persistence.OneToMany annotation)
Default constructor. |
Method Summary | |
---|---|
RelationType |
getReleationType()
Returns the type of the relation. |
Methods inherited from class com.bm.introspectors.relations.AbstractRelation |
---|
getCascadeType, getFetchType, getSourceClass, getSourceProperty, getTargetClass, getTargetKeyProperty, getTargetProperty, isCascadeOnDelete, isUnidirectional, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.bm.introspectors.relations.EntityReleationInfo |
---|
getTargetKeyProperty, isCascadeOnDelete, isUnidirectional |
Constructor Detail |
---|
public OneToManyReleation(java.lang.Class sourceClass, java.lang.Class targetClass, Property sourceProperty, Property targetProperty, javax.persistence.OneToMany annotation)
sourceClass
- - the type of the source entity beantargetClass
- - the type of the target entity beansourceProperty
- - the property of the source entity beantargetProperty
- - the property of the target entity beanannotation
- -
the annotation (with values)Method Detail |
---|
public RelationType getReleationType()
getReleationType
in interface EntityReleationInfo
EntityReleationInfo.getReleationType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |