|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AssociationType
The type of an association; used to describe kind of relationship between two entities.
The notion of an "association" is similar to that of an association in UML
and is used to model a relationship among two attributes. See the javadoc for
Association
for more info on the semantics of associations.
An association is used to relate one attribute to another. The type of the
association specifies the type of the related attribute with the
getRelatedType()
method.
Method Summary | |
---|---|
Class<?> |
getBinding()
Override of PropertyType.getBinding() which specifies that this
method should return getRelatedType().getBinding() , that is
it returns the binding of the related type. |
AttributeType |
getRelatedType()
The attribute type of the related attribute in the association. |
AssociationType |
getSuper()
Override of PropertyType.getSuper() which type narrows to
AssociationType . |
Methods inherited from interface PropertyType |
---|
equals, getDescription, getName, getRestrictions, getUserData, hashCode, isAbstract |
Method Detail |
---|
AssociationType getSuper()
PropertyType.getSuper()
which type narrows to
AssociationType
.
getSuper
in interface PropertyType
null
.PropertyType.getSuper()
AttributeType getRelatedType()
Class<?> getBinding()
PropertyType.getBinding()
which specifies that this
method should return getRelatedType().getBinding()
, that is
it returns the binding of the related type.
getBinding
in interface PropertyType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |