|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for transfering type information from types to other objects. All methods should at maximum be called once for each type, and the createX() methods are even mutually exclusive, meaning that only one of them may be called.
Method Summary | |
void |
createCompound(java.util.Vector symbols)
Called for composed types. |
void |
createEnumeratedInteger(java.util.Vector labels,
java.util.Vector values)
Called for integer types that may only have one of an enumerated set of values. |
void |
createInteger()
Called for integer types. |
void |
createString()
Called for string types. |
void |
createVector(Type elementType)
Called for vector types. |
void |
transferDefaultValue(int value)
Called for types having a default value. |
void |
transferDefaultValue(java.lang.String value)
Called for types having a default value. |
void |
transferNameAlias(java.lang.String name)
Called to report a type name alias for this type. |
void |
transferReadable(boolean readable)
Called to set the status of whether or not that data is readable from the data layer. |
void |
transferSizeLimits(int minLength,
int maxLength)
Called for types having size limits associated with them. |
void |
transferValueLimits(int minValue,
int maxValue)
Called for integer types having value limits associated with them. |
void |
transferWriteable(boolean writeable)
Called to set the status of whether or not that data is writable to the data layer. |
Method Detail |
public void createInteger()
public void createEnumeratedInteger(java.util.Vector labels, java.util.Vector values)
labels
- a vector with the string labelsvalues
- a vector with the integer valuespublic void createString()
public void createVector(Type elementType)
elementType
- the vector element typepublic void createCompound(java.util.Vector symbols)
symbols
- a vector with the symbols that compose
the typepublic void transferNameAlias(java.lang.String name)
name
- the alias nampublic void transferValueLimits(int minValue, int maxValue)
minValue
- the minimum valuemaxValue
- the maximum valuepublic void transferSizeLimits(int minLength, int maxLength)
minLength
- the minimum length, or -1 for nonemaxLength
- the maximum length, or -1 for nonepublic void transferReadable(boolean readable)
readable
- true if readable, false otherwisepublic void transferWriteable(boolean writeable)
writeable
- true if writeable, false otherwisepublic void transferDefaultValue(java.lang.String value)
value
- a string value or a label, depending on
contextpublic void transferDefaultValue(int value)
value
- an integer value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |