01: package org.geotools.feature.iso.type;
02:
03: import java.util.Set;
04:
05: import org.opengis.feature.type.AttributeType;
06: import org.opengis.feature.type.GeometryType;
07: import org.opengis.feature.type.Name;
08: import org.opengis.referencing.crs.CoordinateReferenceSystem;
09: import org.opengis.util.InternationalString;
10:
11: import com.vividsolutions.jts.geom.GeometryFactory;
12:
13: public class GeometryTypeImpl extends AttributeTypeImpl implements
14: GeometryType {
15:
16: protected GeometryFactory geometryFactory;
17:
18: /**
19: * CoordianteSystem used by this GeometryAttributeType NOT used yet, needs
20: * to incorporate the functionality from the old GeometricAttributeType
21: */
22: private CoordinateReferenceSystem CRS;
23:
24: public GeometryTypeImpl(Name name, Class binding,
25: CoordinateReferenceSystem crs, boolean identified,
26: boolean isAbstract, Set restrictions,
27: AttributeType super Type, InternationalString description) {
28: super (name, binding, identified, isAbstract, restrictions,
29: super Type, description);
30: CRS = crs;
31: }
32:
33: public CoordinateReferenceSystem getCRS() {
34: return CRS;
35: }
36:
37: }
|