com.spss.psapi.data

Class MeasureType



  • public final class MeasureType
    extends Enum
    This class enumerates the valid measures for columns in a DataModel.
    Since:
    PSAPI 1.0
    Version:
    1.0
    Author:
    Julian Clinton, Rob Duncan
    See Also:
    DataModel
    Specification Status:
    Under Development
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static MeasureType AUTOMATIC
      Indicates that the column value will be auto-selected as RANGE or DISCRETE according to its storage.
      static MeasureType COLLECTION
      Indicates that the column value should be interpreted as a collection of values.
      static MeasureType DISCRETE
      Indicates that the column value is like SET but can be treated as FLAG if there are only two values.
      static MeasureType FLAG
      Indicates that the column value is one of two values.
      static MeasureType GEOSPATIAL
      Indicates that the column value should be interpreted as a geospatial value.
      static MeasureType ORDERED_SET
      Indicates that the column value is like SET but with an implied order on the values.
      static MeasureType RANGE
      Indicates that the column value lies between two points on a scale.
      static MeasureType SET
      Indicates that the column value is one of a (small) set of discrete values.
      static MeasureType TYPELESS
      Indicates that the column can have any value compatible with its storage.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      static MeasureType getEnum(java.lang.String name)
      Returns the enumeration with the supplied name or null if no enumeration exists for the supplied name.
      static MeasureType[] getValues()
      Returns an array containing all the valid values for this enumeration class.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • AUTOMATIC

        public static final MeasureType AUTOMATIC
        Indicates that the column value will be auto-selected as RANGE or DISCRETE according to its storage.
      • RANGE

        public static final MeasureType RANGE
        Indicates that the column value lies between two points on a scale.
      • DISCRETE

        public static final MeasureType DISCRETE
        Indicates that the column value is like SET but can be treated as FLAG if there are only two values.
      • FLAG

        public static final MeasureType FLAG
        Indicates that the column value is one of two values.
      • SET

        public static final MeasureType SET
        Indicates that the column value is one of a (small) set of discrete values.
      • ORDERED_SET

        public static final MeasureType ORDERED_SET
        Indicates that the column value is like SET but with an implied order on the values.
      • TYPELESS

        public static final MeasureType TYPELESS
        Indicates that the column can have any value compatible with its storage.
      • COLLECTION

        public static final MeasureType COLLECTION
        Indicates that the column value should be interpreted as a collection of values.
      • GEOSPATIAL

        public static final MeasureType GEOSPATIAL
        Indicates that the column value should be interpreted as a geospatial value.
    • Method Detail

      • getEnum

        public static MeasureType getEnum(java.lang.String name)
        Returns the enumeration with the supplied name or null if no enumeration exists for the supplied name.
        Parameters:
        name - the enumeration name
        Returns:
        the enumeration with the supplied name or null
      • getValues

        public static MeasureType[] getValues()
        Returns an array containing all the valid values for this enumeration class.
        Returns:
        an array containing all the valid values for this enumeration class

Copyright © 2014 Integral Solutions Ltd. All Rights Reserved.