Class DefaultTypeDefinition
- java.lang.Object
-
- org.camunda.bpm.dmn.engine.impl.type.DefaultTypeDefinition
-
- All Implemented Interfaces:
DmnTypeDefinition
public class DefaultTypeDefinition extends java.lang.Object implements DmnTypeDefinition
- Author:
- Philipp Ossler
-
-
Constructor Summary
Constructors Constructor Description DefaultTypeDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getTypeName()
java.lang.String
toString()
TypedValue
transform(java.lang.Object value)
Transform the given value into the type specified by the type name.
-
-
-
Method Detail
-
transform
public TypedValue transform(java.lang.Object value) throws java.lang.IllegalArgumentException
Description copied from interface:DmnTypeDefinition
Transform the given value into the type specified by the type name.- Specified by:
transform
in interfaceDmnTypeDefinition
- Parameters:
value
- to transform into the specified type- Returns:
- value of specified type
- Throws:
java.lang.IllegalArgumentException
- if the value can not be transformed
-
getTypeName
public java.lang.String getTypeName()
- Specified by:
getTypeName
in interfaceDmnTypeDefinition
- Returns:
- the type name of this definition
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-