| java.lang.Object com.bm.introspectors.relations.AbstractRelation
All known Subclasses: com.bm.introspectors.relations.ManyToOneReleation, com.bm.introspectors.relations.OneToManyReleation,
AbstractRelation | abstract public class AbstractRelation implements EntityReleationInfo(Code) | | Abstract class for representation of relations.
author: Daniel Wiese |
AbstractRelation | public AbstractRelation(Class sourceClass, Class targetClass, Property sourceProperty, Property targetProperty, FetchType fetchType, CascadeType[] cascadeType)(Code) | | Default constructor.
Parameters: sourceClass - -the type of the source entity bean Parameters: targetClass - -the type of the target entity bean Parameters: sourceProperty - -the property of the source entity bean Parameters: targetProperty - -the property of the target entity bean Parameters: fetchType - -fetch type Parameters: cascadeType - -cascade type |
getCascadeType | public CascadeType[] getCascadeType()(Code) | | Returns the cascadeType.
Returns the cascadeType. |
getFetchType | public FetchType getFetchType()(Code) | | Returns the fetchType.
Returns the fetchType. |
getSourceClass | public Class getSourceClass()(Code) | | Returns the sourceClass.
Returns the sourceClass. |
getSourceProperty | public Property getSourceProperty()(Code) | | Returns the sourceProperty.
Returns the sourceProperty. |
getTargetClass | public Class getTargetClass()(Code) | | Returns the targetClass.
Returns the targetClass. |
getTargetKeyProperty | public Set<Property> getTargetKeyProperty()(Code) | | Returns the primary key property (or properties, in case of a composite key) for the
class that is target of the relation
primary key property / properties. |
getTargetProperty | public Property getTargetProperty()(Code) | | Returns the targetProperty.
Returns the targetProperty. |
isCascadeOnDelete | public boolean isCascadeOnDelete()(Code) | | True wenn the delete operatio is cascading.
when the delete operation is cascading |
isUnidirectional | public boolean isUnidirectional()(Code) | | If the preperty is unidirectional.
the isUnidirectional |
|
|