Package org.kie.dmn.api.core
Interface DMNMetadata
-
public interface DMNMetadata
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>
asMap()
java.lang.Object
get(java.lang.String name)
Returns an attribute associated with this meta data by name.java.lang.Object
set(java.lang.String name, java.lang.Object value)
Sets or changes the value of an attribute
-
-
-
Method Detail
-
set
java.lang.Object set(java.lang.String name, java.lang.Object value)
Sets or changes the value of an attribute- Parameters:
name
- the attribute namevalue
- the attribute value- Returns:
- the previous value associated with the name if present, null otherwise
-
get
java.lang.Object get(java.lang.String name)
Returns an attribute associated with this meta data by name.- Parameters:
name
- the attribute name- Returns:
- the attribute object
-
asMap
java.util.Map<java.lang.String,java.lang.Object> asMap()
- Returns:
- a read-only map of attributes.
-
-