com.sas.entities
Class AttributeTypeFactory

java.lang.Object
  |
  +--com.sas.entities.AttributeTypeFactory
All Implemented Interfaces:
AttributeTypeFactoryInterface

public class AttributeTypeFactory
extends java.lang.Object
implements AttributeTypeFactoryInterface

AttributeTypeFactory contains constants for creating AttributeTypes

See Also:
AttributeTypeInterface

Field Summary
static AttributeType BOOLEAN_ATTRIBUTE_TYPE
          Constant for creating a boolean AttributeType
static AttributeType BYTE_ATTRIBUTE_TYPE
          Constant for creating a byte AttributeType
static AttributeType CHAR_ATTRIBUTE_TYPE
          Constant for creating a char AttributeType
static AttributeType COLOR_STRING_ATTRIBUTE_TYPE
          Constant for creating special color AttributeType (sql type = Types.VARCHAR)
static AttributeType DATE_ATTRIBUTE_TYPE
          Constant for creating a Date AttributeType (sql type = Types.DATE)
static AttributeType DOUBLE_ARRAY_ATTRIBUTE_TYPE
          Constant for creating a double array AttributeType
static AttributeType DOUBLE_ATTRIBUTE_TYPE
          Constant for creating a double AttributeType
static AttributeType FLOAT_ATTRIBUTE_TYPE
          Constant for creating a float AttributeType
static AttributeType INT_ARRAY_ATTRIBUTE_TYPE
          Constant for creating an int array AttributeType
static AttributeType INT_ATTRIBUTE_TYPE
          Constant for creating an int AttributeType
static AttributeType LONG_ARRAY_ATTRIBUTE_TYPE
          Constant for creating a long array AttributeType
static AttributeType LONG_ATTRIBUTE_TYPE
          Constant for creating a long AttributeType
static AttributeType NULL_ATTRIBUTE_TYPE
          Constant for creating a long array AttributeType
static AttributeType OBJECT_ARRAY_ATTRIBUTE_TYPE
          Constant for creating a java.lang.Object array AttributeType
static AttributeType OBJECT_ATTRIBUTE_TYPE
          Constant for creating a java.lang.Object AttributeType
static AttributeType SHORT_ATTRIBUTE_TYPE
          Constant for creating a short AttributeType
static AttributeType STRING_ARRAY_ATTRIBUTE_TYPE
          Constant for creating a java.lang.String array AttributeType
static AttributeType STRING_ATTRIBUTE_TYPE
          Constant for creating a java.lang.String AttributeType
static AttributeType TIME_ATTRIBUTE_TYPE
          Constant for creating Time AttributeType (sql type = Types.TIME)
static AttributeType TIMESTAMP_ATTRIBUTE_TYPE
          Constant for creating TimeStamp AttributeType (sql type = Types.TIMESTAMP)
 
Constructor Summary
AttributeTypeFactory()
           
 
Method Summary
 AttributeTypeInterface createAttributeType(String name, int sqlType, String objectType)
          Create an instance of AttributeType.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BOOLEAN_ATTRIBUTE_TYPE

public static final AttributeType BOOLEAN_ATTRIBUTE_TYPE
Constant for creating a boolean AttributeType

BYTE_ATTRIBUTE_TYPE

public static final AttributeType BYTE_ATTRIBUTE_TYPE
Constant for creating a byte AttributeType

CHAR_ATTRIBUTE_TYPE

public static final AttributeType CHAR_ATTRIBUTE_TYPE
Constant for creating a char AttributeType

DOUBLE_ATTRIBUTE_TYPE

public static final AttributeType DOUBLE_ATTRIBUTE_TYPE
Constant for creating a double AttributeType

FLOAT_ATTRIBUTE_TYPE

public static final AttributeType FLOAT_ATTRIBUTE_TYPE
Constant for creating a float AttributeType

INT_ATTRIBUTE_TYPE

public static final AttributeType INT_ATTRIBUTE_TYPE
Constant for creating an int AttributeType

LONG_ATTRIBUTE_TYPE

public static final AttributeType LONG_ATTRIBUTE_TYPE
Constant for creating a long AttributeType

SHORT_ATTRIBUTE_TYPE

public static final AttributeType SHORT_ATTRIBUTE_TYPE
Constant for creating a short AttributeType

STRING_ATTRIBUTE_TYPE

public static final AttributeType STRING_ATTRIBUTE_TYPE
Constant for creating a java.lang.String AttributeType

OBJECT_ATTRIBUTE_TYPE

public static final AttributeType OBJECT_ATTRIBUTE_TYPE
Constant for creating a java.lang.Object AttributeType

STRING_ARRAY_ATTRIBUTE_TYPE

public static final AttributeType STRING_ARRAY_ATTRIBUTE_TYPE
Constant for creating a java.lang.String array AttributeType

OBJECT_ARRAY_ATTRIBUTE_TYPE

public static final AttributeType OBJECT_ARRAY_ATTRIBUTE_TYPE
Constant for creating a java.lang.Object array AttributeType

INT_ARRAY_ATTRIBUTE_TYPE

public static final AttributeType INT_ARRAY_ATTRIBUTE_TYPE
Constant for creating an int array AttributeType

DOUBLE_ARRAY_ATTRIBUTE_TYPE

public static final AttributeType DOUBLE_ARRAY_ATTRIBUTE_TYPE
Constant for creating a double array AttributeType

LONG_ARRAY_ATTRIBUTE_TYPE

public static final AttributeType LONG_ARRAY_ATTRIBUTE_TYPE
Constant for creating a long array AttributeType

NULL_ATTRIBUTE_TYPE

public static final AttributeType NULL_ATTRIBUTE_TYPE
Constant for creating a long array AttributeType

DATE_ATTRIBUTE_TYPE

public static final AttributeType DATE_ATTRIBUTE_TYPE
Constant for creating a Date AttributeType (sql type = Types.DATE)

COLOR_STRING_ATTRIBUTE_TYPE

public static final AttributeType COLOR_STRING_ATTRIBUTE_TYPE
Constant for creating special color AttributeType (sql type = Types.VARCHAR)

TIME_ATTRIBUTE_TYPE

public static final AttributeType TIME_ATTRIBUTE_TYPE
Constant for creating Time AttributeType (sql type = Types.TIME)

TIMESTAMP_ATTRIBUTE_TYPE

public static final AttributeType TIMESTAMP_ATTRIBUTE_TYPE
Constant for creating TimeStamp AttributeType (sql type = Types.TIMESTAMP)
Constructor Detail

AttributeTypeFactory

public AttributeTypeFactory()
Method Detail

createAttributeType

public AttributeTypeInterface createAttributeType(String name,
                                                  int sqlType,
                                                  String objectType)
Description copied from interface: AttributeTypeFactoryInterface
Create an instance of AttributeType.
Specified by:
createAttributeType in interface AttributeTypeFactoryInterface
Following copied from interface: com.sas.entities.AttributeTypeFactoryInterface
Parameters:
name - name associated with the AttributeType
sqlType - sql type
objectType - the component type (if the AttributeType is defined as an array) or the classname of the object if the AttributeType is defined as Types.OBJECT
Returns:
instance of AttributeType
See Also:
Types




Copyright © 2005 SAS Institute Inc. All Rights Reserved.
javadoc generated Thu, 16 Feb 2006 01:58:41