com.sas.dataselectors.filters.tree
Class LogicTreeToStepModelTransform

com.sas.dataselectors.filters.tree.LogicTreeToStepModelTransform
All Implemented Interfaces:
com.sas.util.transforms.TransformInterface, java.io.Serializable

public class LogicTreeToStepModelTransform
implements com.sas.util.transforms.TransformInterface

TODO Supply JavaDoc for class

See Also:
Serialized Form

Constructor Summary
LogicTreeToStepModelTransform()
          Constructs a new transform without supplying a factory for BIQ model objects.
LogicTreeToStepModelTransform(FilterObjectFactoryInterface factory)
          Constructs a new transform and supplies the factory for BIQ model objects.
 
Method Summary
protected  com.sas.iquery.metadata.business.step.CompoundStep createCompoundStep(LogicalConditionNodeInterface node)
           
 FilterObjectFactoryInterface getFactory()
          Returns the factory used when creating new BIQ filter model objects.
protected  com.sas.iquery.metadata.business.step.CompoundStep newCompoundStep()
           
protected  com.sas.iquery.metadata.business.step.CompoundStep newCompoundStep(ConditionalRelationType relationship)
           
protected  com.sas.iquery.metadata.business.step.StepInterface newStep(FilterLogicTestNodeInterface testNode)
           
protected  java.lang.Object processLogicalConditionNode(LogicalConditionNodeInterface root)
           
protected  java.lang.Object processNode(FilterLogicBaseNodeInterface root)
           
protected  java.lang.Object processNotNode(NotNodeInterface root)
           
protected  java.lang.Object processTestNode(FilterLogicTestNodeInterface testNode)
           
 void setFactory(FilterObjectFactoryInterface factory)
          Sets the BIQ filter model object factory.
 java.lang.Object transform(java.lang.Object source)
           
 

Constructor Detail

LogicTreeToStepModelTransform

public LogicTreeToStepModelTransform()
Constructs a new transform without supplying a factory for BIQ model objects.


LogicTreeToStepModelTransform

public LogicTreeToStepModelTransform(FilterObjectFactoryInterface factory)
Constructs a new transform and supplies the factory for BIQ model objects.

Parameters:
factory - the factory to use when creating new BIQ model objects
Method Detail

getFactory

public FilterObjectFactoryInterface getFactory()
Returns the factory used when creating new BIQ filter model objects.

Returns:
the BIQ object factory

setFactory

public void setFactory(FilterObjectFactoryInterface factory)
Sets the BIQ filter model object factory.

Parameters:
factory - the factory to use when creating new BIQ filter model objects

transform

public java.lang.Object transform(java.lang.Object source)
                           throws com.sas.util.transforms.TransformException
Specified by:
transform in interface com.sas.util.transforms.TransformInterface
Throws:
com.sas.util.transforms.TransformException

processNode

protected java.lang.Object processNode(FilterLogicBaseNodeInterface root)
                                throws com.sas.util.transforms.TransformException
Parameters:
root -
Returns:
Throws:
com.sas.util.transforms.TransformException

processNotNode

protected java.lang.Object processNotNode(NotNodeInterface root)
                                   throws com.sas.util.transforms.TransformException
Throws:
com.sas.util.transforms.TransformException

processLogicalConditionNode

protected java.lang.Object processLogicalConditionNode(LogicalConditionNodeInterface root)
                                                throws com.sas.util.transforms.TransformException
Throws:
com.sas.util.transforms.TransformException

processTestNode

protected java.lang.Object processTestNode(FilterLogicTestNodeInterface testNode)
                                    throws com.sas.util.transforms.TransformException
Throws:
com.sas.util.transforms.TransformException

createCompoundStep

protected com.sas.iquery.metadata.business.step.CompoundStep createCompoundStep(LogicalConditionNodeInterface node)

newCompoundStep

protected com.sas.iquery.metadata.business.step.CompoundStep newCompoundStep()
Returns:

newCompoundStep

protected com.sas.iquery.metadata.business.step.CompoundStep newCompoundStep(ConditionalRelationType relationship)

newStep

protected com.sas.iquery.metadata.business.step.StepInterface newStep(FilterLogicTestNodeInterface testNode)



Copyright © 2009 SAS Institute Inc. All Rights Reserved.