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 HasExtensionAttributesInterface for accessing Element attributes.- Author:
- Martin Grofcik
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddAttribute(ExtensionAttribute attribute)add attribute to the objectMap<String,List<ExtensionAttribute>>getAttributes()get element's attributesStringgetAttributeValue(String namespace, String name)return value of the attribute from given namespace with given name.voidsetAttributes(Map<String,List<ExtensionAttribute>> attributes)set all object's attributes
-
-
-
Method Detail
-
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
-
-