public class ComplexAttributeExtension extends ModelExtensionWithAttributes
| Constructor and Description |
|---|
ComplexAttributeExtension(java.lang.String pID,
java.lang.String pLabel,
EModelExtensionCardinality pCardinality,
boolean pShowSequenceNumbers,
FunctionPackageExtension pFunctionPackage,
java.net.URL pIcon)
Basic constructor.
|
| Modifier and Type | Method and Description |
|---|---|
EModelExtensionCardinality |
getCardinality()
Gets the cardinality.
|
java.net.URL |
getIcon()
Gets the custom icon URL or
null if none was defined. |
boolean |
isShowSequenceNumbers()
Gets whether sequence numbers should be shown in the model editor for
complex attributes of this extension.
|
void |
setCardinality(EModelExtensionCardinality pCardinality)
Sets the cardinality.
|
java.lang.String |
toString() |
getAllAttributes, getAllSimpleAttribues, getAttributes, getComplexAttributeReferences, getComplexAttributes, getReferenceAttributesgetFunctionPackageExtension, getHelpContextId, getID, getLabel, isDeprecated, setDeprecated, setHelpContextIdpublic ComplexAttributeExtension(java.lang.String pID,
java.lang.String pLabel,
EModelExtensionCardinality pCardinality,
boolean pShowSequenceNumbers,
FunctionPackageExtension pFunctionPackage,
java.net.URL pIcon)
pID - the ID of the elementpLabel - the label of the elementpCardinality - cardinality constantpShowSequenceNumbers - whether to show sequence numbers for complex attributes of
this extension in the model editorpFunctionPackage - the function packagepIcon - URL to a custom icon. Can be nullpublic EModelExtensionCardinality getCardinality()
public void setCardinality(EModelExtensionCardinality pCardinality)
pCardinality - the cardinalitypublic boolean isShowSequenceNumbers()
Sequence numbers are never shown, if the cardinality of this complex attribute extension is bounded.
true if sequence numbers should be shown, otherwise
falsepublic java.net.URL getIcon()
null if none was defined.nullpublic java.lang.String toString()
toString in class ModelExtensionObjectCopyright © 2015 Micro Focus GmbH. All rights reserved.