|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SimpleFeatureType
Defines a simple feature model of attribute in a prescribed order.
This interface also defines several helper methods that only make sense given the above constraints.
For reference these are the limitations of a SimpleFeatureType:
Method Summary | |
---|---|
List<AssociationDescriptor> |
associations()
Associations not permitted in SimpleFeatureType. |
List<AttributeDescriptor> |
attributes()
Attributes defining this SimpleFeatureType. |
AttributeDescriptor |
getAttribute(int indedx)
|
AttributeDescriptor |
getAttribute(String name)
|
int |
getAttributeCount()
Number of available attributes |
List<AttributeDescriptor> |
getAttributes()
List of named attributes in prescribed order |
GeometryType |
getDefaultGeometryType()
|
List<StructuralDescriptor> |
getProperties()
List of named attribute descriptors in prescribed order. |
SimpleFeatureType |
getSuper()
Must be null for truly simple content. |
AttributeType |
getType(int index)
AttribtueType indicated by index |
AttributeType |
getType(String name)
Retrive attributeType by name. |
List<AttributeType> |
getTypes()
Types are returned in the prescribed index order. |
int |
indexOf(String name)
The index of the AttributeType with the provided name. |
Methods inherited from interface FeatureType |
---|
getCRS, getDefaultGeometry |
Methods inherited from interface ComplexType |
---|
getBinding, isInline |
Methods inherited from interface AttributeType |
---|
getOperations, getRestrictions, isAbstract, isIdentified |
Methods inherited from interface PropertyType |
---|
equals, getDescription, getName, getUserData, hashCode, putUserData |
Method Detail |
---|
SimpleFeatureType getSuper()
null
for truly simple content.
getSuper
in interface AttributeType
getSuper
in interface FeatureType
getSuper
in interface PropertyType
null
, as no super types are allowedList<AttributeType> getTypes()
GeometryType getDefaultGeometryType()
List<AssociationDescriptor> associations()
associations
in interface ComplexType
List<AttributeDescriptor> attributes()
attributes
in interface ComplexType
List<StructuralDescriptor> getProperties()
getProperties
in interface ComplexType
List<AttributeDescriptor> getAttributes()
AttributeType getType(String name)
If you do run into a conflict (the same local part used in two namespace) please use a complete Qualified name to disambiguate.
AttributeDescriptor getAttribute(String name)
AttributeType getType(int index)
AttributeDescriptor getAttribute(int indedx)
int indexOf(String name)
name
-
int getAttributeCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |