|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Element
Instances of this interface represent Elements for a Group. The values of an Element are analogous to a Column ion a table in a database.
Method Summary | |
---|---|
java.lang.String |
getAlias()
Return the alias. |
int |
getCharOctetLength()
|
DataType |
getDataType()
Returns the DataType this element is represented as. |
java.lang.Object |
getDefaultValue()
Returns the default value in the object form based on the data type for this element. |
java.lang.String |
getDescription()
Return the description. |
java.lang.String |
getFormat()
Returns the format the data for this element should be displayed as. |
java.lang.String |
getLabel()
Returns the label. |
int |
getLength()
If the data type is numeric, the length is the total number of significant digits used to express the number. |
java.lang.String |
getMaximumRange()
eturns the maximum value that the element can represent. |
java.lang.String |
getMinimumRange()
Returns the minimum value that the element can represent. |
Multiplicity |
getMultplicity()
Returns the multiplicity this element can have. |
java.lang.String |
getNameInSource()
Returns the name-in-soure for this element. |
short |
getNullType()
Returns a short indicating if the element can be set to null. |
int |
getPrecisionLength()
|
int |
getRadix()
|
int |
getScale()
Returns the scale, which is the number of significant digits to the right of the decimal point. |
short |
getSearchType()
Return short indicating the search type supported on this element. |
boolean |
hasNameInSource()
Returns whether the name-in-soure is defined for this element. |
boolean |
isAutoIncrement()
Returns a boolean indicating if the element is auto incremented by the database. |
boolean |
isCaseSensitive()
Returns a boolean indicating if the element data is case sensitive. |
boolean |
isCurrency()
Returns a boolean indicating if the element data represents currency. |
boolean |
isLengthFixed()
Returns a boolean indicating if the length is fixed. |
boolean |
isPhysical()
Returns a boolean indicating if this a physical element. |
boolean |
isSigned()
Returns a boolean indicating if the element data is signed. |
boolean |
supportsSelect()
Returns a boolean indicating if the element can be selected |
boolean |
supportsSet()
Returns a boolean indicating if the element can be used in a SET operation. |
boolean |
supportsSubscription()
Returns a boolean indicating if the element can be subscribed to. |
boolean |
supportsUpdate()
Returns a boolean indicating if the element can be updated. |
Methods inherited from interface com.metamatrix.metadata.runtime.api.MetadataObject |
---|
clone, compareTo, equals, getFullName, getID, getName, getProperties, getVirtualDatabaseID, toString |
Method Detail |
---|
java.lang.String getDescription()
java.lang.String getAlias()
java.lang.String getLabel()
java.lang.String getNameInSource()
boolean hasNameInSource()
DataType getDataType()
DataType
this element is represented as.
If it is a user-defined type, the corresponding runtime type is returned.
int getScale()
int getLength()
boolean isPhysical()
boolean isLengthFixed()
short getNullType()
MetadataConstants.NULL_TYPES
boolean supportsSelect()
boolean supportsSet()
boolean supportsSubscription()
boolean supportsUpdate()
boolean isCaseSensitive()
boolean isSigned()
boolean isCurrency()
boolean isAutoIncrement()
java.lang.String getMinimumRange()
java.lang.String getMaximumRange()
short getSearchType()
MetadataConstants.SEARCH_TYPES
java.lang.String getFormat()
Multiplicity getMultplicity()
java.lang.Object getDefaultValue()
int getPrecisionLength()
int getRadix()
int getCharOctetLength()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |