public class SimpleModelExtensionAttribute extends ModelExtensionObject
Copyright Micro Focus GmbH.
| Constructor and Description |
|---|
SimpleModelExtensionAttribute(java.lang.String pID,
java.lang.String pLabel,
boolean pMandatory,
java.lang.String pCategory,
java.lang.String pDescription,
boolean pModelLabel,
FunctionPackageExtension pFunctionPackage)
Advanced constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCategory()
Gets the the category.
|
java.lang.String |
getDescription()
Gets the attribute description.
|
boolean |
isMandatory()
Gets whether the attribute is mandatory.
|
boolean |
isMultiLine()
Gets whether the attribute supports multiline input.
|
void |
setMultiLine(boolean pMultiLine)
Sets whether the attribute supports multiline input.
|
getFunctionPackageExtension, getHelpContextId, getID, getLabel, isDeprecated, setDeprecated, setHelpContextId, toStringpublic SimpleModelExtensionAttribute(java.lang.String pID,
java.lang.String pLabel,
boolean pMandatory,
java.lang.String pCategory,
java.lang.String pDescription,
boolean pModelLabel,
FunctionPackageExtension pFunctionPackage)
pID - the attribute IDpLabel - the labelpMandatory - whether the attribute is mandatorypCategory - the categorypDescription - the attribute descriptionpModelLabel - whether the attribute should be displayed in the object label
in the model editorpFunctionPackage - the defining function packagepublic java.lang.String getCategory()
public java.lang.String getDescription()
public boolean isMandatory()
true if the attribute is mandatory,
false if it's optionalpublic void setMultiLine(boolean pMultiLine)
pMultiLine - sets whether the attribute supports multiline input or not.public boolean isMultiLine()
Copyright © 2015 Micro Focus GmbH. All rights reserved.