|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InputElementAttributes
Common attributes for a data element defined with the input mode.
The following features are supported:
Default Scalar ValueDefault ValuesEditableOptionalMasks ValueStatic Value ChoicesDynamic Value ChoicesUi Hints
DesignPackage.getInputElementAttributes()| Field Summary | |
|---|---|
static java.lang.String |
copyright
|
| Method Summary | |
|---|---|
void |
addDefaultValue(java.lang.Object aValue)
Appends the specified value to the list of default values. |
java.lang.String |
getDefaultScalarValue()
Deprecated. replaced by getDefaultValues() as of 3.2 (DTP 1.7) |
int |
getDefaultValueCount()
Gets the number of default values specified. |
StaticValues |
getDefaultValues()
Returns the value of the 'Default Values' containment reference. |
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)
Deprecated. replaced by setDefaultValues(StaticValues) as of 3.2 (DTP 1.7) |
void |
setDefaultValues(StaticValues value)
Sets the value of the ' Default Values' containment reference. |
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. |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
|---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Field Detail |
|---|
static final java.lang.String copyright
| Method Detail |
|---|
boolean hasValueChoices()
getStaticValueChoices(),
getDynamicValueChoices()java.lang.String getDefaultScalarValue()
getDefaultValues() as of 3.2 (DTP 1.7)
setDefaultScalarValue(String),
DesignPackage.getInputElementAttributes_DefaultScalarValue()void setDefaultScalarValue(java.lang.String value)
setDefaultValues(StaticValues) as of 3.2 (DTP 1.7)
Default Scalar Value' attribute.
value - the new value of the 'Default Scalar Value' attribute.getDefaultScalarValue()StaticValues getDefaultValues()
setDefaultValues(StaticValues),
DesignPackage.getInputElementAttributes_DefaultValues()void setDefaultValues(StaticValues value)
Default Values' containment reference.
value - the new value of the 'Default Values' containment reference.getDefaultValues()int getDefaultValueCount()
void addDefaultValue(java.lang.Object aValue)
aValue - a value to add; may be nullboolean 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()void setEditable(boolean value)
Editable' attribute.
value - the new value of the 'Editable' attribute.isSetEditable(),
unsetEditable(),
isEditable()void unsetEditable()
Editable' attribute.
isSetEditable(),
isEditable(),
setEditable(boolean)boolean isSetEditable()
Editable' attribute is set.
unsetEditable(),
isEditable(),
setEditable(boolean)boolean isOptional()
"false".
Indicates whether the element requires an input value.
isSetOptional(),
unsetOptional(),
setOptional(boolean),
DesignPackage.getInputElementAttributes_Optional()void setOptional(boolean value)
Optional' attribute.
value - the new value of the 'Optional' attribute.isSetOptional(),
unsetOptional(),
isOptional()void unsetOptional()
Optional' attribute.
isSetOptional(),
isOptional(),
setOptional(boolean)boolean isSetOptional()
Optional' attribute is set.
unsetOptional(),
isOptional(),
setOptional(boolean)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()void setMasksValue(boolean value)
Masks Value' attribute.
value - the new value of the 'Masks Value' attribute.isSetMasksValue(),
unsetMasksValue(),
isMasksValue()void unsetMasksValue()
Masks Value' attribute.
isSetMasksValue(),
isMasksValue(),
setMasksValue(boolean)boolean isSetMasksValue()
Masks Value' attribute is set.
unsetMasksValue(),
isMasksValue(),
setMasksValue(boolean)ScalarValueChoices getStaticValueChoices()
setStaticValueChoices(ScalarValueChoices),
DesignPackage.getInputElementAttributes_StaticValueChoices()void setStaticValueChoices(ScalarValueChoices value)
Static Value Choices' containment reference.
value - the new value of the 'Static Value Choices' containment reference.getStaticValueChoices()DynamicValuesQuery getDynamicValueChoices()
setDynamicValueChoices(DynamicValuesQuery),
DesignPackage.getInputElementAttributes_DynamicValueChoices()void setDynamicValueChoices(DynamicValuesQuery value)
Dynamic Value Choices' containment reference.
value - the new value of the 'Dynamic Value Choices' containment reference.getDynamicValueChoices()InputElementUIHints getUiHints()
setUiHints(InputElementUIHints),
DesignPackage.getInputElementAttributes_UiHints()void setUiHints(InputElementUIHints value)
Ui Hints' containment reference.
value - the new value of the 'Ui Hints' containment reference.getUiHints()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 | |||||||||