public abstract class StringModelExtensionAttribute extends SimpleModelExtensionAttribute
Copyright Micro Focus GmbH.
| Constructor and Description |
|---|
StringModelExtensionAttribute(java.lang.String pID,
EModelExtensionAttributeType pType,
java.lang.String pDefaultValue,
boolean pMandatory,
java.util.List<java.lang.String> pRestrictions,
java.lang.String pLabel,
java.lang.String pCategory,
java.lang.String pDescription,
boolean pModelLabel,
FunctionPackageExtension pFunctionPackage)
Basic constructor.
|
StringModelExtensionAttribute(java.lang.String pID,
EModelExtensionAttributeType pType,
java.lang.String pDefaultValue,
boolean pMandatory,
java.util.List<java.lang.String> pRestrictions,
java.lang.String pLabel,
java.lang.String pCategory,
java.lang.String pDescription,
boolean pModelLabel,
ICustomRestriction<?> pCustomRestriction,
FunctionPackageExtension pFunctionPackage)
Basic constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ICustomRestriction<?> |
getCustomRestriction()
Gets the
ICustomRestriction |
java.lang.String |
getDefaultValue()
Gets the default value.
|
java.util.List<java.lang.String> |
getRestrictions()
Gets the restrictions.
|
EModelExtensionAttributeType |
getType()
Gets the type.
|
getCategory, getDescription, isMandatory, isMultiLine, setMultiLinegetFunctionPackageExtension, getHelpContextId, getID, getLabel, isDeprecated, setDeprecated, setHelpContextId, toStringpublic StringModelExtensionAttribute(java.lang.String pID,
EModelExtensionAttributeType pType,
java.lang.String pDefaultValue,
boolean pMandatory,
java.util.List<java.lang.String> pRestrictions,
java.lang.String pLabel,
java.lang.String pCategory,
java.lang.String pDescription,
boolean pModelLabel,
FunctionPackageExtension pFunctionPackage)
pID - the IDpType - the attribute typepDefaultValue - the default value (can be null)pMandatory - whether the attribute is mandatorypRestrictions - value restrictions (can be null)pLabel - the label (can be null)pCategory - the category (can be null)pDescription - the attribute description (can be null)pModelLabel - whether the attribute and value should be used as a label in
the model editorpFunctionPackage - the defining function packagepublic StringModelExtensionAttribute(java.lang.String pID,
EModelExtensionAttributeType pType,
java.lang.String pDefaultValue,
boolean pMandatory,
java.util.List<java.lang.String> pRestrictions,
java.lang.String pLabel,
java.lang.String pCategory,
java.lang.String pDescription,
boolean pModelLabel,
ICustomRestriction<?> pCustomRestriction,
FunctionPackageExtension pFunctionPackage)
pID - the IDpType - the attribute typepDefaultValue - the default value (can be null)pMandatory - whether the attribute is mandatorypRestrictions - value restrictions (can be null)pLabel - the label (can be null)pCategory - the category (can be null)pDescription - the attribute description (can be null)pModelLabel - whether the attribute and value should be used as a label in
the model editorpCustomRestriction - the custom restriction attribute. See
ICustomRestriction. Can be null, if no
custom restriction was defined.pFunctionPackage - the defining function packagepublic java.lang.String getDefaultValue()
public java.util.List<java.lang.String> getRestrictions()
public EModelExtensionAttributeType getType()
public ICustomRestriction<?> getCustomRestriction()
ICustomRestrictionICustomRestriction. Can be null if none
was set.Copyright © 2015 Micro Focus GmbH. All rights reserved.