com.spss.psapi.data

Class StorageType



  • public final class StorageType
    extends Enum
    This class enumerates the valid storage types for columns in a DataModel or parameters.
    Since:
    PSAPI 1.0
    Version:
    1.0
    Author:
    Julian Clinton, Rob Duncan
    See Also:
    DataModel
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static StorageType DATE
      Indicates that the storage type is a date type.
      static StorageType INTEGER
      Indicates that the storage type is an integer.
      static StorageType LIST
      Indicates that the storage type is a list of primitive values.
      static StorageType REAL
      Indicates that the storage type is a floating point number.
      static StorageType STRING
      Indicates that the storage type is a string.
      static StorageType TIME
      Indicates that the storage type is a time type.
      static StorageType TIMESTAMP
      Indicates that the storage type is a combined time and date type.
      static StorageType UNKNOWN
      Indicates that the storage type is unknown.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      static StorageType getEnum(java.lang.String name)
      Returns the enumeration with the supplied name or null if no enumeration exists for the supplied name.
      static StorageType[] 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

      • UNKNOWN

        public static final StorageType UNKNOWN
        Indicates that the storage type is unknown.
      • STRING

        public static final StorageType STRING
        Indicates that the storage type is a string.
      • INTEGER

        public static final StorageType INTEGER
        Indicates that the storage type is an integer.
      • REAL

        public static final StorageType REAL
        Indicates that the storage type is a floating point number.
      • TIME

        public static final StorageType TIME
        Indicates that the storage type is a time type.
      • DATE

        public static final StorageType DATE
        Indicates that the storage type is a date type.
      • TIMESTAMP

        public static final StorageType TIMESTAMP
        Indicates that the storage type is a combined time and date type.
      • LIST

        public static final StorageType LIST
        Indicates that the storage type is a list of primitive values.
    • Method Detail

      • getEnum

        public static StorageType 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 StorageType[] 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.