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
,GenericEventListener
,GraphicInfo
,HttpServiceTask
,HumanTask
,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 TypeMethodDescriptionvoid
addAttribute
(ExtensionAttribute attribute) add attribute to the objectget element's attributesgetAttributeValue
(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
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
add attribute to the object -
setAttributes
set all object's attributes
-