public interface AssociationType extends PropertyType
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.
Modifier and Type | Method and Description |
---|---|
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 . |
equals, getDescription, getName, getRestrictions, getUserData, hashCode, isAbstract
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
Copyright © 1996–2019 Geotools. All rights reserved.