|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CalculatedMember
Beginning in SAS 9.3, represents a new member in a dimension of a cube. A CalculatedMember object is required to have an association to a Hierarchy object and supports an optional association to a Level object in addition to having an association to the owning Cube object. If the associated Hierarchy object is deleted, the CalculatedMember is deleted as well.
Attributes of CalculatedMember are:
Associations of CalculatedMember 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(); CalculatedMember myObject = (CalculatedMember) factory.createComplexMetadataObject(objectStore, "CalculatedMember_Object", MetadataObjects.CALCULATEDMEMBER, "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_OWNINGHIERARCHY_NAME
Constant used for the name of the OwningHierarchy 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 | |
---|---|
Level |
getAssociatedLevel()
Gets the Level for AssociatedLevel |
AssociationList |
getAssociatedLevels()
Gets the AssociationList of AssociatedLevels |
AssociationList |
getAssociatedLevels(boolean fGoToServer)
Gets the Associationlist of AssociatedLevels |
Hierarchy |
getOwningHierarchy()
Gets the Hierarchy for OwningHierarchy |
AssociationList |
getOwningHierarchys()
Gets the AssociationList of OwningHierarchys |
AssociationList |
getOwningHierarchys(boolean fGoToServer)
Gets the Associationlist of OwningHierarchys |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: AssociatedLevel OwningHierarchy |
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 |
setOwningHierarchy(Hierarchy inObject)
Sets the OwningHierarchys list 0th element to be inObject . |
void |
setOwningHierarchys(AssociationList list)
Sets the OwningHierarchys list to be list . |
void |
setOwningHierarchys(AssociationList list,
int state)
Sets the OwningHierarchys list to be list . |
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_ASSOCIATEDLEVEL_NAME
AssociatedLevel: The level associated with this calculated member.
static final java.lang.String ASSOCIATION_OWNINGHIERARCHY_NAME
OwningHierarchy: The hierarchy associated with this calculated member.
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
initializeRequiredObjects
in interface Feature
initializeRequiredObjects
in interface GlobalFormula
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
AssociatedLevel
OwningHierarchy
initializePredObjects
in interface Feature
initializePredObjects
in interface GlobalFormula
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface PrimaryType
initializePredObjects
in interface Root
java.rmi.RemoteException
- If error connecting/communicating to/with remote 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
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 getOwningHierarchys() throws java.rmi.RemoteException, MdException
OwningHierarchys
OwningHierarchys
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
Hierarchy getOwningHierarchy() throws java.rmi.RemoteException, MdException
Hierarchy
for OwningHierarchy
Hierarchy
( null
if not set) of OwningHierarchy
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.AssociationList getOwningHierarchys(boolean fGoToServer) throws java.rmi.RemoteException, MdException
OwningHierarchys
fGoToServer
- boolean Get the value from the server.
OwningHierarchys
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 setAssociatedLevels(AssociationList list) throws java.rmi.RemoteException
AssociatedLevels
list to be list
. Object 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
. Object 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.void setOwningHierarchys(AssociationList list) throws java.rmi.RemoteException
OwningHierarchys
list to be list
. Object of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setOwningHierarchys(AssociationList list, int state) throws java.rmi.RemoteException
OwningHierarchys
list to be list
. Object of which can be of type:
list
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setOwningHierarchy(Hierarchy inObject) throws java.rmi.RemoteException
OwningHierarchys
list 0th element to be inObject
.
inObject
- Hierarchy
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 |