public interface HierarchicalMboRemote
extends java.rmi.Remote
For efficiency, the Mbo may need a non-persistent attribute to indicate when the Mbo has Mbos underneath it in the hierarchy. At a minimum the mbo requires OBJECTNAME, HASCHILDREN, HASPARENTS as non-persistent attributes if they don't exist on the mbo.
Hierarchical Mbo Implementation
Mbo should implement HierarchicalMboRemote interface if it will be a part of hierarchy. The key field class of hierarchical mbo has to extend from FldMboKey class. For example in Asset the Asset mbo has to implement HierarchicalMboRemote and FldAssetnum has to extend from FldMboKey. If the added mbo in hierarchy is a new mbo then in add() object can set the value of the parent.
The Mbo's MboSet must extend from this class.
,
The Mbo's MboSetRemote must extend from this class.
Modifier and Type | Method and Description |
---|---|
boolean |
hasChildren()
Indicates that this Mbo has Mbos underneth it in the hierarchy
|
boolean |
hasParents()
Indicates that this Mbo is owned by another Mbo in the hierarchy.
|
boolean |
isTop()
This method indicates if the Mbo is at the top level of a hierarchy.
|
boolean isTop() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
boolean hasChildren() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
boolean hasParents() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException