com.spss.psapi.core

Class ParameterStorage



  • public final class ParameterStorage
    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 Detail

      • UNKNOWN

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

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

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

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

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

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

        public static final ParameterStorage TIMESTAMP
        Indicates that the storage type is a combined time and date type.
    • Method Detail

      • getStorageClass

        public java.lang.Class getStorageClass()
        Returns the Java class that parameter values with this storage will be returned as.
        Returns:
        the Java class that parameter values with this storage will be returned as
      • getEnum

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

(C) Copyright IBM Corp. 1994, 2015. All Rights Reserved.