Package org.geotools.api.feature.type
Interface AttributeType
-
- All Superinterfaces:
PropertyType
- All Known Subinterfaces:
ChoiceAttributeType
,ChoiceGeometryType
,ComplexType
,FeatureType
,GeometryType
,SimpleFeatureType
- All Known Implementing Classes:
AbstractLazyAttributeTypeImpl
,AbstractLazyComplexTypeImpl
,AttributeTypeImpl
,AttributeTypeProxy
,ChoiceGeometryTypeImpl
,ComplexFeatureTypeImpl
,ComplexTypeImpl
,ComplexTypeProxy
,FeatureTypeImpl
,FeatureTypeProxy
,GeometryTypeImpl
,GeometryTypeProxy
,NonFeatureTypeProxy
,SimpleFeatureTypeImpl
,UniqueNameFeatureTypeImpl
,VPFFeatureClass
,VPFFeatureType
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.Identifiableness
An attribute may be "identifiable". When this is the case the attribute has a unique identifier associated with it. SeeAttribute.getIdentifier()
. The type of the attribute specifies whether it is identifiable or not (isIdentified()
.- Author:
- Jody Garnett, Refractions Research, Justin Deoliveira, The Open Planning Project
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AttributeType
getSuper()
Override ofPropertyType.getSuper()
which type narrows toAttributeType
.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.getIdentifier()
must return a value, and cannot benull
.- Returns:
true
if the attribute is identified, otherwisefalse
.- See Also:
Attribute.getIdentifier()
-
getSuper
AttributeType getSuper()
Override ofPropertyType.getSuper()
which type narrows toAttributeType
.- Specified by:
getSuper
in interfacePropertyType
- Returns:
- The parent or super type, or
null
. - See Also:
PropertyType.getSuper()
-
-