|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OLAPProperty
An attribute associated with members of a given dimension level. It is a feature of a Dimension, and can associated with a Level, and to a Column through a FeatureMap.
Attributes of OLAPProperty are:
Associations of OLAPProperty 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(); OLAPProperty myObject = (OLAPProperty) factory.createComplexMetadataObject(objectStore, "OLAPProperty_Object", MetadataObjects.OLAPPROPERTY, "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_ASSOCIATEDLEVEL_NAME
Constant used for the name of the AssociatedLevel association. |
static java.lang.String |
ASSOCIATION_HIERARCHIES_NAME
Constant used for the name of the Hierarchies association. |
static java.lang.String |
ATTRIBUTE_SASFORMAT_NAME
Constant used for the name of the SASFormat attribute. |
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 | |
---|---|
Level |
getAssociatedLevel()
Gets the Level for AssociatedLevel |
AssociationList |
getAssociatedLevels()
Gets the Association list of AssociatedLevels |
AssociationList |
getAssociatedLevels(boolean fGoToServer)
Gets the Associationlist of AssociatedLevels |
AssociationList |
getHierarchies()
Gets the AssociationList of Hierarchies |
AssociationList |
getHierarchies(boolean fGoToServer)
Gets the Associationlist of Hierarchies |
java.lang.String |
getSASFormat()
Gets the String value of SASFormat |
int |
getSASFormatMaxLength()
Gets the maximum length of SASFormat |
int |
getSASFormatState()
Gets the Metadata State of SASFormat |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: Hierarchies |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setAssociatedLevel(Level inObject)
Sets the AssociatedLevels list 0th element to be inObject . |
void |
setAssociatedLevels(AssociationList list)
Sets the AssociatedLevels list to be list . |
void |
setAssociatedLevels(AssociationList list,
int state)
Sets the AssociatedLevels list to be list . |
void |
setHierarchies(AssociationList list)
Sets the Hierarchies list to be list . |
void |
setHierarchies(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
void |
setSASFormat(java.lang.String inSASFormat)
Sets the SASFormat value and sets the state to MetadataState.LOCAL. |
void |
setSASFormat(java.lang.String inSASFormat,
int state)
Sets the SASFormat Metadata State. |
void |
setSASFormatState(int state)
Sets the Metadata State of SASFormat . |
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_SASFORMAT_NAME
SASFormat: SASFormat
static final java.lang.String ASSOCIATION_HIERARCHIES_NAME
Hierarchies: The hierarchies associated to this OLAP property.
static final java.lang.String ASSOCIATION_ASSOCIATEDLEVEL_NAME
AssociatedLevel: The level associated to this OLAP property.
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
initializeRequiredObjects
in interface Feature
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
Hierarchies
initializePredObjects
in interface Feature
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 getSASFormat() throws java.rmi.RemoteException
String
value of SASFormat
SASFormat
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getSASFormatState() throws java.rmi.RemoteException
SASFormat
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getSASFormatMaxLength() throws java.rmi.RemoteException
SASFormat
java.rmi.RemoteException
- If error connecting/communicating to/with remote 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 getAssociatedLevels() throws java.rmi.RemoteException, MdException
AssociatedLevels
AssociatedLevels
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.Level getAssociatedLevel() throws java.rmi.RemoteException, MdException
Level
for AssociatedLevel
Level
( null
if not set ) of AssociatedLevel
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 getAssociatedLevels(boolean fGoToServer) throws java.rmi.RemoteException, MdException
AssociatedLevels
fGoToServer
- boolean Get the value from the server.
AssociatedLevels
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 setSASFormat(java.lang.String inSASFormat) throws java.rmi.RemoteException
SASFormat
value and sets the state to MetadataState.LOCAL.
inSASFormat
- String
java.rmi.RemoteException
- If error communicating with remote object.void setSASFormat(java.lang.String inSASFormat, int state) throws java.rmi.RemoteException
SASFormat
Metadata State.
inSASFormat
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setSASFormatState(int state) throws java.rmi.RemoteException
SASFormat
.
state
- 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 setAssociatedLevels(AssociationList list) throws java.rmi.RemoteException
AssociatedLevels
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setAssociatedLevels(AssociationList list, int state) throws java.rmi.RemoteException
AssociatedLevels
list to be list
. Objects of which can be of type:
list
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setAssociatedLevel(Level inObject) throws java.rmi.RemoteException
AssociatedLevels
list 0th element to be inObject
.
inObject
- Level
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 |