|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Common attributes for a data element defined with the input mode.
The following features are supported:
Default Scalar Value
Editable
Optional
Masks Value
Static Value Choices
Dynamic Value Choices
Ui Hints
DesignPackage.getInputElementAttributes()
Field Summary | |
static java.lang.String |
copyright
|
Method Summary | |
java.lang.String |
getDefaultScalarValue()
Returns the value of the 'Default Scalar Value' attribute. |
DynamicValuesQuery |
getDynamicValueChoices()
Returns the value of the 'Dynamic Value Choices' containment reference. |
ScalarValueChoices |
getStaticValueChoices()
Returns the value of the 'Static Value Choices' containment reference. |
InputElementUIHints |
getUiHints()
Returns the value of the 'Ui Hints' containment reference. |
boolean |
hasValueChoices()
Indicates whether this input element has either static or dynamic value choices defined. |
boolean |
isEditable()
Returns the value of the 'Editable' attribute. |
boolean |
isMasksValue()
Returns the value of the 'Masks Value' attribute. |
boolean |
isOptional()
Returns the value of the 'Optional' attribute. |
boolean |
isSetEditable()
Returns whether the value of the ' Editable ' attribute is set. |
boolean |
isSetMasksValue()
Returns whether the value of the ' Masks Value ' attribute is set. |
boolean |
isSetOptional()
Returns whether the value of the ' Optional ' attribute is set. |
void |
setDefaultScalarValue(java.lang.String value)
Sets the value of the ' Default Scalar Value ' attribute. |
void |
setDynamicValueChoices(DynamicValuesQuery value)
Sets the value of the ' Dynamic Value Choices ' containment reference. |
void |
setEditable(boolean value)
Sets the value of the ' Editable ' attribute. |
void |
setMasksValue(boolean value)
Sets the value of the ' Masks Value ' attribute. |
void |
setOptional(boolean value)
Sets the value of the ' Optional ' attribute. |
void |
setStaticValueChoices(ScalarValueChoices value)
Sets the value of the ' Static Value Choices ' containment reference. |
void |
setUiHints(InputElementUIHints value)
Sets the value of the ' Ui Hints ' containment reference. |
void |
setUiPromptStyle(InputPromptControlStyle value)
Sets the value of the Prompt Style attribute in the element's UI hints. |
void |
unsetEditable()
Unsets the value of the ' Editable ' attribute. |
void |
unsetMasksValue()
Unsets the value of the ' Masks Value ' attribute. |
void |
unsetOptional()
Unsets the value of the ' Optional ' attribute. |
Field Detail |
public static final java.lang.String copyright
Method Detail |
public boolean hasValueChoices()
getStaticValueChoices()
,
getDynamicValueChoices()
public java.lang.String getDefaultScalarValue()
setDefaultScalarValue(String)
,
DesignPackage.getInputElementAttributes_DefaultScalarValue()
public void setDefaultScalarValue(java.lang.String value)
Default Scalar Value
' attribute.
value
- the new value of the 'Default Scalar Value' attribute.getDefaultScalarValue()
public boolean isEditable()
"true"
.
Indicates whether this element value is editable or read-only in the host designer. A host designer can further design whether to hide this attribute. Applicable only if its container is visible, e.g. for public properties and input parameters.
isSetEditable()
,
unsetEditable()
,
setEditable(boolean)
,
DesignPackage.getInputElementAttributes_Editable()
public void setEditable(boolean value)
Editable
' attribute.
value
- the new value of the 'Editable' attribute.isSetEditable()
,
unsetEditable()
,
isEditable()
public void unsetEditable()
Editable
' attribute.
isSetEditable()
,
isEditable()
,
setEditable(boolean)
public boolean isSetEditable()
Editable
' attribute is set.
unsetEditable()
,
isEditable()
,
setEditable(boolean)
public boolean isOptional()
"false"
.
Indicates whether the element requires an input value.
isSetOptional()
,
unsetOptional()
,
setOptional(boolean)
,
DesignPackage.getInputElementAttributes_Optional()
public void setOptional(boolean value)
Optional
' attribute.
value
- the new value of the 'Optional' attribute.isSetOptional()
,
unsetOptional()
,
isOptional()
public void unsetOptional()
Optional
' attribute.
isSetOptional()
,
isOptional()
,
setOptional(boolean)
public boolean isSetOptional()
Optional
' attribute is set.
unsetOptional()
,
isOptional()
,
setOptional(boolean)
public boolean isMasksValue()
"false"
.
Indicates whether input value should be masked or encrypted in persistent store and any UI display. Applies to default value as well.
isSetMasksValue()
,
unsetMasksValue()
,
setMasksValue(boolean)
,
DesignPackage.getInputElementAttributes_MasksValue()
public void setMasksValue(boolean value)
Masks Value
' attribute.
value
- the new value of the 'Masks Value' attribute.isSetMasksValue()
,
unsetMasksValue()
,
isMasksValue()
public void unsetMasksValue()
Masks Value
' attribute.
isSetMasksValue()
,
isMasksValue()
,
setMasksValue(boolean)
public boolean isSetMasksValue()
Masks Value
' attribute is set.
unsetMasksValue()
,
isMasksValue()
,
setMasksValue(boolean)
public ScalarValueChoices getStaticValueChoices()
setStaticValueChoices(ScalarValueChoices)
,
DesignPackage.getInputElementAttributes_StaticValueChoices()
public void setStaticValueChoices(ScalarValueChoices value)
Static Value Choices
' containment reference.
value
- the new value of the 'Static Value Choices' containment reference.getStaticValueChoices()
public DynamicValuesQuery getDynamicValueChoices()
setDynamicValueChoices(DynamicValuesQuery)
,
DesignPackage.getInputElementAttributes_DynamicValueChoices()
public void setDynamicValueChoices(DynamicValuesQuery value)
Dynamic Value Choices
' containment reference.
value
- the new value of the 'Dynamic Value Choices' containment reference.getDynamicValueChoices()
public InputElementUIHints getUiHints()
setUiHints(InputElementUIHints)
,
DesignPackage.getInputElementAttributes_UiHints()
public void setUiHints(InputElementUIHints value)
Ui Hints
' containment reference.
value
- the new value of the 'Ui Hints' containment reference.getUiHints()
public void setUiPromptStyle(InputPromptControlStyle value)
value
- the new value of the 'Prompt Style' attribute.InputPromptControlStyle
,
setUiHints(InputElementUIHints)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |