All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.activiti.bpmn.model.HasExtensionAttributes Maven / Gradle / Ivy

package org.activiti.bpmn.model;

import java.util.List;
import java.util.Map;

/**
 * interface for accessing Element attributes.
 *
 */
public interface HasExtensionAttributes {
  /** get element's attributes */
  Map> getAttributes();

  /**
   * return value of the attribute from given namespace with given name.
   * 
   * @param namespace
   * @param name
   * @return attribute value or null in case when attribute was not found
   */
  String getAttributeValue(String namespace, String name);

  /** add attribute to the object */
  void addAttribute(ExtensionAttribute attribute);

  /** set all object's attributes */
  void setAttributes(Map> attributes);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy