com.microfocus.awm.meta.modelextension

## Class ModelExtensionReferenceAttribute

- java.lang.Object
- - com.microfocus.awm.meta.modelextension.ModelExtensionObject
  - - com.microfocus.awm.meta.modelextension.SimpleModelExtensionAttribute
    - - com.microfocus.awm.meta.modelextension.AbstractModelExtensionAtribute
      - - com.microfocus.awm.meta.modelextension.ModelExtensionReferenceAttribute

- All Implemented Interfaces:
    IModelExtensionWithEnabledCondition
  Direct Known Subclasses:
    ToolTypeReferenceAttribute

      public class ModelExtensionReferenceAttribute
      extends AbstractModelExtensionAtribute

  Reference attribute of a model extension.
  Author:
    Ralf Pakosch, Christelle Biahmou

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ModelExtensionReferenceAttribute(java.lang.String pName, org.eclipse.emf.ecore.EClass pType, java.lang.String pLabel, boolean pMandatory, java.lang.String pCategory, java.lang.String pDescription, boolean pModelLabel, FunctionPackageExtension pFunctionPackage)` Basic constructor.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `org.eclipse.emf.ecore.EClass` | `getType()` Gets the target reference type.
    `java.lang.String` | `toString()`

    - ### Methods inherited from class com.microfocus.awm.meta.modelextension.AbstractModelExtensionAtribute

      `getEnabledCondition, isModelLabel, setEnabledCondition`

    - ### Methods inherited from class com.microfocus.awm.meta.modelextension.SimpleModelExtensionAttribute

      `getCategory, getDescription, isMandatory, isMultiLine, setMultiLine`

    - ### Methods inherited from class com.microfocus.awm.meta.modelextension.ModelExtensionObject

      `getFunctionPackageExtension, getHelpContextId, getID, getLabel, isDeprecated, setDeprecated, setHelpContextId`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ModelExtensionReferenceAttribute

          public ModelExtensionReferenceAttribute(java.lang.String pName,
                                                  org.eclipse.emf.ecore.EClass pType,
                                                  java.lang.String pLabel,
                                                  boolean pMandatory,
                                                  java.lang.String pCategory,
                                                  java.lang.String pDescription,
                                                  boolean pModelLabel,
                                                  FunctionPackageExtension pFunctionPackage)

      Basic constructor.
      Parameters:
        `pName` - the name of the attribute
        `pType` - the target reference type
        `pLabel` - the label
        `pMandatory` - whether the attribute is mandatory
        `pCategory` - the category
        `pDescription` - the attribute description
        `pModelLabel` - whether this should be added to the model editor label of the component
        `pFunctionPackage` - the defining function package

  - ### Method Detail

    - #### getType

          public org.eclipse.emf.ecore.EClass getType()

      Gets the target reference type.
      Returns:
        the type

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `ModelExtensionObject`

Copyright © 2015 Micro Focus GmbH. All rights reserved.