|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HierarchyLevel
Represents a level within one and only one hierarchy. A level may participate in multiple heirarchies as represented by the levels association to HierarchyLevel objects. A HierachyLevel object is not deleted when a level is deleted, OLAP will instead collapse the hierarchy if the associated level object is not found.
Attributes of HierarchyLevel are:
Associations of HierarchyLevel 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(); HierarchyLevel myObject = (HierarchyLevel) factory.createComplexMetadataObject(objectStore, "HierarchyLevel_Object", MetadataObjects.HIERARCHYLEVEL, "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_ASSOCIATEDHIERARCHY_NAME
Constant used for the name of the AssociatedHierarchy association. |
static java.lang.String |
ASSOCIATION_ASSOCIATEDLEVEL_NAME
Constant used for the name of the AssociatedLevel association. |
static java.lang.String |
ASSOCIATION_PARENTLEVEL_NAME
Constant used for the name of the ParentLevel association. |
static java.lang.String |
ASSOCIATION_SUBLEVEL_NAME
Constant used for the name of the SubLevel association. |
static java.lang.String |
ATTRIBUTE_UNIQUENAME_NAME
Constant used for the name of the UniqueName attribute. |
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 | |
---|---|
Hierarchy |
getAssociatedHierarchy()
Gets the Hierarchy for AssociatedHierarchy |
AssociationList |
getAssociatedHierarchys()
Gets the AssociationList of AssociatedHierarchys |
AssociationList |
getAssociatedHierarchys(boolean fGoToServer)
Gets the Associationlist of AssociatedHierarchys |
Level |
getAssociatedLevel()
Gets the Level for AssociatedLevel |
AssociationList |
getAssociatedLevels()
Gets the AssociationList of AssociatedLevels |
AssociationList |
getAssociatedLevels(boolean fGoToServer)
Gets the Associationlist of AssociatedLevels |
HierarchyLevel |
getParentLevel()
Gets the HierarchyLevel for ParentLevel |
AssociationList |
getParentLevels()
Gets the AssociationList of ParentLevels |
AssociationList |
getParentLevels(boolean fGoToServer)
Gets the Associationlist of ParentLevels |
HierarchyLevel |
getSubLevel()
Gets the HierarchyLevel for SubLevel |
AssociationList |
getSubLevels()
Gets the Association list of SubLevels |
AssociationList |
getSubLevels(boolean fGoToServer)
Gets the Associationlist of SubLevels |
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: AssociatedHierarchy AssociatedLevel ParentLevel |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setAssociatedHierarchy(Hierarchy inObject)
Sets the AssociatedHierarchys list 0th element to be inObject . |
void |
setAssociatedHierarchys(AssociationList list)
Sets the AssociatedHierarchys list to be list . |
void |
setAssociatedHierarchys(AssociationList list,
int state)
Sets the AssociatedHierarchys list to be list . |
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 |
setParentLevel(HierarchyLevel inObject)
Sets the ParentLevels list 0th element to be inObject . |
void |
setParentLevels(AssociationList list)
Sets the ParentLevels list to be list . |
void |
setParentLevels(AssociationList list,
int state)
Sets the ParentLevels list to be list . |
void |
setSubLevel(HierarchyLevel inObject)
Sets the SubLevels list 0th element to be inObject . |
void |
setSubLevels(AssociationList list)
Sets the SubLevels list to be list . |
void |
setSubLevels(AssociationList list,
int state)
Sets the SubLevels list to be list . |
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.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_UNIQUENAME_NAME
UniqueName: UniqueName
static final java.lang.String ASSOCIATION_ASSOCIATEDHIERARCHY_NAME
AssociatedHierarchy: The hierarchy, if any, that has this hierarchy level at the root.
static final java.lang.String ASSOCIATION_ASSOCIATEDLEVEL_NAME
AssociatedLevel: The level that owns this hierarchy level.
static final java.lang.String ASSOCIATION_PARENTLEVEL_NAME
ParentLevel: The parent level.
static final java.lang.String ASSOCIATION_SUBLEVEL_NAME
SubLevel: The sublevel.
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
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
AssociatedHierarchy
AssociatedLevel
ParentLevel
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 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.AssociationList getAssociatedHierarchys() throws java.rmi.RemoteException, MdException
AssociatedHierarchys
AssociatedHierarchys
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
Hierarchy getAssociatedHierarchy() throws java.rmi.RemoteException, MdException
Hierarchy
for AssociatedHierarchy
Hierarchy
( null
if not set) of AssociatedHierarchy
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
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 getParentLevels() throws java.rmi.RemoteException, MdException
ParentLevels
ParentLevels
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
HierarchyLevel getParentLevel() throws java.rmi.RemoteException, MdException
HierarchyLevel
for ParentLevel
HierarchyLevel
( null
if not set) of ParentLevel
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 getSubLevels() throws java.rmi.RemoteException, MdException
SubLevels
SubLevels
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.HierarchyLevel getSubLevel() throws java.rmi.RemoteException, MdException
HierarchyLevel
for SubLevel
HierarchyLevel
( null
if not set ) of SubLevel
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 getAssociatedHierarchys(boolean fGoToServer) throws java.rmi.RemoteException, MdException
AssociatedHierarchys
fGoToServer
- boolean Get the value from the server.
AssociatedHierarchys
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 getParentLevels(boolean fGoToServer) throws java.rmi.RemoteException, MdException
ParentLevels
fGoToServer
- boolean Get the value from the server.
ParentLevels
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 getSubLevels(boolean fGoToServer) throws java.rmi.RemoteException, MdException
SubLevels
fGoToServer
- boolean Get the value from the server.
SubLevels
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 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 setAssociatedHierarchys(AssociationList list) throws java.rmi.RemoteException
AssociatedHierarchys
list to be list
. Object of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setAssociatedHierarchys(AssociationList list, int state) throws java.rmi.RemoteException
AssociatedHierarchys
list to be list
. Object of which can be of type:
list
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setAssociatedHierarchy(Hierarchy inObject) throws java.rmi.RemoteException
AssociatedHierarchys
list 0th element to be inObject
.
inObject
- Hierarchy
java.rmi.RemoteException
- If error communicating with remote 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 setParentLevels(AssociationList list) throws java.rmi.RemoteException
ParentLevels
list to be list
. Object of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setParentLevels(AssociationList list, int state) throws java.rmi.RemoteException
ParentLevels
list to be list
. Object of which can be of type:
list
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setParentLevel(HierarchyLevel inObject) throws java.rmi.RemoteException
ParentLevels
list 0th element to be inObject
.
inObject
- HierarchyLevel
java.rmi.RemoteException
- If error communicating with remote object.void setSubLevels(AssociationList list) throws java.rmi.RemoteException
SubLevels
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setSubLevels(AssociationList list, int state) throws java.rmi.RemoteException
SubLevels
list to be list
. Objects of which can be of type:
list
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setSubLevel(HierarchyLevel inObject) throws java.rmi.RemoteException
SubLevels
list 0th element to be inObject
.
inObject
- HierarchyLevel
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 |