|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Dimension
A group of closely related hierarchies. Hierarchies within a dimension typically represent different groupings of information that pertains to a single concept. For example, a Time dimension might consist of two hierarchies: (1) Year, Month, Date, and (2) Year, Week, Day. See also hierarchy.
Attributes of Dimension are:
Associations of Dimension 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(); Dimension myObject = (Dimension) factory.createComplexMetadataObject(objectStore, "Dimension_Object", MetadataObjects.DIMENSION, "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_ASSOCIATEDOLAPSCHEMA_NAME
Constant used for the name of the AssociatedOLAPSchema association. |
static java.lang.String |
ASSOCIATION_CUBES_NAME
Constant used for the name of the Cubes association. |
static java.lang.String |
ASSOCIATION_HIERARCHIES_NAME
Constant used for the name of the Hierarchies association. |
static java.lang.String |
ASSOCIATION_LEVELS_NAME
Constant used for the name of the Levels association. |
static java.lang.String |
ASSOCIATION_MEASURES_NAME
Constant used for the name of the Measures association. |
static java.lang.String |
ATTRIBUTE_CARDINALITY_NAME
Constant used for the name of the Cardinality attribute. |
static java.lang.String |
ATTRIBUTE_DIMENSIONTYPE_NAME
Constant used for the name of the DimensionType attribute. |
static java.lang.String |
ATTRIBUTE_SORTORDER_NAME
Constant used for the name of the SortOrder attribute. |
static java.lang.String |
ATTRIBUTE_UNIQUENAME_NAME
Constant used for the name of the UniqueName attribute. |
Fields inherited from interface com.sas.metadata.remote.Classifier |
---|
ASSOCIATION_SOURCECLASSIFIERMAPS_NAME, ASSOCIATION_TARGETCLASSIFIERMAPS_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 | |
---|---|
OLAPSchema |
getAssociatedOLAPSchema()
Gets the OLAPSchema for AssociatedOLAPSchema |
AssociationList |
getAssociatedOLAPSchemas()
Gets the AssociationList of AssociatedOLAPSchemas |
AssociationList |
getAssociatedOLAPSchemas(boolean fGoToServer)
Gets the Associationlist of AssociatedOLAPSchemas |
double |
getCardinality()
Gets the double value of Cardinality |
int |
getCardinalityState()
Gets the Metadata State of Cardinality |
AssociationList |
getCubes()
Gets the Association list of Cubes |
AssociationList |
getCubes(boolean fGoToServer)
Gets the Associationlist of Cubes |
java.lang.String |
getDimensionType()
Gets the String value of DimensionType |
int |
getDimensionTypeMaxLength()
Gets the maximum length of DimensionType |
int |
getDimensionTypeState()
Gets the Metadata State of DimensionType |
AssociationList |
getHierarchies()
Gets the Association list of Hierarchies |
AssociationList |
getHierarchies(boolean fGoToServer)
Gets the Associationlist of Hierarchies |
AssociationList |
getLevels()
Gets the Association list of Levels |
AssociationList |
getLevels(boolean fGoToServer)
Gets the Associationlist of Levels |
AssociationList |
getMeasures()
Gets the Association list of Measures |
AssociationList |
getMeasures(boolean fGoToServer)
Gets the Associationlist of Measures |
java.lang.String |
getSortOrder()
Gets the String value of SortOrder |
int |
getSortOrderMaxLength()
Gets the maximum length of SortOrder |
int |
getSortOrderState()
Gets the Metadata State of SortOrder |
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 |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: AssociatedOLAPSchema |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setAssociatedOLAPSchema(OLAPSchema inObject)
Sets the AssociatedOLAPSchemas list 0th element to be inObject . |
void |
setAssociatedOLAPSchemas(AssociationList list)
Sets the AssociatedOLAPSchemas list to be list . |
void |
setAssociatedOLAPSchemas(AssociationList list,
int state)
Sets the AssociatedOLAPSchemas list to be list . |
void |
setCardinality(double inCardinality)
Sets the Cardinality value and sets the state to MetadataState.LOCAL. |
void |
setCardinality(double inCardinality,
int state)
Sets the Cardinality Metadata State. |
void |
setCardinality(java.lang.String inCardinality)
Sets the Cardinality value and sets the state to MetadataState.LOCAL |
void |
setCardinality(java.lang.String inCardinality,
int state)
Sets the Cardinality value and Metadata State. |
void |
setCardinalityState(int state)
Sets the Metadata State of Cardinality . |
void |
setCubes(AssociationList list)
Sets the Cubes list to be list . |
void |
setCubes(AssociationList inObjects,
int state)
Sets the entire Cubes list to match the passed in AssociationList, sets the state of the Cubes |
void |
setDimensionType(java.lang.String inDimensionType)
Sets the DimensionType value and sets the state to MetadataState.LOCAL. |
void |
setDimensionType(java.lang.String inDimensionType,
int state)
Sets the DimensionType Metadata State. |
void |
setDimensionTypeState(int state)
Sets the Metadata State of DimensionType . |
void |
setHierarchies(AssociationList list)
Sets the Hierarchies list to be list . |
void |
setHierarchies(AssociationList inObjects,
int state)
Sets the entire Hierarchies list to match the passed in AssociationList, sets the state of the Hierarchies |
void |
setLevels(AssociationList list)
Sets the Levels list to be list . |
void |
setLevels(AssociationList inObjects,
int state)
Sets the entire Levels list to match the passed in AssociationList, sets the state of the Levels |
void |
setMeasures(AssociationList list)
Sets the Measures list to be list . |
void |
setMeasures(AssociationList inObjects,
int state)
Sets the entire Measures list to match the passed in AssociationList, sets the state of the Measures |
void |
setSortOrder(java.lang.String inSortOrder)
Sets the SortOrder value and sets the state to MetadataState.LOCAL. |
void |
setSortOrder(java.lang.String inSortOrder,
int state)
Sets the SortOrder Metadata State. |
void |
setSortOrderState(int state)
Sets the Metadata State of SortOrder . |
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 . |
Methods inherited from interface com.sas.metadata.remote.Classifier |
---|
getSourceClassifierMaps, getSourceClassifierMaps, getTargetClassifierMaps, getTargetClassifierMaps, setSourceClassifierMaps, setSourceClassifierMaps, setTargetClassifierMaps, setTargetClassifierMaps |
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_DIMENSIONTYPE_NAME
DimensionType: The type of this dimension: STANDARD, MEASURES or TIME.
static final java.lang.String ATTRIBUTE_CARDINALITY_NAME
Cardinality: The number of unique values for the dimension.
static final java.lang.String ATTRIBUTE_UNIQUENAME_NAME
UniqueName: The unique name for this dimension.
static final java.lang.String ATTRIBUTE_SORTORDER_NAME
SortOrder: This is an indication of the sort order of this column in this table. It can be ASCENDING, DESCENDING, ASCFORMATTED, DESFORMATTED, DSORDER.
static final java.lang.String ASSOCIATION_ASSOCIATEDOLAPSCHEMA_NAME
AssociatedOLAPSchema: The OLAP schema that contains this dimension.
static final java.lang.String ASSOCIATION_CUBES_NAME
Cubes: The list of cubes that include this dimension.
static final java.lang.String ASSOCIATION_HIERARCHIES_NAME
Hierarchies: The list of hierarchies for this dimension.
static final java.lang.String ASSOCIATION_LEVELS_NAME
Levels: The list of levels for this dimension.
static final java.lang.String ASSOCIATION_MEASURES_NAME
Measures: *Unknown*
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
initializeRequiredObjects
in interface Classifier
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
AssociatedOLAPSchema
initializePredObjects
in interface Classifier
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface PrimaryType
initializePredObjects
in interface Root
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getDimensionType() throws java.rmi.RemoteException
String
value of DimensionType
DimensionType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getDimensionTypeState() throws java.rmi.RemoteException
DimensionType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getDimensionTypeMaxLength() throws java.rmi.RemoteException
DimensionType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.double getCardinality() throws java.rmi.RemoteException
double
value of Cardinality
Cardinality
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getCardinalityState() throws java.rmi.RemoteException
Cardinality
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 getSortOrder() throws java.rmi.RemoteException
String
value of SortOrder
SortOrder
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getSortOrderState() throws java.rmi.RemoteException
SortOrder
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getSortOrderMaxLength() throws java.rmi.RemoteException
SortOrder
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.AssociationList getAssociatedOLAPSchemas() throws java.rmi.RemoteException, MdException
AssociatedOLAPSchemas
AssociatedOLAPSchemas
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
OLAPSchema getAssociatedOLAPSchema() throws java.rmi.RemoteException, MdException
OLAPSchema
for AssociatedOLAPSchema
OLAPSchema
( null
if not set) of AssociatedOLAPSchema
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() 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 getHierarchies() throws java.rmi.RemoteException, MdException
Hierarchies
Hierarchies
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 getLevels() throws java.rmi.RemoteException, MdException
Levels
Levels
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 getMeasures() throws java.rmi.RemoteException, MdException
Measures
Measures
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 getAssociatedOLAPSchemas(boolean fGoToServer) throws java.rmi.RemoteException, MdException
AssociatedOLAPSchemas
fGoToServer
- boolean Get the value from the server.
AssociatedOLAPSchemas
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 getHierarchies(boolean fGoToServer) throws java.rmi.RemoteException, MdException
Hierarchies
fGoToServer
- boolean Get the value from the server.
Hierarchies
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 getLevels(boolean fGoToServer) throws java.rmi.RemoteException, MdException
Levels
fGoToServer
- boolean Get the value from the server.
Levels
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 getMeasures(boolean fGoToServer) throws java.rmi.RemoteException, MdException
Measures
fGoToServer
- boolean Get the value from the server.
Measures
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 setDimensionType(java.lang.String inDimensionType) throws java.rmi.RemoteException
DimensionType
value and sets the state to MetadataState.LOCAL.
inDimensionType
- String
java.rmi.RemoteException
- If error communicating with remote object.void setDimensionType(java.lang.String inDimensionType, int state) throws java.rmi.RemoteException
DimensionType
Metadata State.
inDimensionType
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setDimensionTypeState(int state) throws java.rmi.RemoteException
DimensionType
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setCardinality(double inCardinality) throws java.rmi.RemoteException
Cardinality
value and sets the state to MetadataState.LOCAL.
inCardinality
- double
java.rmi.RemoteException
- If error communicating with remote object.void setCardinality(double inCardinality, int state) throws java.rmi.RemoteException
Cardinality
Metadata State.
inCardinality
- doublestate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setCardinality(java.lang.String inCardinality) throws java.rmi.RemoteException
Cardinality
value and sets the state to MetadataState.LOCAL
inCardinality
- String
java.rmi.RemoteException
- If error communicating with remote object.void setCardinality(java.lang.String inCardinality, int state) throws java.rmi.RemoteException
Cardinality
value and Metadata State.
inCardinality
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setCardinalityState(int state) throws java.rmi.RemoteException
Cardinality
.
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 setSortOrder(java.lang.String inSortOrder) throws java.rmi.RemoteException
SortOrder
value and sets the state to MetadataState.LOCAL.
inSortOrder
- String
java.rmi.RemoteException
- If error communicating with remote object.void setSortOrder(java.lang.String inSortOrder, int state) throws java.rmi.RemoteException
SortOrder
Metadata State.
inSortOrder
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setSortOrderState(int state) throws java.rmi.RemoteException
SortOrder
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setAssociatedOLAPSchemas(AssociationList list) throws java.rmi.RemoteException
AssociatedOLAPSchemas
list to be list
. Object of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setAssociatedOLAPSchemas(AssociationList list, int state) throws java.rmi.RemoteException
AssociatedOLAPSchemas
list to be list
. Object of which can be of type:
list
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setAssociatedOLAPSchema(OLAPSchema inObject) throws java.rmi.RemoteException
AssociatedOLAPSchemas
list 0th element to be inObject
.
inObject
- OLAPSchema
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 setHierarchies(AssociationList list) throws java.rmi.RemoteException
Hierarchies
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setHierarchies(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setLevels(AssociationList list) throws java.rmi.RemoteException
Levels
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setLevels(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setMeasures(AssociationList list) throws java.rmi.RemoteException
Measures
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setMeasures(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- 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 |