org.camunda.bpm.dmn.engine.impl.type
Class DefaultTypeDefinition

java.lang.Object
  extended by org.camunda.bpm.dmn.engine.impl.type.DefaultTypeDefinition
All Implemented Interfaces:
DmnTypeDefinition

public class DefaultTypeDefinition
extends Object
implements DmnTypeDefinition

Author:
Philipp Ossler

Constructor Summary
DefaultTypeDefinition()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getTypeName()
           
 String toString()
           
 org.camunda.bpm.engine.variable.value.TypedValue transform(Object value)
          Transform the given value into the type specified by the type name.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultTypeDefinition

public DefaultTypeDefinition()
Method Detail

transform

public org.camunda.bpm.engine.variable.value.TypedValue transform(Object value)
                                                           throws IllegalArgumentException
Description copied from interface: DmnTypeDefinition
Transform the given value into the type specified by the type name.

Specified by:
transform in interface DmnTypeDefinition
Parameters:
value - to transform into the specified type
Returns:
value of specified type
Throws:
IllegalArgumentException - if the value can not be transformed

getTypeName

public String getTypeName()
Specified by:
getTypeName in interface DmnTypeDefinition
Returns:
the type name of this definition

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2017 camunda services GmbH. All rights reserved.