public class FeatureTypeImpl extends ComplexTypeImpl implements FeatureType
identifiedbinding, description, isAbstract, name, restrictions, superType, userData| Constructor and Description |
|---|
FeatureTypeImpl(Name name,
Collection<PropertyDescriptor> schema,
GeometryDescriptor defaultGeometry,
boolean isAbstract,
List<Filter> restrictions,
AttributeType superType,
InternationalString description) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Override of equals.
|
CoordinateReferenceSystem |
getCoordinateReferenceSystem()
The coordinate reference system of the feature.
|
GeometryDescriptor |
getGeometryDescriptor()
Describe the default geometric attribute for this feature.
|
int |
hashCode()
Override of hashcode.
|
getBinding, getDescriptor, getDescriptor, getDescriptors, isInline, toStringcreateDefaultValue, getSuper, isIdentified, parsegetDescription, getName, getRestrictions, getUserData, isAbstractisIdentifiedgetBinding, getDescriptor, getDescriptor, getDescriptors, isInlinegetSupergetDescription, getName, getRestrictions, getUserData, isAbstractpublic FeatureTypeImpl(Name name, Collection<PropertyDescriptor> schema, GeometryDescriptor defaultGeometry, boolean isAbstract, List<Filter> restrictions, AttributeType superType, InternationalString description)
public CoordinateReferenceSystem getCoordinateReferenceSystem()
FeatureTypeThis value is derived from the default geometry attribute:
((GeometryType)getDefaultGeometry().getType()).getCRS();
This method will return null in the case where no default geometric attribute
is defined.
getCoordinateReferenceSystem in interface FeatureTypenull.public GeometryDescriptor getGeometryDescriptor()
FeatureTypeThis method returns null in the case where no such attribute exists.
getGeometryDescriptor in interface FeatureTypenull.public boolean equals(Object o)
AttributeTypeImplequals in interface PropertyTypeequals in class ComplexTypeImplo - the object to be tested for equality.public int hashCode()
AttributeTypeImplhashCode in interface PropertyTypehashCode in class AttributeTypeImplCopyright © 1996–2021 Geotools. All rights reserved.