public class GeometryTypeImpl extends AttributeTypeImpl implements GeometryType
| Modifier and Type | Field and Description |
|---|---|
protected CoordinateReferenceSystem |
CRS |
identifiedbinding, 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, toStringgetBinding, getDescription, getName, getRestrictions, getUserData, isAbstractgetSuper, isIdentifiedgetBinding, getDescription, getName, getRestrictions, getUserData, isAbstractprotected CoordinateReferenceSystem CRS
public GeometryTypeImpl(Name name, Class binding, CoordinateReferenceSystem crs, boolean identified, boolean isAbstract, List<Filter> restrictions, AttributeType superType, InternationalString description)
public CoordinateReferenceSystem getCoordinateReferenceSystem()
GeometryTypeThis 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 GeometryTypepublic int hashCode()
AttributeTypeImplhashCode in interface PropertyTypehashCode in class AttributeTypeImplpublic boolean equals(Object other)
AttributeTypeImplequals in interface PropertyTypeequals in class AttributeTypeImplother - the object to be tested for equality.Copyright © 1996–2021 Geotools. All rights reserved.