public class DefaultTransformationStrategy extends Object implements ITransformationStrategy
Modifier and Type | Field and Description |
---|---|
protected IEquivalentProvider |
equivalentProvider |
Constructor and Description |
---|
DefaultTransformationStrategy() |
Modifier and Type | Method and Description |
---|---|
boolean |
canTransform(Object source) |
Collection<?> |
getEquivalent(Collection<?> collection,
IEolContext context_,
List<String> rules) |
Object |
getEquivalent(Object source,
IEolContext context_,
List<String> rules) |
IEquivalentProvider |
getEquivalentProvider() |
Collection<?> |
getEquivalents(Collection<?> collection,
IEolContext context_,
List<String> rules) |
Collection<?> |
getEquivalents(Object source,
IEolContext context_,
List<String> rules) |
List<Object> |
getExcluded() |
List<TransformationRule> |
getRulesFor(Object source,
IEtlContext context) |
void |
setEquivalentProvider(IEquivalentProvider equivalentProvider) |
Collection<?> |
transform(Object source,
IEtlContext context,
List<String> rules) |
void |
transformModels(IEtlContext context) |
protected IEquivalentProvider equivalentProvider
public boolean canTransform(Object source)
canTransform
in interface ITransformationStrategy
public Collection<?> transform(Object source, IEtlContext context, List<String> rules) throws EolRuntimeException
transform
in interface ITransformationStrategy
EolRuntimeException
public List<TransformationRule> getRulesFor(Object source, IEtlContext context) throws EolRuntimeException
EolRuntimeException
public Collection<?> getEquivalents(Object source, IEolContext context_, List<String> rules) throws EolRuntimeException
getEquivalents
in interface IEquivalentProvider
EolRuntimeException
public Object getEquivalent(Object source, IEolContext context_, List<String> rules) throws EolRuntimeException
getEquivalent
in interface IEquivalentProvider
EolRuntimeException
public Collection<?> getEquivalent(Collection<?> collection, IEolContext context_, List<String> rules) throws EolRuntimeException
getEquivalent
in interface IEquivalentProvider
EolRuntimeException
public Collection<?> getEquivalents(Collection<?> collection, IEolContext context_, List<String> rules) throws EolRuntimeException
getEquivalents
in interface IEquivalentProvider
EolRuntimeException
public void transformModels(IEtlContext context) throws EolRuntimeException
transformModels
in interface ITransformationStrategy
EolRuntimeException
public void setEquivalentProvider(IEquivalentProvider equivalentProvider)
setEquivalentProvider
in interface ITransformationStrategy
public IEquivalentProvider getEquivalentProvider()
getEquivalentProvider
in interface ITransformationStrategy
Copyright © 2016. All rights reserved.