Package org.flowable.cmmn.model

# Interface HasExtensionAttributes

All Known Implementing Classes:
  `AbstractFlowableHttpHandler`, `Association`, `BaseElement`, `Case`, `CaseElement`, `CasePageTask`, `CaseTask`, `ChildTask`, `CmmnDiEdge`, `CmmnDiShape`, `CmmnElement`, `CompletionNeutralRule`, `Criterion`, `Decision`, `DecisionTask`, `EventListener`, `ExtensionElement`, `ExternalWorkerServiceTask`, `FieldExtension`, `FlowableHttpRequestHandler`, `FlowableHttpResponseHandler`, `FlowableListener`, `FormAwareServiceTask`, `GenericEventListener`, `GraphicInfo`, `HttpServiceTask`, `HumanTask`, `IntentEventListener`, `IOParameter`, `ManualActivationRule`, `Milestone`, `ParentCompletionRule`, `PlanFragment`, `PlanItem`, `PlanItemControl`, `PlanItemDefinition`, `PlanItemRule`, `Process`, `ProcessTask`, `ReactivateEventListener`, `ReactivationRule`, `RepetitionRule`, `RequiredRule`, `ScriptInfo`, `ScriptServiceTask`, `SendEventServiceTask`, `Sentry`, `SentryIfPart`, `SentryOnPart`, `ServiceTask`, `SignalEventListener`, `Stage`, `Task`, `TaskWithFieldExtensions`, `TextAnnotation`, `TimerEventListener`, `UserEventListener`, `VariableEventListener`

public interface HasExtensionAttributes
Interface for accessing Element attributes.

Author:
  Martin Grofcik

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addAttribute(ExtensionAttribute attribute)`
  add attribute to the object
  `Map<String,List<ExtensionAttribute>>`
  `getAttributes()`
  get element's attributes
  `String`
  `getAttributeValue(String namespace, String name)`
  return value of the attribute from given namespace with given name.
  `void`
  `setAttributes(Map<String,List<ExtensionAttribute>> attributes)`
  set all object's attributes

- ## Method Details

  - ### getAttributes

    Map<String,List<ExtensionAttribute>> getAttributes()
    get element's attributes

  - ### getAttributeValue

    String getAttributeValue(String namespace, String name)
    return value of the attribute from given namespace with given name.
    Parameters:
      `namespace` -
      `name` -
    Returns:
      attribute value or null in case when attribute was not found

  - ### addAttribute

    void addAttribute(ExtensionAttribute attribute)
    add attribute to the object

  - ### setAttributes

    void setAttributes(Map<String,List<ExtensionAttribute>> attributes)
    set all object's attributes