All Packages Class Hierarchy This Package Previous Next Index
Interface com.ibm.beans.tools.dataFormatWizard.PrimitiveTypeAttribute
- public interface interface PrimitiveTypeAttribute
- extends PropertyChangeAnnouncer
The PrimitiveTypeAttribute interface is used by the SchemaItem
subclasses which have a Java primitive type associated with them.
- See Also:
- SchemaItem
-
BOOLEAN
- Indicates this property has a boolean primitive type.
-
BYTE
- Indicates this property has a byte primitive type.
-
CHARACTER
- Indicates this property has a character primitive type.
-
DOUBLE
- Indicates this property has a double-precision floating point
primitive type.
-
FLOAT
- Indicates this property has a floating point primitive type.
-
INTEGER
- Indicates this property has an integer primitive type.
-
LONG
- Indicates this property has a long integer primitive type.
-
PRIMITIVE_TYPE_PROPERTY
- Indicates the name for the property that reports a change in the
primitive type for this item.
-
SHORT
- Indicates this property has a short integer primitive type.
-
getPrimitiveType()
- Gets the primitive type for this schema item.
-
setPrimitiveType(String)
- Sets the primitive type for this schema field.
PRIMITIVE_TYPE_PROPERTY
public static final String PRIMITIVE_TYPE_PROPERTY
- Indicates the name for the property that reports a change in the
primitive type for this item.
BOOLEAN
public static final String BOOLEAN
- Indicates this property has a boolean primitive type.
CHARACTER
public static final String CHARACTER
- Indicates this property has a character primitive type.
BYTE
public static final String BYTE
- Indicates this property has a byte primitive type.
SHORT
public static final String SHORT
- Indicates this property has a short integer primitive type.
INTEGER
public static final String INTEGER
- Indicates this property has an integer primitive type.
LONG
public static final String LONG
- Indicates this property has a long integer primitive type.
FLOAT
public static final String FLOAT
- Indicates this property has a floating point primitive type.
DOUBLE
public static final String DOUBLE
- Indicates this property has a double-precision floating point
primitive type.
getPrimitiveType
public abstract String getPrimitiveType()
- Gets the primitive type for this schema item.
- Returns:
- The primitive type for this schema item.
setPrimitiveType
public abstract void setPrimitiveType(String newType) throws IllegalArgumentException
- Sets the primitive type for this schema field.
- Parameters:
- newType - The new primitive type of this schema field.
- Throws: IllegalArgumentException
- Thrown if the new type does not match one
of the predefined valid types for this
attribute.
All Packages Class Hierarchy This Package Previous Next Index