|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface Measure
A special dimension that contains summarized numeric data values that are analyzed. Total Sales and Average Revenue are examples of measures. For example, you might drill down within the Clothing hierarchy of the Product dimension to see the value of the Total Sales measure for the Shirts member.
Attributes of Measure are:
Associations of Measure 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(); Measure myObject = (Measure) factory.createComplexMetadataObject(objectStore, "Measure_Object", MetadataObjects.MEASURE, "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 |
ASSOCIATION_CUBES_NAME
Constant used for the name of the Cubes association. |
static java.lang.String |
ASSOCIATION_OWNINGDIMENSION_NAME
Constant used for the name of the OwningDimension association. |
static java.lang.String |
ATTRIBUTE_ISSTOREDSTATISTIC_NAME
Constant used for the name of the IsStoredStatistic attribute. |
static java.lang.String |
ATTRIBUTE_STATISTIC_NAME
Constant used for the name of the Statistic attribute. |
static java.lang.String |
ATTRIBUTE_UNIQUENAME_NAME
Constant used for the name of the UniqueName attribute. |
static java.lang.String |
ATTRIBUTE_UNITS_NAME
Constant used for the name of the Units attribute. |
| 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 AssociationList |
getCubes()
Gets the AssociationList of Cubes |
abstract AssociationList |
getCubes(boolean fGoToServer)
Gets the Associationlist of Cubes |
abstract int |
getIsStoredStatistic()
Gets the int value of IsStoredStatistic |
abstract int |
getIsStoredStatisticState()
Gets the Metadata State of IsStoredStatistic |
abstract Dimension |
getOwningDimension()
Gets the Dimension for OwningDimension |
abstract AssociationList |
getOwningDimensions()
Gets the AssociationList of OwningDimensions |
abstract AssociationList |
getOwningDimensions(boolean fGoToServer)
Gets the Associationlist of OwningDimensions |
abstract java.lang.String |
getStatistic()
Gets the String value of Statistic |
abstract int |
getStatisticMaxLength()
Gets the maximum length of Statistic |
abstract int |
getStatisticState()
Gets the Metadata State of Statistic |
abstract java.lang.String |
getUniqueName()
Gets the String value of UniqueName |
abstract int |
getUniqueNameMaxLength()
Gets the maximum length of UniqueName |
abstract int |
getUniqueNameState()
Gets the Metadata State of UniqueName |
abstract java.lang.String |
getUnits()
Gets the String value of Units |
abstract int |
getUnitsMaxLength()
Gets the maximum length of Units |
abstract int |
getUnitsState()
Gets the Metadata State of Units |
abstract void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: CubesOwningDimension |
abstract void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: OwningDimension |
abstract void |
setCubes(AssociationList list)
Sets the Cubes list to be list. |
abstract void |
setCubes(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
abstract void |
setIsStoredStatistic(int inIsStoredStatistic)
Sets the IsStoredStatistic value and sets the state to MetadataState.LOCAL. |
abstract void |
setIsStoredStatistic(int inIsStoredStatistic,
int state)
Sets the IsStoredStatistic Metadata State. |
abstract void |
setIsStoredStatistic(java.lang.String inIsStoredStatistic)
Sets the IsStoredStatistic value and sets the state to MetadataState.LOCAL. |
abstract void |
setIsStoredStatistic(java.lang.String inIsStoredStatistic,
int state)
Sets the IsStoredStatistic value and Metadata State. |
abstract void |
setIsStoredStatisticState(int state)
Sets the Metadata State of IsStoredStatistic. |
abstract void |
setOwningDimension(Dimension inObject)
Sets the OwningDimensions list 0th element to be inObject. |
abstract void |
setOwningDimensions(AssociationList list)
Sets the OwningDimensions list to be list. |
abstract void |
setOwningDimensions(AssociationList list,
int state)
Sets the OwningDimensions list to be list. |
abstract void |
setStatistic(java.lang.String inStatistic)
Sets the Statistic value and sets the state to MetadataState.LOCAL. |
abstract void |
setStatistic(java.lang.String inStatistic,
int state)
Sets the Statistic Metadata State. |
abstract void |
setStatisticState(int state)
Sets the Metadata State of Statistic. |
abstract void |
setUniqueName(java.lang.String inUniqueName)
Sets the UniqueName value and sets the state to MetadataState.LOCAL. |
abstract void |
setUniqueName(java.lang.String inUniqueName,
int state)
Sets the UniqueName Metadata State. |
abstract void |
setUniqueNameState(int state)
Sets the Metadata State of UniqueName. |
abstract void |
setUnits(java.lang.String inUnits)
Sets the Units value and sets the state to MetadataState.LOCAL. |
abstract void |
setUnits(java.lang.String inUnits,
int state)
Sets the Units Metadata State. |
abstract void |
setUnitsState(int state)
Sets the Metadata State of Units. |
| 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_ISSTOREDSTATISTIC_NAME
IsStoredStatistic: True if the statistic is precalculated, false if the statistic need to be calculated.
static final java.lang.String ATTRIBUTE_STATISTIC_NAME
Statistic: Later we will add a list of recommended string values.
static final java.lang.String ATTRIBUTE_UNIQUENAME_NAME
UniqueName: The unique name for a measure
static final java.lang.String ATTRIBUTE_UNITS_NAME
Units: The units of the measure.
static final java.lang.String ASSOCIATION_CUBES_NAME
Cubes: The cubes that contain this measure.
static final java.lang.String ASSOCIATION_OWNINGDIMENSION_NAME
OwningDimension: The dimension that contains this measure.
| Method Detail |
|---|
void initializeRequiredObjects()
throws java.rmi.RemoteException
OwningDimension
initializeRequiredObjects in interface FeatureinitializeRequiredObjects in interface LogicalColumninitializeRequiredObjects in interface MdObjectBaseUtilinitializeRequiredObjects in interface PrimaryTypeinitializeRequiredObjects in interface Rootjava.rmi.RemoteException - If error connecting/communicating to/with remote object.
void initializePredObjects()
throws java.rmi.RemoteException
CubesOwningDimension
initializePredObjects in interface FeatureinitializePredObjects in interface LogicalColumninitializePredObjects in interface MdObjectBaseinitializePredObjects in interface PrimaryTypeinitializePredObjects in interface Rootjava.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getIsStoredStatistic()
throws java.rmi.RemoteException
int value of IsStoredStatistic
IsStoredStatistic
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getIsStoredStatisticState()
throws java.rmi.RemoteException
IsStoredStatistic
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
java.lang.String getStatistic()
throws java.rmi.RemoteException
String value of Statistic
Statistic
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getStatisticState()
throws java.rmi.RemoteException
Statistic
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getStatisticMaxLength()
throws java.rmi.RemoteException
Statistic
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
java.lang.String getUniqueName()
throws java.rmi.RemoteException
String value of UniqueName
UniqueName
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getUniqueNameState()
throws java.rmi.RemoteException
UniqueName
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getUniqueNameMaxLength()
throws java.rmi.RemoteException
UniqueName
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
java.lang.String getUnits()
throws java.rmi.RemoteException
String value of Units
Units
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getUnitsState()
throws java.rmi.RemoteException
Units
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getUnitsMaxLength()
throws java.rmi.RemoteException
Units
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
AssociationList getCubes()
throws java.rmi.RemoteException,
MdException
Cubes
Cubes which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getOwningDimensions()
throws java.rmi.RemoteException,
MdException
OwningDimensions
OwningDimensions which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException
Dimension getOwningDimension()
throws java.rmi.RemoteException,
MdException
Dimension for OwningDimension
Dimension ( null if not set) of OwningDimensionwhich can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getCubes(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
Cubes
fGoToServer - boolean Get the value from the server.
Cubes which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getOwningDimensions(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
OwningDimensions
fGoToServer - boolean Get the value from the server.
OwningDimensions which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
void setIsStoredStatistic(int inIsStoredStatistic)
throws java.rmi.RemoteException
IsStoredStatistic value and sets the state to MetadataState.LOCAL.
inIsStoredStatistic - int
java.rmi.RemoteException - If error communicating with remote object.
void setIsStoredStatistic(int inIsStoredStatistic,
int state)
throws java.rmi.RemoteException
IsStoredStatistic Metadata State.
inIsStoredStatistic - intstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setIsStoredStatistic(java.lang.String inIsStoredStatistic)
throws java.rmi.RemoteException
IsStoredStatistic value and sets the state to MetadataState.LOCAL.
inIsStoredStatistic - String
java.rmi.RemoteException - If error communicating with remote object.
void setIsStoredStatistic(java.lang.String inIsStoredStatistic,
int state)
throws java.rmi.RemoteException
IsStoredStatistic value and Metadata State.
inIsStoredStatistic - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setIsStoredStatisticState(int state)
throws java.rmi.RemoteException
IsStoredStatistic.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setStatistic(java.lang.String inStatistic)
throws java.rmi.RemoteException
Statistic value and sets the state to MetadataState.LOCAL.
inStatistic - String
java.rmi.RemoteException - If error communicating with remote object.
void setStatistic(java.lang.String inStatistic,
int state)
throws java.rmi.RemoteException
Statistic Metadata State.
inStatistic - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setStatisticState(int state)
throws java.rmi.RemoteException
Statistic.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setUniqueName(java.lang.String inUniqueName)
throws java.rmi.RemoteException
UniqueName value and sets the state to MetadataState.LOCAL.
inUniqueName - String
java.rmi.RemoteException - If error communicating with remote object.
void setUniqueName(java.lang.String inUniqueName,
int state)
throws java.rmi.RemoteException
UniqueName Metadata State.
inUniqueName - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setUniqueNameState(int state)
throws java.rmi.RemoteException
UniqueName.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setUnits(java.lang.String inUnits)
throws java.rmi.RemoteException
Units value and sets the state to MetadataState.LOCAL.
inUnits - String
java.rmi.RemoteException - If error communicating with remote object.
void setUnits(java.lang.String inUnits,
int state)
throws java.rmi.RemoteException
Units Metadata State.
inUnits - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setUnitsState(int state)
throws java.rmi.RemoteException
Units.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setCubes(AssociationList list)
throws java.rmi.RemoteException
Cubes list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setCubes(AssociationList inObjects,
int state)
throws java.rmi.RemoteException
inObjects - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setOwningDimensions(AssociationList list)
throws java.rmi.RemoteException
OwningDimensions list to be list. Object of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setOwningDimensions(AssociationList list,
int state)
throws java.rmi.RemoteException
OwningDimensions list to be list. Object of which can be of type:
list - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setOwningDimension(Dimension inObject)
throws java.rmi.RemoteException
OwningDimensions list 0th element to be inObject.
inObject - Dimension
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 | |||||||||||||