com.sas.dataselectors.calculateditems
Class BusinessModelToCalculatedItemAdapter

com.sas.dataselectors.calculateditems.BusinessModelToCalculatedItemAdapter
All Implemented Interfaces:
CalculatedItemInterface, CalculatedItemMetadataInterface, CalculatedItemV2Interface
Direct Known Subclasses:
InformationMapToCalculatedItemAdapter

public class BusinessModelToCalculatedItemAdapter


Field Summary
 
Fields inherited from class com.sas.dataselectors.calculateditems.BaseCalculatedItemAdapter
basePeriod, businessModelObject, description, ERROR_INVALIDEXPR, expression, expressionType, format, function, id, isTimeBasedItem, label, measureExpression, objectFactory, RB_KEY, timeExpressionMeasure, validateCalculationEnabled
 
Fields inherited from interface com.sas.dataselectors.calculateditems.CalculatedItemInterface
CALCITEM_TYPE_BITSTRING, CALCITEM_TYPE_BOOLEAN, CALCITEM_TYPE_CHARACTER, CALCITEM_TYPE_DATE, CALCITEM_TYPE_INTERVAL_DT, CALCITEM_TYPE_INTERVAL_YM, CALCITEM_TYPE_NOT_SET, CALCITEM_TYPE_NUMERIC, CALCITEM_TYPE_OLAP_CATEGORY, CALCITEM_TYPE_OLAP_MEASURE, CALCITEM_TYPE_TIME, CALCITEM_TYPE_TIMESTAMP
 
Constructor Summary
BusinessModelToCalculatedItemAdapter(com.sas.iquery.metadata.business.BusinessModel businessModel)
          Constructs an adapter with the specified BusinessModel
BusinessModelToCalculatedItemAdapter(com.sas.iquery.metadata.business.BusinessModel businessModel, com.sas.iquery.metadata.expr.ExpressionInterface expression, CalculatedObjectFactoryInterface.ImageIconFactoryInterface imageIconFactory)
           
BusinessModelToCalculatedItemAdapter(com.sas.iquery.metadata.business.BusinessModel businessModel, java.lang.String id, java.lang.String label, java.lang.String description, int type, java.lang.String expr)
           
BusinessModelToCalculatedItemAdapter(com.sas.iquery.metadata.business.BusinessModel businessModel, java.lang.String id, java.lang.String label, java.lang.String description, int type, java.lang.String expr, CalculatedObjectFactoryInterface.ImageIconFactoryInterface imageIconFactory)
           
BusinessModelToCalculatedItemAdapter(com.sas.iquery.metadata.business.BusinessModel businessModel, java.lang.String id, java.lang.String label, java.lang.String description, int type, java.lang.String expr, java.lang.String format)
           
BusinessModelToCalculatedItemAdapter(com.sas.iquery.metadata.business.BusinessModel businessModel, java.lang.String id, java.lang.String label, java.lang.String description, int type, java.lang.String expr, java.lang.String format, CalculatedObjectFactoryInterface.ImageIconFactoryInterface imageIconFactory)
           
BusinessModelToCalculatedItemAdapter(CalculatedObjectFactoryInterface factory, com.sas.iquery.metadata.expr.ExpressionInterface expression)
           
BusinessModelToCalculatedItemAdapter(CalculatedObjectFactoryInterface objectFactory, java.lang.Object item)
          Constructs an adapter with the specified BusinessModel
BusinessModelToCalculatedItemAdapter(CalculatedObjectFactoryInterface factory, java.lang.String id, java.lang.String label, java.lang.String description, int type, java.lang.String expr)
           
 
Method Summary
 
