org.geotools.feature.type
Class GeometryTypeImpl
Object
PropertyTypeImpl
AttributeTypeImpl
GeometryTypeImpl
- All Implemented Interfaces:
- AttributeType, GeometryType, PropertyType
public class GeometryTypeImpl
- extends AttributeTypeImpl
- implements GeometryType
AttributeType for hold geometry implementations, maintains CRS information.
CRS
protected CoordinateReferenceSystem CRS
GeometryTypeImpl
public GeometryTypeImpl(Name name,
Class binding,
CoordinateReferenceSystem crs,
boolean identified,
boolean isAbstract,
List<Filter> restrictions,
AttributeType superType,
InternationalString description)
getCoordinateReferenceSystem
public CoordinateReferenceSystem getCoordinateReferenceSystem()
- Description copied from interface:
GeometryType
- The coordinate reference system in which geometries are defined.
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.
- Specified by:
getCoordinateReferenceSystem
in interface GeometryType
equals
public boolean equals(Object other)
- Description copied from class:
AttributeTypeImpl
- Override of equals.
- Specified by:
equals
in interface PropertyType
- Overrides:
equals
in class AttributeTypeImpl
- Parameters:
other
- the object to be tested for equality.
- Returns:
- whether other is equal to this attribute Type.
Copyright © 1996-2014 Geotools. All Rights Reserved.