|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.entities.AttributeTypeFactory
public class AttributeTypeFactory
AttributeTypeFactory contains constants for creating AttributeTypes
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(java.lang.String name,
int sqlType,
java.lang.String objectType)
Create an instance of AttributeType. |
Field Detail |
---|
public static final AttributeType BOOLEAN_ATTRIBUTE_TYPE
public static final AttributeType BYTE_ATTRIBUTE_TYPE
public static final AttributeType CHAR_ATTRIBUTE_TYPE
public static final AttributeType DOUBLE_ATTRIBUTE_TYPE
public static final AttributeType FLOAT_ATTRIBUTE_TYPE
public static final AttributeType INT_ATTRIBUTE_TYPE
public static final AttributeType LONG_ATTRIBUTE_TYPE
public static final AttributeType SHORT_ATTRIBUTE_TYPE
public static final AttributeType STRING_ATTRIBUTE_TYPE
public static final AttributeType OBJECT_ATTRIBUTE_TYPE
public static final AttributeType STRING_ARRAY_ATTRIBUTE_TYPE
public static final AttributeType OBJECT_ARRAY_ATTRIBUTE_TYPE
public static final AttributeType INT_ARRAY_ATTRIBUTE_TYPE
public static final AttributeType DOUBLE_ARRAY_ATTRIBUTE_TYPE
public static final AttributeType LONG_ARRAY_ATTRIBUTE_TYPE
public static final AttributeType NULL_ATTRIBUTE_TYPE
public static final AttributeType DATE_ATTRIBUTE_TYPE
public static final AttributeType COLOR_STRING_ATTRIBUTE_TYPE
public static final AttributeType TIME_ATTRIBUTE_TYPE
public static final AttributeType TIMESTAMP_ATTRIBUTE_TYPE
Constructor Detail |
---|
public AttributeTypeFactory()
Method Detail |
---|
public AttributeTypeInterface createAttributeType(java.lang.String name, int sqlType, java.lang.String objectType)
AttributeTypeFactoryInterface
createAttributeType
in interface AttributeTypeFactoryInterface
name
- name associated with the AttributeTypesqlType
- sql typeobjectType
- 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
Types
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |