|
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 | |
---|---|
java.lang.String |
getExpression()
Gets the String value of Expression |
int |
getExpressionMaxLength()
Gets the maximum length of Expression |
int |
getExpressionState()
Gets the Metadata State of Expression |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setExpression(java.lang.String inExpression)
Sets the Expression value and sets the state to MetadataState.LOCAL. |
void |
setExpression(java.lang.String inExpression,
int state)
Sets the Expression Metadata State. |
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 Feature
initializeRequiredObjects
in interface LogicalColumn
initializeRequiredObjects
in interface MdObjectBaseUtil
initializeRequiredObjects
in interface Measure
initializeRequiredObjects
in interface PrimaryType
initializeRequiredObjects
in interface Root
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.void initializePredObjects() throws java.rmi.RemoteException
initializePredObjects
in interface Feature
initializePredObjects
in interface LogicalColumn
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface Measure
initializePredObjects
in interface PrimaryType
initializePredObjects
in interface Root
java.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 |