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 booleanequals(java.lang.Object obj)java.lang.StringgetTypeName()java.lang.StringtoString()TypedValuetransform(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:DmnTypeDefinitionTransform the given value into the type specified by the type name.- Specified by:
transformin 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:
getTypeNamein interfaceDmnTypeDefinition- Returns:
- the type name of this definition
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-