|
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 | |
---|---|
AssociationList |
getCubes()
Gets the AssociationList of Cubes |
AssociationList |
getCubes(boolean fGoToServer)
Gets the Associationlist of Cubes |
int |
getIsStoredStatistic()
Gets the int value of IsStoredStatistic |
int |
getIsStoredStatisticState()
Gets the Metadata State of IsStoredStatistic |
Dimension |
getOwningDimension()
Gets the Dimension for OwningDimension |
AssociationList |
getOwningDimensions()
Gets the AssociationList of OwningDimensions |
AssociationList |
getOwningDimensions(boolean fGoToServer)
Gets the Associationlist of OwningDimensions |
java.lang.String |
getStatistic()
Gets the String value of Statistic |
int |
getStatisticMaxLength()
Gets the maximum length of Statistic |
int |
getStatisticState()
Gets the Metadata State of Statistic |
java.lang.String |
getUniqueName()
Gets the String value of UniqueName |
int |
getUniqueNameMaxLength()
Gets the maximum length of UniqueName |
int |
getUniqueNameState()
Gets the Metadata State of UniqueName |
java.lang.String |
getUnits()
Gets the String value of Units |
int |
getUnitsMaxLength()
Gets the maximum length of Units |
int |
getUnitsState()
Gets the Metadata State of Units |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: Cubes OwningDimension |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: OwningDimension |
void |
setCubes(AssociationList list)
Sets the Cubes list to be list . |
void |
setCubes(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
void |
setIsStoredStatistic(int inIsStoredStatistic)
Sets the IsStoredStatistic value and sets the state to MetadataState.LOCAL. |
void |
setIsStoredStatistic(int inIsStoredStatistic,
int state)
Sets the IsStoredStatistic Metadata State. |
void |
setIsStoredStatistic(java.lang.String inIsStoredStatistic)
Sets the IsStoredStatistic value and sets the state to MetadataState.LOCAL. |
void |
setIsStoredStatistic(java.lang.String inIsStoredStatistic,
int state)
Sets the IsStoredStatistic value and Metadata State. |
void |
setIsStoredStatisticState(int state)
Sets the Metadata State of IsStoredStatistic . |
void |
setOwningDimension(Dimension inObject)
Sets the OwningDimensions list 0th element to be inObject . |
void |
setOwningDimensions(AssociationList list)
Sets the OwningDimensions list to be list . |
void |
setOwningDimensions(AssociationList list,
int state)
Sets the OwningDimensions list to be list . |
void |
setStatistic(java.lang.String inStatistic)
Sets the Statistic value and sets the state to MetadataState.LOCAL. |
void |
setStatistic(java.lang.String inStatistic,
int state)
Sets the Statistic Metadata State. |
void |
setStatisticState(int state)
Sets the Metadata State of Statistic . |
void |
setUniqueName(java.lang.String inUniqueName)
Sets the UniqueName value and sets the state to MetadataState.LOCAL. |
void |
setUniqueName(java.lang.String inUniqueName,
int state)
Sets the UniqueName Metadata State. |
void |
setUniqueNameState(int state)
Sets the Metadata State of UniqueName . |
void |
setUnits(java.lang.String inUnits)
Sets the Units value and sets the state to MetadataState.LOCAL. |
void |
setUnits(java.lang.String inUnits,
int state)
Sets the Units Metadata State. |
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 Feature
initializeRequiredObjects
in interface LogicalColumn
initializeRequiredObjects
in interface MdObjectBaseUtil
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
Cubes
OwningDimension
initializePredObjects
in interface Feature
initializePredObjects
in interface LogicalColumn
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface PrimaryType
initializePredObjects
in interface Root
java.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 OwningDimension
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 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 |