com.spss.psapi.core

Class PropertyType



  • public final class PropertyType
    extends Enum
    This class enumerates the valid types for Property values.
    Since:
    PSAPI 1.0
    Version:
    1.1
    Author:
    Julian Clinton
    • Field Detail

      • STRING

        public static final PropertyType STRING
        Indicates that the value should be a String.
      • INTEGER

        public static final PropertyType INTEGER
        Indicates that the value should be an Integer.
      • DOUBLE

        public static final PropertyType DOUBLE
        Indicates that the value should be a Double.
      • BOOLEAN

        public static final PropertyType BOOLEAN
        Indicates that the value should be a Boolean.
      • ENUM

        public static final PropertyType ENUM
        Indicates that the value should be a String from a fixed set of values.
      • DATE

        public static final PropertyType DATE
        Indicates that the value should be a Date.
      • STRUCTURED

        public static final PropertyType STRUCTURED
        Indicates that the value should be an opaque structured object.
      • LIST_STRING

        public static final PropertyType LIST_STRING
        Indicates that the value should be a List containing String values.
      • LIST_INTEGER

        public static final PropertyType LIST_INTEGER
        Indicates that the value should be a List containing integer values.
      • LIST_DOUBLE

        public static final PropertyType LIST_DOUBLE
        Indicates that the value should be a List containing double values.
      • LIST_BOOLEAN

        public static final PropertyType LIST_BOOLEAN
        Indicates that the value should be a List containing boolean values.
      • LIST_ENUM

        public static final PropertyType LIST_ENUM
        Indicates that the value should be a List containing Strings representing a fixed set of Enum values.
      • LIST_DATE

        public static final PropertyType LIST_DATE
        Indicates that the value should be a List containing Date values.
      • LIST_STRUCTURED

        public static final PropertyType LIST_STRUCTURED
        Indicates that the value should be a List containing structured values.
    • Method Detail

      • getEnum

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