Methods inherited from class com.sas.dataselectors.calculateditems.BaseCalculatedItemAdapter
commitChanges, convertToCalcItemType, convertToExpressionType, getBasePeriod, getBusinessDataSourceTree, getBusinessModelObject, getDataSourceTree, getDescription, getExpression, getExpressionAreaString, getExpressionType, getExpressionTypeLabel, getFormat, getFunctionListTree, getId, getLabel, getLastInvalidCalculatedItemMessage, getLastInvalidExpressionException, getLevelHasMembers, getLevelNameMap, getLevelNames, getLocale, getMaxOutputObservations, getMeasureExpression, getMeasureNameMap, getMeasureNames, getMemberNames, getName, getOperationList, getPhysicalDataSourceTree, getPromptDataSourceTree, getTimeFunction, getValidExpressionTypeNames, getValidExpressionTypeValues, isTimeBasedItem, isValidateCalculationEnabled, setBasePeriod, setDescription, setExpression, setExpressionType, setFormat, setId, setLabel, setLocale, setMaxOutputObservations, setMeasureExpression, setName, setTimeFunction, setValidateCalculationEnabled, toString, validate, validate, validateCalculation
 

Constructor Detail

BusinessModelToCalculatedItemAdapter

public BusinessModelToCalculatedItemAdapter(com.sas.iquery.metadata.business.BusinessModel businessModel)
Constructs an adapter with the specified BusinessModel

Parameters:
businessModel - is a BusinessModel to use for creating the business objects factory

BusinessModelToCalculatedItemAdapter

public BusinessModelToCalculatedItemAdapter(CalculatedObjectFactoryInterface objectFactory,
                                            java.lang.Object item)
Constructs an adapter with the specified BusinessModel

Parameters:
objectFactory - is a CalculatedObjectFactoryInterface to use for creating business objects
businessObject - is a Object that the factory will use to initialize a CalculatedItem using updateCalculatedItemFromBusinessModelObject(...)

BusinessModelToCalculatedItemAdapter

public BusinessModelToCalculatedItemAdapter(CalculatedObjectFactoryInterface factory,
                                            java.lang.String id,
                                            java.lang.String label,
                                            java.lang.String description,
                                            int type,
                                            java.lang.String expr)

BusinessModelToCalculatedItemAdapter

public BusinessModelToCalculatedItemAdapter(CalculatedObjectFactoryInterface factory,
                                            com.sas.iquery.metadata.expr.ExpressionInterface expression)

BusinessModelToCalculatedItemAdapter

public BusinessModelToCalculatedItemAdapter(com.sas.iquery.metadata.business.BusinessModel businessModel,
                                            java.lang.String id,
                                            java.lang.String label,
                                            java.lang.String description,
                                            int type,
                                            java.lang.String expr)

BusinessModelToCalculatedItemAdapter

public BusinessModelToCalculatedItemAdapter(com.sas.iquery.metadata.business.BusinessModel businessModel,
                                            java.lang.String id,
                                            java.lang.String label,
                                            java.lang.String description,
                                            int type,
                                            java.lang.String expr,
                                            CalculatedObjectFactoryInterface.ImageIconFactoryInterface imageIconFactory)

BusinessModelToCalculatedItemAdapter

public BusinessModelToCalculatedItemAdapter(com.sas.iquery.metadata.business.BusinessModel businessModel,
                                            com.sas.iquery.metadata.expr.ExpressionInterface expression,
                                            CalculatedObjectFactoryInterface.ImageIconFactoryInterface imageIconFactory)

BusinessModelToCalculatedItemAdapter

public BusinessModelToCalculatedItemAdapter(com.sas.iquery.metadata.business.BusinessModel businessModel,
                                            java.lang.String id,
                                            java.lang.String label,
                                            java.lang.String description,
                                            int type,
                                            java.lang.String expr,
                                            java.lang.String format)

BusinessModelToCalculatedItemAdapter

public BusinessModelToCalculatedItemAdapter(com.sas.iquery.metadata.business.BusinessModel businessModel,
                                            java.lang.String id,
                                            java.lang.String label,
                                            java.lang.String description,
                                            int type,
                                            java.lang.String expr,
                                            java.lang.String format,
                                            CalculatedObjectFactoryInterface.ImageIconFactoryInterface imageIconFactory)



Copyright © 2009 SAS Institute Inc. All Rights Reserved.