public class FeatureTypeImpl extends ComplexTypeImpl implements FeatureType
identified
binding, 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, toString
createDefaultValue, getSuper, isIdentified, parse
getDescription, getName, getRestrictions, getUserData, isAbstract
isIdentified
getBinding, getDescriptor, getDescriptor, getDescriptors, isInline
getSuper
getDescription, getName, getRestrictions, getUserData, isAbstract
public FeatureTypeImpl(Name name, Collection<PropertyDescriptor> schema, GeometryDescriptor defaultGeometry, boolean isAbstract, List<Filter> restrictions, AttributeType superType, InternationalString description)
public CoordinateReferenceSystem getCoordinateReferenceSystem()
FeatureType
This 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 FeatureType
null
.public GeometryDescriptor getGeometryDescriptor()
FeatureType
This method returns null
in the case where no such attribute exists.
getGeometryDescriptor
in interface FeatureType
null
.public boolean equals(Object o)
AttributeTypeImpl
equals
in interface PropertyType
equals
in class ComplexTypeImpl
o
- the object to be tested for equality.public int hashCode()
AttributeTypeImpl
hashCode
in interface PropertyType
hashCode
in class AttributeTypeImpl
Copyright © 1996–2023 Geotools. All rights reserved.