public class ModelPropertyExtension extends PreDefinedModelExtensionObject
modelProperty extension element. Model properties are
predefined function package properties which can create normal AWM model
properties.| Constructor and Description |
|---|
ModelPropertyExtension(java.lang.String pId,
java.lang.String pLabel,
FunctionPackageExtension pFunctionPackage,
ETypes pPropertyType,
ESpecialProperties pSpecialProperty,
java.lang.String pDefaultValue,
java.lang.String pBooleanTrueValue,
java.lang.String pBooleanFalseValue,
java.lang.String[] pValueKeys,
java.lang.String[] pLabelKeys)
Creates a new model property extension.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDefaultValue()
Gets the default value attribute for the property.
|
java.lang.String |
getFalseValue()
Gets the
false value of the property. |
java.lang.String[] |
getLabelKeys()
Gets the label keys of the property.
|
org.eclipse.emf.ecore.EClass |
getPreDefinedClass()
Gets the
EClass that this model extension pre-defines. |
ESpecialProperties |
getSpecialProperty()
Gets
ESpecialProperties attribute of the property. |
java.lang.String |
getTrueValue()
Gets the
true value of the property. |
ETypes |
getType()
Gets the type of the property.
|
java.lang.String[] |
getValueKeys()
Gets the value keys of the property.
|
getFunctionPackageExtension, getHelpContextId, getID, getLabel, isDeprecated, setDeprecated, setHelpContextId, toStringpublic ModelPropertyExtension(java.lang.String pId,
java.lang.String pLabel,
FunctionPackageExtension pFunctionPackage,
ETypes pPropertyType,
ESpecialProperties pSpecialProperty,
java.lang.String pDefaultValue,
java.lang.String pBooleanTrueValue,
java.lang.String pBooleanFalseValue,
java.lang.String[] pValueKeys,
java.lang.String[] pLabelKeys)
pId - the ID of the model propertypLabel - the model property labelpFunctionPackage - the containing function packagepPropertyType - type of the propertypSpecialProperty - special propertypDefaultValue - the property's default value. Can be null.pBooleanTrueValue - true value. Can be null.pBooleanFalseValue - false value. Can be null.pValueKeys - value keys. Can be null.pLabelKeys - label keys. Can be null.public ETypes getType()
Property.getType()public ESpecialProperties getSpecialProperty()
ESpecialProperties attribute of the property.Property.getSpecialProperty()public java.lang.String getTrueValue()
true value of the property. Only relevant, if the
property type is ETypes.BOOLEAN.true value. Can be null if
not explicitly set.Property.getTrueValue()public java.lang.String getFalseValue()
false value of the property. Only relevant, if the
property type is ETypes.BOOLEAN.false value. Can be null if
not explicitly set.Property.getFalseValue()public java.lang.String[] getValueKeys()
ETypes.SELECT_VALUE.null if not explicitly set.Property.getValueKeys()public java.lang.String[] getLabelKeys()
ETypes.SELECT_VALUE.null if not explicitly set.Property.getLabelKeys()public java.lang.String getDefaultValue()
null.Property.getDefaultValue()public org.eclipse.emf.ecore.EClass getPreDefinedClass()
PreDefinedModelExtensionObjectEClass that this model extension pre-defines.getPreDefinedClass in class PreDefinedModelExtensionObjectEClass of the pre-defined objectCopyright © 2015 Micro Focus GmbH. All rights reserved.