|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface NamedSet
Beginning in SAS 9.3, represents a named set in dimension of a cube. A NamedSet object can be associated with one or many Hierarchy objects, in addition to the owning Cube.
Attributes of NamedSet are:
Associations of NamedSet 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(); NamedSet myObject = (NamedSet) factory.createComplexMetadataObject(objectStore, "NamedSet_Object", MetadataObjects.NAMEDSET, "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_ASSOCIATEDHIERARCHIES_NAME
Constant used for the name of the AssociatedHierarchies association. |
| Fields inherited from interface com.sas.metadata.remote.GlobalFormula |
|---|
ASSOCIATION_ASSOCIATEDCUBE_NAME, ATTRIBUTE_EXPRESSION_NAME, ATTRIBUTE_GLOBALFORMULAROLE_NAME, ATTRIBUTE_UNIQUENAME_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 |
getAssociatedHierarchies()
Gets the Association list of AssociatedHierarchies |
abstract AssociationList |
getAssociatedHierarchies(boolean fGoToServer)
Gets the Associationlist of AssociatedHierarchies |
abstract void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: |
abstract void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
abstract void |
setAssociatedHierarchies(AssociationList list)
Sets the AssociatedHierarchies list to be list. |
abstract void |
setAssociatedHierarchies(AssociationList inObjects,
int state)
Sets the entire AssociatedHierarchies list to match the passed in AssociationList, sets the state of the AssociatedHierarchies |
| 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 ASSOCIATION_ASSOCIATEDHIERARCHIES_NAME
AssociatedHierarchies: The hierarchies associated with this named set.
| Method Detail |
|---|
void initializeRequiredObjects()
throws java.rmi.RemoteException
initializeRequiredObjects in interface FeatureinitializeRequiredObjects in interface GlobalFormulainitializeRequiredObjects 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
initializePredObjects in interface FeatureinitializePredObjects in interface GlobalFormulainitializePredObjects in interface MdObjectBaseinitializePredObjects in interface PrimaryTypeinitializePredObjects in interface Rootjava.rmi.RemoteException - If error connecting/communicating to/with remote object.
AssociationList getAssociatedHierarchies()
throws java.rmi.RemoteException,
MdException
AssociatedHierarchies
AssociatedHierarchies 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 getAssociatedHierarchies(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
AssociatedHierarchies
fGoToServer - boolean Get the value from the server.
AssociatedHierarchies 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 setAssociatedHierarchies(AssociationList list)
throws java.rmi.RemoteException
AssociatedHierarchies list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setAssociatedHierarchies(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 | |||||||||||||