| java.lang.Object com.vividsolutions.jump.feature.FeatureSchema
addAttribute | public void addAttribute(String attributeName, AttributeType attributeType)(Code) | | Adds an attribute with the given case-sensitive name.
throws: AssertionFailedException - if a second Geometry is being added |
equals | public boolean equals(Object other)(Code) | | Returns whether the two FeatureSchemas have the same attribute names
with the same types and in the same order.
|
equals | public boolean equals(Object other, boolean orderMatters)(Code) | | Returns whether the two FeatureSchemas have the same attribute names
with the same types and (optionally) in the same order.
|
getAttributeCount | public int getAttributeCount()(Code) | | Returns the total number of spatial and non-spatial attributes in this
FeatureSchema. There are 0 or 1 spatial attributes and 0 or more
non-spatial attributes.
|
getAttributeIndex | public int getAttributeIndex(String attributeName)(Code) | | Returns the zero-based index of the attribute with the given name
(case-sensitive)
throws: IllegalArgumentException - if attributeName is unrecognized |
getAttributeName | public String getAttributeName(int attributeIndex)(Code) | | Returns the (case-sensitive) name of the attribute at the given zero-based index.
|
getAttributeType | public AttributeType getAttributeType(int attributeIndex)(Code) | | Returns whether the attribute at the given zero-based index is a string,
integer, double, etc.
|
getAttributeType | public AttributeType getAttributeType(String attributeName)(Code) | | Returns whether the attribute with the given name (case-sensitive) is a string,
integer, double, etc.
|
getGeometryIndex | public int getGeometryIndex()(Code) | | Returns the attribute index of the Geometry, or -1 if there is no
Geometry attribute
|
hasAttribute | public boolean hasAttribute(String attributeName)(Code) | | Returns whether this FeatureSchema has an attribute with this name
Parameters: attributeName - the name to look up whether this FeatureSchema has an attribute with this name |
setCoordinateSystem | public FeatureSchema setCoordinateSystem(CoordinateSystem coordinateSystem)(Code) | | Sets the CoordinateSystem associated with this FeatureSchema, but does
not perform any reprojection.
this FeatureSchema |
|
|