|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.dataselectors.calculateditems.BaseCalculatedObjectFactory
public abstract class BaseCalculatedObjectFactory
Description: Factory (sort of) for creating, updating, and managing objects between the BusinessModel and the CalculatedItem classes Copyright: Copyright (c) 2002 Company: SAS
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.sas.dataselectors.calculateditems.CalculatedObjectFactoryInterface |
---|
CalculatedObjectFactoryInterface.ImageIconFactoryInterface |
Constructor Summary | |
---|---|
BaseCalculatedObjectFactory(com.sas.iquery.metadata.business.BusinessModel businessModel,
com.sas.iquery.metadata.expr.ResourceScope scope)
Constructor - using a businessModel that could be either a DataSelector or a InformationMap |
|
BaseCalculatedObjectFactory(com.sas.iquery.metadata.business.BusinessModel businessModel,
com.sas.iquery.metadata.expr.ResourceScope scope,
java.util.Locale locale)
|
Method Summary | |
---|---|
protected void |
_init()
|
boolean |
canBusinessModelObjectHaveChildren(java.lang.Object bmObject)
|
boolean |
canBusinessModelObjectHaveValues(java.lang.Object bmObject)
|
boolean |
canRemoveAllCalculatedItems()
|
protected java.util.List |
convertBusinessObjectListToValuesList(java.util.List businessObjects,
java.lang.String formatString)
|
static int |
convertToCalcItemType(int expressionType,
boolean isOLAP)
|
protected com.sas.iquery.metadata.business.DataItem |
convertToDataItem(CalculatedItemInterface calculatedItem)
Converts the specified calculated item to a data item. |
static int |
convertToExpressionType(int calculatedItemType,
boolean isOLAP)
|
protected void |
finalize()
|
com.sas.expressions.visuals.DataSourceTreeInterface |
getBusinessDataSourceTree()
Get the DataSource tree model from the Business (Data Item) view of the business model |
java.util.List |
getBusinessModelCalculatedItemObjects(boolean includeBaseModels)
|
java.util.List |
getBusinessModelObjectChildren(java.lang.Object bmObject)
|
java.lang.String |
getBusinessModelObjectImageName(java.lang.Object value,
boolean expanded)
|
java.util.List |
getBusinessModelObjectValues(java.lang.Object bmObject)
|
java.lang.String |
getBusinessModelObjectValuesToInsert(java.lang.Object item)
|
java.lang.String |
getBusinessObjectDescription(java.lang.Object bmObject)
|
java.lang.String |
getBusinessObjectDisplayName(java.lang.Object item)
|
java.lang.String |
getBusinessObjectInsertName(java.lang.Object item)
|
java.lang.String |
getBusinessObjectTipText(java.lang.Object bmObject)
|
static java.lang.String[] |
getCalcItemTypeNames(boolean isOLAP)
|
static int[] |
getCalcItemTypeValues(boolean isOLAP)
|
static java.util.List |
getChildFormats(com.sas.iquery.metadata.business.DataItem dataItem,
int restrictByType)
Returns a list of format strings used by the resources of this data item |
static java.util.List |
getChildFormats(com.sas.iquery.metadata.expr.ExpressionInterface expression,
int restrictByType)
Returns a list of format strings used by the resources of this data item |
java.util.List |
getChildFormats(java.lang.String expressionText,
int expressionType,
int restrictByType)
|
java.util.List |
getDataItems(boolean includeBaseModels)
returns a list of all the DataItems |
java.util.List |
getDataItemsAndFolders(boolean includeBaseModels)
|
static java.util.List |
getDataItemValues(com.sas.iquery.metadata.business.DataItem dataItem,
int maxValues)
|
protected java.util.List |
getDataServiceValues(com.sas.iquery.metadata.business.DataItem dataItem)
|
java.util.List |
getDataSources(boolean includeBaseModels)
Returns a list of all logical getDataSources |
com.sas.expressions.visuals.DataSourceTreeInterface |
getDataSourceTree()
Get the Default DataSource tree model for this business model |
static java.lang.String |
getExpressionTypeLabel(int expressionType,
boolean isOlap)
|
java.lang.String[] |
getExpressionTypeNames()
|
int[] |
getExpressionTypeValues()
|
java.lang.String |
getExpressionUtilText(com.sas.iquery.metadata.expr.ExpressionInterface expression)
|
static java.util.List |
getExpressionValues(com.sas.iquery.metadata.business.BusinessModel sourceModel,
com.sas.iquery.metadata.expr.ExpressionInterface expression,
int maxValues)
|
java.lang.String |
getFormatFromResources(java.lang.Object bmObject)
|
com.sas.expressions.visuals.FunctionTreeInterface |
getFunctionListTree()
Get the Category Tree with Function Lists model |
javax.swing.Icon |
getImageIconByImageName(java.lang.String imageName)
|
CalculatedObjectFactoryInterface.ImageIconFactoryInterface |
getImageIconFactory()
|
javax.swing.Icon |
getImageIconFromIqVisualsBundle(java.lang.String imageName)
|
static com.sas.iquery.metadata.IntelligentQueryMetadataServiceInterface |
getIQueryMetadataService(com.sas.iquery.metadata.business.BusinessModel businessModel)
|
java.lang.String |
getLastInvalidCalculatedItemMessage()
|
java.lang.Exception |
getLastInvalidExpressionException()
|
boolean |
getLevelHasMembers()
Indicates whether or not the DataSelection for this factory contains levels which have members. |
java.util.Map |
getLevelNameMap(boolean includeHierarchyName)
Gets the level names in a map with the Level Display names as the keys and the insertable text as the values. |
java.lang.String[] |
getLevelNames(boolean includeHierarchyName)
get all the level names |
java.util.Locale |
getLocale()
|
int |
getMaxOutputObservations()
Returns the current maximum number of output observations returned when gathering a list of possible values for a data item or physical item in the data source tree. |
java.util.Map |
getMeasureNameMap()
Gets the measure names and each insertable value. |
java.lang.String[] |
getMeasureNames()
Gets the measure names. |
java.lang.String[] |
getMemberNames(java.lang.String levelName)
Get the member names for a given level. |
com.sas.expressions.visuals.OperationListInterface |
getOperationList()
Get the Operations List model |
com.sas.expressions.visuals.DataSourceTreeInterface |
getPhysicalDataSourceTree()
Get the DataSource tree model from the Physical view of the business model |
com.sas.expressions.visuals.DataSourceTreeInterface |
getPromptDataSourceTree()
Get the DataSource tree model containing the prompts of the business model |
com.sas.iquery.metadata.expr.ResourceScope |
getResourceScope()
|
java.lang.String |
getSimpleDisplayNameFormat()
|
java.lang.String |
getSimpleDuplicateNameFormat()
|
int |
getSimpleDuplicateStartIndex()
|
static boolean |
isInterruptedGetPossibleFilterValues(com.sas.iquery.dataservices.DataServicesException e)
|
boolean |
isTypeChangeWarningIgnored()
|
java.lang.Object |
newBusinessModelCalculatedItemObject()
|
java.lang.Object |
newBusinessModelCalculatedItemObject(CalculatedItemInterface item)
|
CalculatedItemInterface |
newCalculatedItem(CalculatedItemInterface toBeCloned)
|
com.sas.iquery.metadata.expr.ExpressionInterface |
newExpressionUtilExpression(java.lang.String text,
int type)
|
com.sas.iquery.metadata.expr.ExpressionInterface |
parseExpression(java.lang.String text,
int type)
|
void |
removeBusinessModelCalculatedItemObject(java.lang.Object bmObject)
|
static boolean |
setFormat(com.sas.iquery.metadata.business.DataItem dataItem,
java.lang.String format)
sets the format on the dataitem with checking to see if format is writable first |
void |
setImageIconFactory(CalculatedObjectFactoryInterface.ImageIconFactoryInterface imageIconFactory)
|
void |
setLocale(java.util.Locale locale)
|
void |
setMaxOutputObservations(int max)
Sets the current maximum number of output observations to be returned when gathering a list of possible values for a data item or physical item in the data source tree. |
void |
setResourceScope(com.sas.iquery.metadata.expr.ResourceScope scope)
|
void |
setSimpleDisplayNameFormat(java.lang.String format)
|
void |
setSimpleDuplicateNameFormat(java.lang.String format)
|
void |
setSimpleDuplicateStartIndex(int index)
|
void |
setTypeChangeWarningIgnored(boolean isTypeChangeWarningIgnored)
|
boolean |
updateBusinessModelObjectFromCalculatedItem(java.lang.Object bmObject,
CalculatedItemInterface item)
|
boolean |
updateCalculatedItemFromBusinessModelObject(CalculatedItemInterface item,
java.lang.Object bmObject)
|
boolean |
updateCalculatedItemFromCalcValues(CalculatedItemInterface item,
java.lang.String id,
java.lang.String label,
java.lang.String desc,
int calcType,
java.lang.String text)
|
boolean |
updateCalculatedItemFromExprValues(CalculatedItemInterface item,
java.lang.String id,
java.lang.String label,
java.lang.String desc,
int exprType,
java.lang.String text)
|
boolean |
validateCalculatedItem(CalculatedItemInterface item)
|
boolean |
validateCalculatedItem(CalculatedItemInterface item,
boolean validateText)
|
boolean |
validateCalculatedItemOnServer(CalculatedItemInterface calculatedItem)
Validates the specified calculated item on the server by building a corresponding data item and then calling down to IQ to validate the data item. |
static void |
validateExpression(com.sas.iquery.metadata.business.BusinessModel sourceModel,
com.sas.iquery.metadata.expr.ExpressionInterface expression)
|
boolean |
validateExpression(com.sas.iquery.metadata.expr.ExpressionInterface expression)
|
boolean |
validateItemCalculation(CalculatedItemInterface item)
|
boolean |
validateItemCalculation(CalculatedItemInterface item,
boolean validateTextOnServer)
|
Methods inherited from interface com.sas.dataselectors.calculateditems.CalculatedObjectFactoryInterface |
---|
newCalculatedItemFromBusinessObject |
Field Detail |
---|
public static final java.lang.String RB_KEY
protected java.util.HashMap parseExpressionMap
public static java.lang.String ERROR_NOMETADATASERVICE
public static java.lang.String ERROR_NODATASERVICES
public static java.lang.String ERROR_REMOVINGDATAITEM
public static java.lang.String ERROR_CREATINGDATAITEM
public static java.lang.String ERROR_ADDINGDATAITEM
public static java.lang.String ERROR_UPDATINGDATAITEM
public static java.lang.String ERROR_UPDATINGEXPR
public static java.lang.String ERROR_FINDINGICONIMAGE
public static java.lang.String ERROR_PARSINGEXPRTEXT
public static java.lang.String ERROR_FORMATTINGEXPRTEXT
public java.util.Map _cachedChildrenLists
protected com.sas.iquery.metadata.business.DataSelection _timeDateSyntaxDataSelection
protected java.util.Map _timeDateLookupCache
public static java.lang.String ERROR_TYPENOTSET
public static java.lang.String ERROR_TYPEINVALID
public static java.lang.String ERROR_INVALIDITEM
public static java.lang.String ERROR_INVALIDEXPR
public static java.lang.String ERROR_INVALIDITEM_LABEL
public static int MAXIMUM_OLAPLABELLENGTH
public static java.lang.String ERROR_INVALIDITEM_OLAPLABELLENGTH
public java.lang.String lastInvalidCalculatedItemMessage
public static java.lang.String IMAGENAME_OBJECT_DATASOURCE
public static java.lang.String IMAGENAME_OBJECT_COLLECTION
public static java.lang.String IMAGENAME_FOLDER_CLOSED
public static java.lang.String IMAGENAME_FOLDER_OPENED
public static java.lang.String IMAGENAME_OBJECT_DATASET
public static java.lang.String IMAGENAME_OBJECT_TYPE_COLUMN
public static java.lang.String IMAGENAME_OBJECT_TYPE_PROMPT
public static java.lang.String IMAGENAME_OBJECT_CUBE
public static java.lang.String IMAGENAME_OBJECT_CUBE_LEVEL
public static java.lang.String IMAGENAME_OBJECT_CUBE_DIMENSION
public static java.lang.String IMAGENAME_OBJECT_CUBE_HIERARCHY
public static java.lang.String IMAGENAME_OBJECT_CUBE_MEASURE
public static java.lang.String IMAGENAME_OBJECT_FILTER
public static java.lang.String IMAGENAME_OBJECT_PROMPTED_FILTER
public static java.lang.String IMAGENAME_OBJECT_MEASURE
public static java.lang.String IMAGENAME_OBJECT_DETAIL
public static java.lang.String IMAGENAME_OBJECT_CATEGORY
public static java.lang.String IMAGENAME_OBJECT_PROMPTED_MEASURE
public static java.lang.String IMAGENAME_OBJECT_PROMPTED_DETAIL
public static java.lang.String IMAGENAME_OBJECT_PROMPTED_CATEGORY
public static java.lang.String IMAGENAME_COLUMN_TYPE_CHARACTER
public static java.lang.String IMAGENAME_COLUMN_TYPE_NUMERIC
public static java.lang.String IMAGENAME_COLUMN_TYPE_DATE
public static java.lang.String IMAGENAME_COLUMN_TYPE_TIME
public static java.lang.String IMAGENAME_COLUMN_TYPE_TIMESTAMP
public static java.lang.String IMAGENAME_MEMBER_TYPE_CHARACTER
public static java.lang.String IMAGENAME_MEMBER_TYPE_NUMERIC
public static java.lang.String IMAGENAME_MEMBER_TYPE_DATE
public static java.lang.String IMAGENAME_MEMBER_TYPE_TIME
public static java.lang.String IMAGENAME_MEMBER_TYPE_TIMESTAMP
public static java.lang.String LABEL_CALCITEM_TYPE_NOT_SET
public static java.lang.String LABEL_CALCITEM_TYPE_BITSTRING
public static java.lang.String LABEL_CALCITEM_TYPE_NUMERIC
public static java.lang.String LABEL_CALCITEM_TYPE_CHARACTER
public static java.lang.String LABEL_CALCITEM_TYPE_DATE
public static java.lang.String LABEL_CALCITEM_TYPE_TIME
public static java.lang.String LABEL_CALCITEM_TYPE_TIMESTAMP
public static java.lang.String LABEL_CALCITEM_TYPE_INTERVAL_YM
public static java.lang.String LABEL_CALCITEM_TYPE_INTERVAL_DT
public static java.lang.String LABEL_CALCITEM_TYPE_BOOLEAN
public static java.lang.String LABEL_CALCITEM_TYPE_OLAP_MEASURE
public static java.lang.String LABEL_CALCITEM_TYPE_OLAP_CATEGORY
public java.lang.Exception lastInvalidExpressionException
public static final int DEFAULT_GOVERNING_LIMIT
protected int _maxPhysicalValuestoLoad
protected boolean _isTypeChangeWarningIgnored
Constructor Detail |
---|
public BaseCalculatedObjectFactory(com.sas.iquery.metadata.business.BusinessModel businessModel, com.sas.iquery.metadata.expr.ResourceScope scope)
public BaseCalculatedObjectFactory(com.sas.iquery.metadata.business.BusinessModel businessModel, com.sas.iquery.metadata.expr.ResourceScope scope, java.util.Locale locale)
Method Detail |
---|
protected void _init()
public static com.sas.iquery.metadata.IntelligentQueryMetadataServiceInterface getIQueryMetadataService(com.sas.iquery.metadata.business.BusinessModel businessModel)
public void setLocale(java.util.Locale locale)
public java.util.Locale getLocale()
public boolean getLevelHasMembers()
getLevelHasMembers
in interface CalculatedItemMetadataInterface
getLevelHasMembers
in interface CalculatedObjectFactoryInterface
CalculatedItemMetadataInterface.getMemberNames(String)
public java.lang.String[] getMeasureNames()
CalculatedItemMetadataInterface
getMeasureNames
in interface CalculatedItemMetadataInterface
getMeasureNames
in interface CalculatedObjectFactoryInterface
public java.util.Map getMeasureNameMap()
CalculatedItemMetadataInterface
getMeasureNameMap
in interface CalculatedItemMetadataInterface
getMeasureNameMap
in interface CalculatedObjectFactoryInterface
public java.lang.String[] getLevelNames(boolean includeHierarchyName)
getLevelNames
in interface CalculatedItemMetadataInterface
getLevelNames
in interface CalculatedObjectFactoryInterface
includeHierarchyName
- set to true if the hierarchy name for a given level is to
be returned (only used if getLevelHasMembers() is true)
CalculatedItemMetadataInterface.getLevelHasMembers()
public java.util.Map getLevelNameMap(boolean includeHierarchyName)
CalculatedItemMetadataInterface
getLevelNameMap
in interface CalculatedItemMetadataInterface
getLevelNameMap
in interface CalculatedObjectFactoryInterface
includeHierarchyName
- set to true if the hierarchy name for a given level is to
be returned (only used if getLevelHasMembers() is true)
CalculatedItemMetadataInterface.getLevelHasMembers()
public java.lang.String[] getMemberNames(java.lang.String levelName)
CalculatedItemMetadataInterface
getMemberNames
in interface CalculatedItemMetadataInterface
getMemberNames
in interface CalculatedObjectFactoryInterface
levelName
- the level for which to get the member names
CalculatedItemMetadataInterface.getLevelHasMembers()
public int getSimpleDuplicateStartIndex()
public void setSimpleDuplicateStartIndex(int index)
public java.lang.String getSimpleDuplicateNameFormat()
public void setSimpleDuplicateNameFormat(java.lang.String format)
public java.lang.String getSimpleDisplayNameFormat()
public void setSimpleDisplayNameFormat(java.lang.String format)
public com.sas.expressions.visuals.DataSourceTreeInterface getPhysicalDataSourceTree()
CalculatedItemMetadataInterface
getPhysicalDataSourceTree
in interface CalculatedItemMetadataInterface
getPhysicalDataSourceTree
in interface CalculatedObjectFactoryInterface
public com.sas.expressions.visuals.DataSourceTreeInterface getBusinessDataSourceTree()
CalculatedItemMetadataInterface
getBusinessDataSourceTree
in interface CalculatedItemMetadataInterface
getBusinessDataSourceTree
in interface CalculatedObjectFactoryInterface
public com.sas.expressions.visuals.DataSourceTreeInterface getPromptDataSourceTree()
CalculatedItemMetadataInterface
getPromptDataSourceTree
in interface CalculatedItemMetadataInterface
getPromptDataSourceTree
in interface CalculatedObjectFactoryInterface
public com.sas.expressions.visuals.DataSourceTreeInterface getDataSourceTree()
CalculatedItemMetadataInterface
getDataSourceTree
in interface CalculatedItemMetadataInterface
getDataSourceTree
in interface CalculatedObjectFactoryInterface
public com.sas.expressions.visuals.FunctionTreeInterface getFunctionListTree()
CalculatedItemMetadataInterface
getFunctionListTree
in interface CalculatedItemMetadataInterface
getFunctionListTree
in interface CalculatedObjectFactoryInterface
public com.sas.expressions.visuals.OperationListInterface getOperationList()
CalculatedItemMetadataInterface
getOperationList
in interface CalculatedItemMetadataInterface
getOperationList
in interface CalculatedObjectFactoryInterface
public java.util.List getDataItems(boolean includeBaseModels)
getDataItems
in interface CalculatedObjectFactoryInterface
public java.util.List getBusinessModelCalculatedItemObjects(boolean includeBaseModels)
getBusinessModelCalculatedItemObjects
in interface CalculatedObjectFactoryInterface
public void removeBusinessModelCalculatedItemObject(java.lang.Object bmObject)
removeBusinessModelCalculatedItemObject
in interface CalculatedObjectFactoryInterface
public java.lang.Object newBusinessModelCalculatedItemObject()
newBusinessModelCalculatedItemObject
in interface CalculatedObjectFactoryInterface
public java.lang.Object newBusinessModelCalculatedItemObject(CalculatedItemInterface item)
newBusinessModelCalculatedItemObject
in interface CalculatedObjectFactoryInterface
public CalculatedItemInterface newCalculatedItem(CalculatedItemInterface toBeCloned)
newCalculatedItem
in interface CalculatedObjectFactoryInterface
public boolean updateCalculatedItemFromExprValues(CalculatedItemInterface item, java.lang.String id, java.lang.String label, java.lang.String desc, int exprType, java.lang.String text)
updateCalculatedItemFromExprValues
in interface CalculatedObjectFactoryInterface
public boolean updateCalculatedItemFromCalcValues(CalculatedItemInterface item, java.lang.String id, java.lang.String label, java.lang.String desc, int calcType, java.lang.String text)
updateCalculatedItemFromCalcValues
in interface CalculatedObjectFactoryInterface
public boolean updateCalculatedItemFromBusinessModelObject(CalculatedItemInterface item, java.lang.Object bmObject)
updateCalculatedItemFromBusinessModelObject
in interface CalculatedObjectFactoryInterface
public static boolean setFormat(com.sas.iquery.metadata.business.DataItem dataItem, java.lang.String format)
dataitem
- format
-
public boolean updateBusinessModelObjectFromCalculatedItem(java.lang.Object bmObject, CalculatedItemInterface item)
updateBusinessModelObjectFromCalculatedItem
in interface CalculatedObjectFactoryInterface
public java.lang.String getFormatFromResources(java.lang.Object bmObject)
getFormatFromResources
in interface CalculatedObjectFactoryInterface
public java.lang.String[] getExpressionTypeNames()
getExpressionTypeNames
in interface CalculatedObjectFactoryInterface
public static java.lang.String[] getCalcItemTypeNames(boolean isOLAP)
public int[] getExpressionTypeValues()
getExpressionTypeValues
in interface CalculatedObjectFactoryInterface
public static int[] getCalcItemTypeValues(boolean isOLAP)
public static int convertToCalcItemType(int expressionType, boolean isOLAP)
public static java.lang.String getExpressionTypeLabel(int expressionType, boolean isOlap)
public static int convertToExpressionType(int calculatedItemType, boolean isOLAP)
public java.util.List getDataSources(boolean includeBaseModels)
getDataSources
in interface CalculatedObjectFactoryInterface
public java.lang.String getBusinessObjectDisplayName(java.lang.Object item)
getBusinessObjectDisplayName
in interface CalculatedObjectFactoryInterface
public java.lang.String getBusinessObjectDescription(java.lang.Object bmObject)
getBusinessObjectDescription
in interface CalculatedObjectFactoryInterface
public java.lang.String getBusinessObjectTipText(java.lang.Object bmObject)
getBusinessObjectTipText
in interface CalculatedObjectFactoryInterface
public java.lang.String getBusinessObjectInsertName(java.lang.Object item)
getBusinessObjectInsertName
in interface CalculatedObjectFactoryInterface
public boolean canBusinessModelObjectHaveChildren(java.lang.Object bmObject)
canBusinessModelObjectHaveChildren
in interface CalculatedObjectFactoryInterface
public java.util.List getBusinessModelObjectChildren(java.lang.Object bmObject)
getBusinessModelObjectChildren
in interface CalculatedObjectFactoryInterface
public boolean canBusinessModelObjectHaveValues(java.lang.Object bmObject)
canBusinessModelObjectHaveValues
in interface CalculatedObjectFactoryInterface
public java.util.List getBusinessModelObjectValues(java.lang.Object bmObject)
getBusinessModelObjectValues
in interface CalculatedObjectFactoryInterface
protected java.util.List convertBusinessObjectListToValuesList(java.util.List businessObjects, java.lang.String formatString)
protected java.util.List getDataServiceValues(com.sas.iquery.metadata.business.DataItem dataItem)
public java.lang.String getBusinessModelObjectValuesToInsert(java.lang.Object item)
getBusinessModelObjectValuesToInsert
in interface CalculatedObjectFactoryInterface
public java.lang.String getLastInvalidCalculatedItemMessage()
getLastInvalidCalculatedItemMessage
in interface CalculatedObjectFactoryInterface
public boolean validateCalculatedItem(CalculatedItemInterface item)
validateCalculatedItem
in interface CalculatedObjectFactoryInterface
public boolean validateCalculatedItem(CalculatedItemInterface item, boolean validateText)
validateCalculatedItem
in interface CalculatedObjectFactoryInterface
public boolean validateItemCalculation(CalculatedItemInterface item)
validateItemCalculation
in interface CalculatedObjectFactoryInterface
public boolean validateItemCalculation(CalculatedItemInterface item, boolean validateTextOnServer)
public java.lang.String getBusinessModelObjectImageName(java.lang.Object value, boolean expanded)
getBusinessModelObjectImageName
in interface CalculatedObjectFactoryInterface
public CalculatedObjectFactoryInterface.ImageIconFactoryInterface getImageIconFactory()
public void setImageIconFactory(CalculatedObjectFactoryInterface.ImageIconFactoryInterface imageIconFactory)
public javax.swing.Icon getImageIconByImageName(java.lang.String imageName)
public javax.swing.Icon getImageIconFromIqVisualsBundle(java.lang.String imageName)
getImageIconFromIqVisualsBundle
in interface CalculatedObjectFactoryInterface
public com.sas.iquery.metadata.expr.ResourceScope getResourceScope()
getResourceScope
in interface CalculatedObjectFactoryInterface
public void setResourceScope(com.sas.iquery.metadata.expr.ResourceScope scope)
setResourceScope
in interface CalculatedObjectFactoryInterface
public java.lang.String getExpressionUtilText(com.sas.iquery.metadata.expr.ExpressionInterface expression)
getExpressionUtilText
in interface CalculatedObjectFactoryInterface
public com.sas.iquery.metadata.expr.ExpressionInterface newExpressionUtilExpression(java.lang.String text, int type)
newExpressionUtilExpression
in interface CalculatedObjectFactoryInterface
public java.lang.Exception getLastInvalidExpressionException()
getLastInvalidExpressionException
in interface CalculatedObjectFactoryInterface
public com.sas.iquery.metadata.expr.ExpressionInterface parseExpression(java.lang.String text, int type)
public boolean validateExpression(com.sas.iquery.metadata.expr.ExpressionInterface expression)
public static void validateExpression(com.sas.iquery.metadata.business.BusinessModel sourceModel, com.sas.iquery.metadata.expr.ExpressionInterface expression) throws com.sas.iquery.dataservices.DataServicesException, com.sas.iquery.metadata.MetadataException
com.sas.iquery.dataservices.DataServicesException
com.sas.iquery.metadata.MetadataException
public boolean validateCalculatedItemOnServer(CalculatedItemInterface calculatedItem)
calculatedItem
- The calculated item to validate on the server
protected com.sas.iquery.metadata.business.DataItem convertToDataItem(CalculatedItemInterface calculatedItem)
calculatedItem
- The calculated item to convert.
public static java.util.List getExpressionValues(com.sas.iquery.metadata.business.BusinessModel sourceModel, com.sas.iquery.metadata.expr.ExpressionInterface expression, int maxValues) throws com.sas.iquery.dataservices.DataServicesException, com.sas.iquery.metadata.MetadataException
com.sas.iquery.dataservices.DataServicesException
com.sas.iquery.metadata.MetadataException
public static java.util.List getDataItemValues(com.sas.iquery.metadata.business.DataItem dataItem, int maxValues)
public static boolean isInterruptedGetPossibleFilterValues(com.sas.iquery.dataservices.DataServicesException e)
public static java.util.List getChildFormats(com.sas.iquery.metadata.business.DataItem dataItem, int restrictByType)
DataItem
- int
- restrictByType (see ExpressionTypes) use ExpressionTypes.EXP_TYPE_NOT_SET for all
public static java.util.List getChildFormats(com.sas.iquery.metadata.expr.ExpressionInterface expression, int restrictByType)
DataItem
- int
- restrictByType (see ExpressionTypes) use ExpressionTypes.EXP_TYPE_NOT_SET for all
public java.util.List getChildFormats(java.lang.String expressionText, int expressionType, int restrictByType)
getChildFormats
in interface CalculatedObjectFactoryInterface
public java.util.List getDataItemsAndFolders(boolean includeBaseModels)
getDataItemsAndFolders
in interface CalculatedObjectFactoryInterface
public boolean canRemoveAllCalculatedItems()
canRemoveAllCalculatedItems
in interface CalculatedObjectFactoryInterface
public int getMaxOutputObservations()
CalculatedItemMetadataInterface
getMaxOutputObservations
in interface CalculatedItemMetadataInterface
public void setMaxOutputObservations(int max)
CalculatedItemMetadataInterface
setMaxOutputObservations
in interface CalculatedItemMetadataInterface
max
- the new maximum number of output observationsGoverning
protected void finalize()
finalize
in class java.lang.Object
public boolean isTypeChangeWarningIgnored()
public void setTypeChangeWarningIgnored(boolean isTypeChangeWarningIgnored)
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |