E
- the transformation engine typepublic abstract class AbstractTypeTransformation<E extends TransformationEngine> extends AbstractTransformationFunction<E> implements TypeTransformation<E>
Constructor and Description |
---|
AbstractTypeTransformation() |
Modifier and Type | Method and Description |
---|---|
protected InstanceFactory |
getInstanceFactory()
Get the instance factory
|
InstanceHandler<? super E> |
getInstanceHandler()
Get the handler to partition the source instances (e.g.
|
PropertyTransformer |
getPropertyTransformer()
Get the property transformer to publish any source/target instance pair
to
|
FamilyInstance |
getSource()
Get the source instances.
|
com.google.common.collect.ListMultimap<String,? extends Type> |
getTarget() |
void |
setPropertyTransformer(PropertyTransformer propertyTransformer)
Set the property transformer to publish the source/target instance pairs
to.
|
void |
setSource(FamilyInstance sourceInstances)
Set the source instances.
|
void |
setTarget(com.google.common.collect.ListMultimap<String,? extends Type> target)
Set the target types.
|
checkParameter, getExecutionContext, getOptionalParameter, getParameterChecked, getParameters, setExecutionContext, setParameters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute, setExecutionContext, setParameters
public void setPropertyTransformer(PropertyTransformer propertyTransformer)
TypeTransformation
#execute(String, TransformationEngine, java.util.Map, TransformationLog)
ion to the property transformer using
PropertyTransformer#publish(FamilyInstance, MutableInstance, TransformationLog)
.setPropertyTransformer
in interface TypeTransformation<E extends TransformationEngine>
propertyTransformer
- the property transformerTypeTransformation.setPropertyTransformer(PropertyTransformer)
public PropertyTransformer getPropertyTransformer()
public void setTarget(com.google.common.collect.ListMultimap<String,? extends Type> target)
TypeTransformation
setTarget
in interface TypeTransformation<E extends TransformationEngine>
target
- the source propertiesTypeTransformation.setTarget(ListMultimap)
public com.google.common.collect.ListMultimap<String,? extends Type> getTarget()
protected InstanceFactory getInstanceFactory()
public void setSource(FamilyInstance sourceInstances)
TypeTransformation
setSource
in interface TypeTransformation<E extends TransformationEngine>
sourceInstances
- the source instancesTypeTransformation.setSource(FamilyInstance)
public FamilyInstance getSource()
public InstanceHandler<? super E> getInstanceHandler()
TypeTransformation
getInstanceHandler
in interface TypeTransformation<E extends TransformationEngine>
null
if none is requiredTypeTransformation.getInstanceHandler()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a