org.opengis.feature.type
Interface AttributeType

All Superinterfaces:
PropertyType
All Known Subinterfaces:
ChoiceAttributeType, ChoiceGeometryType, ComplexType, FeatureType, GeometryType, SimpleFeatureType
All Known Implementing Classes:
AbstractLazyAttributeTypeImpl, AbstractLazyComplexTypeImpl, AttributeTypeImpl, ChoiceGeometryTypeImpl, ComplexFeatureTypeImpl, ComplexTypeImpl, FeatureTypeImpl, GeometryTypeImpl, NonFeatureTypeProxy, SimpleFeatureTypeImpl, UniqueNameFeatureTypeImpl

public interface AttributeType
extends PropertyType

The type of an attribute.

An attribute is similar to the notion of a UML attribute, or a field of a java object. See the javadoc of Attribute for more info on the semantics of attributes.

Identifiablily

An attribute may be "identifiable". When this is the case the attribute has a unique identifier associated with it. See Attribute#getID(). The type of the attribute specifies wether it is identifiable or not (isIdentified().

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

Method Summary
 AttributeType getSuper()
          Override of PropertyType.getSuper() which type narrows to AttributeType.
 boolean isIdentified()
          Indicates if the type is identified or not.
 
Methods inherited from interface PropertyType
equals, getBinding, getDescription, getName, getRestrictions, getUserData, hashCode, isAbstract
 

Method Detail

isIdentified

boolean isIdentified()
Indicates if the type is identified or not.

If this method returns true, then the corresponding attribute must have a unique identifier, ie, Attribute#getID() must return a value, and cannot be null.

Returns:
true if the attribute is identified, otherwise false.
See Also:
Attribute#getID()

getSuper

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

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


Copyright © 1996-2014 Geotools. All Rights Reserved.