public class GeometryTypeImpl extends AttributeTypeImpl implements GeometryType
Modifier and Type | Field and Description |
---|---|
protected CoordinateReferenceSystem |
CRS |
identified
binding, description, isAbstract, name, restrictions, superType, userData
Constructor and Description |
---|
GeometryTypeImpl(Name name,
Class binding,
CoordinateReferenceSystem crs,
boolean identified,
boolean isAbstract,
List<Filter> restrictions,
AttributeType superType,
InternationalString description) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other)
Override of equals.
|
CoordinateReferenceSystem |
getCoordinateReferenceSystem()
The coordinate reference system in which geometries are defined.
|
int |
hashCode()
Override of hashcode.
|
createDefaultValue, getSuper, isIdentified, parse, toString
getBinding, getDescription, getName, getRestrictions, getUserData, isAbstract
getSuper, isIdentified
getBinding, getDescription, getName, getRestrictions, getUserData, isAbstract
protected CoordinateReferenceSystem CRS
public GeometryTypeImpl(Name name, Class binding, CoordinateReferenceSystem crs, boolean identified, boolean isAbstract, List<Filter> restrictions, AttributeType superType, InternationalString description)
public CoordinateReferenceSystem getCoordinateReferenceSystem()
GeometryType
This method may return null
, but this should only occur in cases where the
actual crs is not known. A common case is when a shapefile does not have an accompanied .prj
file.
getCoordinateReferenceSystem
in interface GeometryType
public int hashCode()
AttributeTypeImpl
hashCode
in interface PropertyType
hashCode
in class AttributeTypeImpl
public boolean equals(Object other)
AttributeTypeImpl
equals
in interface PropertyType
equals
in class AttributeTypeImpl
other
- the object to be tested for equality.Copyright © 1996–2023 Geotools. All rights reserved.