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

Variable Index

 o BOOLEAN
Indicates this property has a boolean primitive type.
 o BYTE
Indicates this property has a byte primitive type.
 o CHARACTER
Indicates this property has a character primitive type.
 o DOUBLE
Indicates this property has a double-precision floating point primitive type.
 o FLOAT
Indicates this property has a floating point primitive type.
 o INTEGER
Indicates this property has an integer primitive type.
 o LONG
Indicates this property has a long integer primitive type.
 o PRIMITIVE_TYPE_PROPERTY
Indicates the name for the property that reports a change in the primitive type for this item.
 o SHORT
Indicates this property has a short integer primitive type.

Method Index

 o getPrimitiveType()
Gets the primitive type for this schema item.
 o setPrimitiveType(String)
Sets the primitive type for this schema field.

Variables

 o 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.

 o BOOLEAN
 public static final String BOOLEAN
Indicates this property has a boolean primitive type.

 o CHARACTER
 public static final String CHARACTER
Indicates this property has a character primitive type.

 o BYTE
 public static final String BYTE
Indicates this property has a byte primitive type.

 o SHORT
 public static final String SHORT
Indicates this property has a short integer primitive type.

 o INTEGER
 public static final String INTEGER
Indicates this property has an integer primitive type.

 o LONG
 public static final String LONG
Indicates this property has a long integer primitive type.

 o FLOAT
 public static final String FLOAT
Indicates this property has a floating point primitive type.

 o DOUBLE
 public static final String DOUBLE
Indicates this property has a double-precision floating point primitive type.

Methods

 o getPrimitiveType
 public abstract String getPrimitiveType()
Gets the primitive type for this schema item.

Returns:
The primitive type for this schema item.
 o 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