Class FeatureTypeImpl

    • Method Detail

      • getCoordinateReferenceSystem

        public CoordinateReferenceSystem getCoordinateReferenceSystem()
        Description copied from interface: FeatureType
        The coordinate reference system of the feature.

        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.

        Specified by:
        getCoordinateReferenceSystem in interface FeatureType
        Returns:
        The coordinate referencing system, or null.
      • getGeometryDescriptor

        public GeometryDescriptor getGeometryDescriptor()
        Description copied from interface: FeatureType
        Describe the default geometric attribute for this feature.

        This method returns null in the case where no such attribute exists.

        Specified by:
        getGeometryDescriptor in interface FeatureType
        Returns:
        The descriptor of the default geometry attribute, or null.
      • equals

        public boolean equals​(Object o)
        Description copied from class: AttributeTypeImpl
        Override of equals.
        Specified by:
        equals in interface PropertyType
        Overrides:
        equals in class ComplexTypeImpl
        Parameters:
        o - the object to be tested for equality.
        Returns:
        whether other is equal to this attribute Type.