org.opengis.feature.type
Interface AssociationType

All Superinterfaces:
PropertyType
All Known Implementing Classes:
AssociationTypeImpl

public interface AssociationType
extends PropertyType

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.

Author:
Jody Garnett, Refractions Research, Inc., Justin Deoliveira, The Open Planning Project

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

getSuper

AssociationType getSuper()
Override of PropertyType.getSuper() which type narrows to AssociationType.

Specified by:
getSuper in interface PropertyType
Returns:
The parent or super type, or null.
See Also:
PropertyType.getSuper()

getRelatedType

AttributeType getRelatedType()
The attribute type of the related attribute in the association.

Returns:
The type of the related attribute.

getBinding

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.

Specified by:
getBinding in interface PropertyType
Returns:
The binding of the property type.


Copyright © 1996-2014 Geotools. All Rights Reserved.