com.spss.psapi.data

Enum GeometryType

  • java.lang.Object
    • java.lang.Enum<GeometryType>
      • com.spss.psapi.data.GeometryType
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<GeometryType>


    public enum GeometryType
    extends java.lang.Enum<GeometryType>
    Defines the different categories of geo objects.
    Since:
    PSAPI 17.0
    Author:
    Julian Clinton
    See Also:
    Column, DataModel, GeoType
    • Enum Constant Summary

      Enum Constants 
      Enum Constant and Description
      LineString
      Defines that the values describe lines.
      MultiLineString
      Defines that the values describe multiple lines.
      MultiPoint
      Defines that the values describe multiple points.
      MultiPolygon
      Defines that the values describe multiple polygons.
      Point
      Defines that the values describe points.
      Polygon
      Defines that the values describe polygons.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      int getDepth()
      Returns the list depth that this geometry type uses.
      static GeometryType valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static GeometryType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • Point

        public static final GeometryType Point
        Defines that the values describe points.
      • MultiPoint

        public static final GeometryType MultiPoint
        Defines that the values describe multiple points.
      • LineString

        public static final GeometryType LineString
        Defines that the values describe lines.
      • MultiLineString

        public static final GeometryType MultiLineString
        Defines that the values describe multiple lines.
      • Polygon

        public static final GeometryType Polygon
        Defines that the values describe polygons.
      • MultiPolygon

        public static final GeometryType MultiPolygon
        Defines that the values describe multiple polygons.
    • Method Detail

      • values

        public static GeometryType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (GeometryType c : GeometryType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static GeometryType valueOf(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getDepth

        public int getDepth()
        Returns the list depth that this geometry type uses.
        Returns:
        the list depth

Copyright © 2014 Integral Solutions Ltd. All Rights Reserved.