|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Common attributes for a data element.
The following features are supported:
DesignPackage.getDataElementAttributes()| Field Summary | |
static java.lang.String |
copyright
|
| Method Summary | |
boolean |
allowsNull()
Indicates whether this data element is defined to allow a null value. |
java.lang.String |
getName()
Returns the value of the 'Name' attribute. |
short |
getNativeDataTypeCode()
Returns the value of the 'Native Data Type Code' attribute. |
ElementNullability |
getNullability()
Returns the value of the 'Nullability' attribute. |
int |
getPosition()
Returns the value of the 'Position' attribute. |
short |
getPrecision()
Returns the value of the 'Precision' attribute. |
short |
getScale()
Returns the value of the 'Scale' attribute. |
DataElementUIHints |
getUiHints()
Returns the value of the 'Ui Hints' containment reference. |
boolean |
isSetNativeDataTypeCode()
Returns whether the value of the ' Native Data Type Code' attribute is set. |
boolean |
isSetNullability()
Returns whether the value of the ' Nullability' attribute is set. |
boolean |
isSetPosition()
Returns whether the value of the ' Position' attribute is set. |
boolean |
isSetPrecision()
Returns whether the value of the ' Precision' attribute is set. |
boolean |
isSetScale()
Returns whether the value of the ' Scale' attribute is set. |
void |
setApplicablePrecision(short value,
OdaScalarDataType odaDataType)
Sets the value of the ' Precision' attribute
that is applicable for the given ODA data type. |
void |
setApplicableScale(short value,
OdaScalarDataType odaDataType)
Sets the value of the ' Scale' attribute
that is applicable for the given ODA data type. |
void |
setName(java.lang.String value)
Sets the value of the ' Name' attribute. |
void |
setNativeDataTypeCode(short value)
Sets the value of the ' Native Data Type Code' attribute. |
void |
setNullability(ElementNullability value)
Sets the value of the ' Nullability' attribute. |
void |
setPosition(int value)
Sets the value of the ' Position' attribute. |
void |
setPrecision(short value)
Sets the value of the ' Precision' attribute. |
void |
setScale(short value)
Sets the value of the ' Scale' attribute. |
void |
setUiDescription(java.lang.String value)
Sets the value of the Description attribute in the element's UI hints. |
void |
setUiDisplayName(java.lang.String value)
Sets the value of the Display Name attribute in the element's UI hints. |
void |
setUiHints(DataElementUIHints value)
Sets the value of the ' Ui Hints' containment reference. |
void |
unsetNativeDataTypeCode()
Unsets the value of the ' Native Data Type Code' attribute. |
void |
unsetNullability()
Unsets the value of the ' Nullability' attribute. |
void |
unsetPosition()
Unsets the value of the ' Position' attribute. |
void |
unsetPrecision()
Unsets the value of the ' Precision' attribute. |
void |
unsetScale()
Unsets the value of the ' Scale' attribute. |
| Field Detail |
public static final java.lang.String copyright
| Method Detail |
public void setApplicablePrecision(short value,
OdaScalarDataType odaDataType)
Precision' attribute
that is applicable for the given ODA data type.
This provides the application logic on setting the applicable value
for the given data type, and would return
the applicable value in getPrecision method.
value - the new value of the 'Precision' attribute.odaDataType - the ODA data type of this data element#setPrecision(),
isSetPrecision(),
unsetPrecision(),
getPrecision()
public void setApplicableScale(short value,
OdaScalarDataType odaDataType)
Scale' attribute
that is applicable for the given ODA data type.
This provides the application logic on setting the applicable value
for the given data type, and would return
the applicable value in getScale method.
value - the new value of the 'Scale' attribute.odaDataType - the ODA data type of this data element#setScale(),
isSetScale(),
unsetScale(),
getScale()public boolean allowsNull()
getNullability()public java.lang.String getName()
setName(String),
DesignPackage.getDataElementAttributes_Name()public void setName(java.lang.String value)
Name' attribute.
value - the new value of the 'Name' attribute.getName()public int getPosition()
isSetPosition(),
unsetPosition(),
setPosition(int),
DesignPackage.getDataElementAttributes_Position()public void setPosition(int value)
Position' attribute.
value - the new value of the 'Position' attribute.isSetPosition(),
unsetPosition(),
getPosition()public void unsetPosition()
Position' attribute.
isSetPosition(),
getPosition(),
setPosition(int)public boolean isSetPosition()
Position' attribute is set.
unsetPosition(),
getPosition(),
setPosition(int)public short getNativeDataTypeCode()
isSetNativeDataTypeCode(),
unsetNativeDataTypeCode(),
setNativeDataTypeCode(short),
DesignPackage.getDataElementAttributes_NativeDataTypeCode()public void setNativeDataTypeCode(short value)
Native Data Type Code' attribute.
value - the new value of the 'Native Data Type Code' attribute.isSetNativeDataTypeCode(),
unsetNativeDataTypeCode(),
getNativeDataTypeCode()public void unsetNativeDataTypeCode()
Native Data Type Code' attribute.
isSetNativeDataTypeCode(),
getNativeDataTypeCode(),
setNativeDataTypeCode(short)public boolean isSetNativeDataTypeCode()
Native Data Type Code' attribute is set.
unsetNativeDataTypeCode(),
getNativeDataTypeCode(),
setNativeDataTypeCode(short)public short getPrecision()
"-1".
Maximum number of decimal digits in a numeric value, or the length of a non-numeric value.
A value of -1 indicates this attribute is not applicable.
isSetPrecision(),
unsetPrecision(),
setPrecision(short),
DesignPackage.getDataElementAttributes_Precision()public void setPrecision(short value)
Precision' attribute.
value - the new value of the 'Precision' attribute.isSetPrecision(),
unsetPrecision(),
getPrecision()public void unsetPrecision()
Precision' attribute.
isSetPrecision(),
getPrecision(),
setPrecision(short)public boolean isSetPrecision()
Precision' attribute is set.
unsetPrecision(),
getPrecision(),
setPrecision(short)public short getScale()
"-1".
Maximum number of digits to the right of the decimal point. A value of -1 indicates this attribute is not applicable.
isSetScale(),
unsetScale(),
setScale(short),
DesignPackage.getDataElementAttributes_Scale()public void setScale(short value)
Scale' attribute.
value - the new value of the 'Scale' attribute.isSetScale(),
unsetScale(),
getScale()public void unsetScale()
Scale' attribute.
isSetScale(),
getScale(),
setScale(short)public boolean isSetScale()
Scale' attribute is set.
unsetScale(),
getScale(),
setScale(short)public ElementNullability getNullability()
"Unknown".
The literals are from the enumeration ElementNullability.
ElementNullability,
isSetNullability(),
unsetNullability(),
setNullability(ElementNullability),
DesignPackage.getDataElementAttributes_Nullability()public void setNullability(ElementNullability value)
Nullability' attribute.
value - the new value of the 'Nullability' attribute.ElementNullability,
isSetNullability(),
unsetNullability(),
getNullability()public void unsetNullability()
Nullability' attribute.
isSetNullability(),
getNullability(),
setNullability(ElementNullability)public boolean isSetNullability()
Nullability' attribute is set.
unsetNullability(),
getNullability(),
setNullability(ElementNullability)public DataElementUIHints getUiHints()
setUiHints(DataElementUIHints),
DesignPackage.getDataElementAttributes_UiHints()public void setUiHints(DataElementUIHints value)
Ui Hints' containment reference.
value - the new value of the 'Ui Hints' containment reference.getUiHints()public void setUiDisplayName(java.lang.String value)
value - the new value of the 'Display Name' attribute.setUiHints(DataElementUIHints)public void setUiDescription(java.lang.String value)
value - the new value of the 'Description' attribute.setUiHints(DataElementUIHints)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||