|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface CalculatedMeasure
In a dimension, a member whose value is derived from the values of other members.
Attributes of CalculatedMeasure are:
Associations of CalculatedMeasure are:
factory
create methods. // create a store to contain your objects for this change. If you do not have an existing object // or store to use. You may obtain the store from another object by using Object.getObjectStore(). MdFactory factory; //where "factory" is a valid MdFactory instance MdObjectStore objectStore = factory.createObjectStore(); CalculatedMeasure myObject = (CalculatedMeasure) factory.createComplexMetadataObject(objectStore, "CalculatedMeasure_Object", MetadataObjects.CALCULATEDMEASURE, "AAAAAAAA"); myObject.updateMetadataAll(); // Write object to server objectStore.dispose(); // dispose of the object store if it is no longer needed
MdOMIUtil.
updateMetadataAll
method.
delete method can be used.
This will flag the object as being deleted on the client, and will require an update call to persist
the change to the server.
| Field Summary | |
|---|---|
static java.lang.String |
ATTRIBUTE_EXPRESSION_NAME
Constant used for the name of the Expression attribute. |
| Fields inherited from interface com.sas.metadata.remote.Measure |
|---|
ASSOCIATION_CUBES_NAME, ASSOCIATION_OWNINGDIMENSION_NAME, ATTRIBUTE_ISSTOREDSTATISTIC_NAME, ATTRIBUTE_STATISTIC_NAME, ATTRIBUTE_UNIQUENAME_NAME, ATTRIBUTE_UNITS_NAME |
| Fields inherited from interface com.sas.metadata.remote.LogicalColumn |
|---|
ATTRIBUTE_COLUMNLENGTH_NAME, ATTRIBUTE_COLUMNNAME_NAME, ATTRIBUTE_COLUMNTYPE_NAME, ATTRIBUTE_SASFORMAT_NAME, ATTRIBUTE_SASINFORMAT_NAME |
| Fields inherited from interface com.sas.metadata.remote.Feature |
|---|
ASSOCIATION_SOURCEFEATUREMAPS_NAME, ASSOCIATION_TARGETFEATUREMAPS_NAME |
| Fields inherited from interface com.sas.metadata.remote.PrimaryType |
|---|
ASSOCIATION_FAVORITESCONTAINERS_NAME, ATTRIBUTE_ISHIDDEN_NAME, ATTRIBUTE_PUBLICTYPE_NAME |
| Fields inherited from interface com.sas.metadata.remote.MdObjectBase |
|---|
ATTRIBUTE_DESC_NAME, ATTRIBUTE_ID_NAME, ATTRIBUTE_METADATACREATED_NAME, ATTRIBUTE_METADATAUPDATED_NAME, ATTRIBUTE_NAME_NAME |
| Method Summary | |
|---|---|
abstract java.lang.String |
getExpression()
Gets the String value of Expression |
abstract int |
getExpressionMaxLength()
Gets the maximum length of Expression |
abstract int |
getExpressionState()
Gets the Metadata State of Expression |
abstract void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: |
abstract void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
abstract void |
setExpression(java.lang.String inExpression)
Sets the Expression value and sets the state to MetadataState.LOCAL. |
abstract void |
setExpression(java.lang.String inExpression,
int state)
Sets the Expression Metadata State. |
abstract void |
setExpressionState(int state)
Sets the Metadata State of Expression. |
| Methods inherited from interface com.sas.metadata.remote.Feature |
|---|
getSourceFeatureMaps, getSourceFeatureMaps, getTargetFeatureMaps, getTargetFeatureMaps, setSourceFeatureMaps, setSourceFeatureMaps, setTargetFeatureMaps, setTargetFeatureMaps |
| Methods inherited from interface com.sas.metadata.remote.PrimaryType |
|---|
getFavoritesContainers, getFavoritesContainers, getIsHidden, getIsHiddenState, getPublicType, getPublicTypeMaxLength, getPublicTypeState, setFavoritesContainers, setFavoritesContainers, setIsHidden, setIsHidden, setIsHidden, setIsHidden, setIsHiddenState, setPublicType, setPublicType, setPublicTypeState |
| Methods inherited from interface com.sas.metadata.remote.MdObjectBaseXML |
|---|
closeUpdateMetadataXML, createEmptyXML, createObjectRefreshXML, createObjectXML, createObjectXML, createUpdateAssociationXML, createUpdateAssociationXML, createUpdateSimpleXML, doCreateUpdateXML, getUpdateSimpleSubstring, updateMetadataAll |
| Field Detail |
|---|
static final java.lang.String ATTRIBUTE_EXPRESSION_NAME
Expression: The formula.
| Method Detail |
|---|
void initializeRequiredObjects()
throws java.rmi.RemoteException
initializeRequiredObjects in interface FeatureinitializeRequiredObjects in interface LogicalColumninitializeRequiredObjects in interface MdObjectBaseUtilinitializeRequiredObjects in interface MeasureinitializeRequiredObjects in interface PrimaryTypeinitializeRequiredObjects in interface Rootjava.rmi.RemoteException - If error connecting/communicating to/with remote object.
void initializePredObjects()
throws java.rmi.RemoteException
initializePredObjects in interface FeatureinitializePredObjects in interface LogicalColumninitializePredObjects in interface MdObjectBaseinitializePredObjects in interface MeasureinitializePredObjects in interface PrimaryTypeinitializePredObjects in interface Rootjava.rmi.RemoteException - If error connecting/communicating to/with remote object.
java.lang.String getExpression()
throws java.rmi.RemoteException
String value of Expression
Expression
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getExpressionState()
throws java.rmi.RemoteException
Expression
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getExpressionMaxLength()
throws java.rmi.RemoteException
Expression
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
void setExpression(java.lang.String inExpression)
throws java.rmi.RemoteException
Expression value and sets the state to MetadataState.LOCAL.
inExpression - String
java.rmi.RemoteException - If error communicating with remote object.
void setExpression(java.lang.String inExpression,
int state)
throws java.rmi.RemoteException
Expression Metadata State.
inExpression - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setExpressionState(int state)
throws java.rmi.RemoteException
Expression.
state - int
java.rmi.RemoteException - If error communicating with remote object.
|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||