public class DmnTypeDefinitionImpl extends Object implements DmnTypeDefinition
Modifier and Type | Field and Description |
---|---|
protected static DmnEngineLogger |
LOG |
protected DmnDataTypeTransformer |
transformer |
protected String |
typeName |
Constructor and Description |
---|
DmnTypeDefinitionImpl(String typeName,
DmnDataTypeTransformer transformer) |
Modifier and Type | Method and Description |
---|---|
String |
getTypeName() |
void |
setTransformer(DmnDataTypeTransformer transformer) |
void |
setTypeName(String typeName) |
String |
toString() |
org.camunda.bpm.engine.variable.value.TypedValue |
transform(Object value)
Transform the given value into the type specified by the type name.
|
protected org.camunda.bpm.engine.variable.value.TypedValue |
transformNotNullValue(Object value) |
protected static final DmnEngineLogger LOG
protected String typeName
protected DmnDataTypeTransformer transformer
public DmnTypeDefinitionImpl(String typeName, DmnDataTypeTransformer transformer)
public org.camunda.bpm.engine.variable.value.TypedValue transform(Object value)
DmnTypeDefinition
transform
in interface DmnTypeDefinition
value
- to transform into the specified typeprotected org.camunda.bpm.engine.variable.value.TypedValue transformNotNullValue(Object value)
public String getTypeName()
getTypeName
in interface DmnTypeDefinition
public void setTypeName(String typeName)
public void setTransformer(DmnDataTypeTransformer transformer)
Copyright © 2017. All rights reserved.