Package org.activiti.bpmn.model
Interface HasExtensionAttributes
-
- All Known Implementing Classes:
ActivitiListener
,Activity
,AdhocSubProcess
,AlfrescoMailTask
,AlfrescoScriptTask
,AlfrescoStartEvent
,AlfrescoUserTask
,Artifact
,Assignment
,Association
,BaseElement
,BooleanDataObject
,BoundaryEvent
,BusinessRuleTask
,CallActivity
,CancelEventDefinition
,CompensateEventDefinition
,ComplexGateway
,CustomProperty
,DataAssociation
,DataGridField
,DataObject
,DataSpec
,DataStore
,DataStoreReference
,DateDataObject
,DoubleDataObject
,EndEvent
,ErrorEventDefinition
,Event
,EventDefinition
,EventGateway
,EventListener
,EventSubProcess
,ExclusiveGateway
,ExtensionElement
,FieldExtension
,FlowElement
,FlowNode
,FormProperty
,FormValue
,Gateway
,Import
,InclusiveGateway
,IntegerDataObject
,Interface
,IntermediateCatchEvent
,IOParameter
,IOSpecification
,ItemDefinition
,Lane
,LongDataObject
,ManualTask
,Message
,MessageEventDefinition
,MessageFlow
,MultiInstanceLoopCharacteristics
,Operation
,ParallelGateway
,Pool
,Process
,ReceiveTask
,Resource
,ScriptTask
,SendTask
,SequenceFlow
,ServiceTask
,Signal
,SignalEventDefinition
,StartEvent
,StringDataObject
,SubProcess
,Task
,TaskWithFieldExtensions
,TerminateEventDefinition
,TextAnnotation
,ThrowEvent
,TimerEventDefinition
,Transaction
,UserTask
,ValuedDataObject
public interface HasExtensionAttributes
interface for accessing Element attributes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addAttribute(ExtensionAttribute attribute)
add attribute to the objectjava.util.Map<java.lang.String,java.util.List<ExtensionAttribute>>
getAttributes()
get element's attributesjava.lang.String
getAttributeValue(java.lang.String namespace, java.lang.String name)
return value of the attribute from given namespace with given name.void
setAttributes(java.util.Map<java.lang.String,java.util.List<ExtensionAttribute>> attributes)
set all object's attributes
-
-
-
Method Detail
-
getAttributes
java.util.Map<java.lang.String,java.util.List<ExtensionAttribute>> getAttributes()
get element's attributes
-
getAttributeValue
java.lang.String getAttributeValue(java.lang.String namespace, java.lang.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(java.util.Map<java.lang.String,java.util.List<ExtensionAttribute>> attributes)
set all object's attributes
-
-