Interface OsidNode
- All Superinterfaces:
Containable, Identifiable
- All Known Subinterfaces:
AcademyNode, AccountNode, ActivityNode, AddressBookNode, AgencyNode, AntimatroidNode, AuctionHouseNode, BankNode, BillingNode, BinNode, BlogNode, BookNode, BusinessNode, BusinessNode, CalendarNode, CampusNode, CatalogNode, CatalogueNode, ChecklistNode, ConfigurationNode, CookbookNode, CourseCatalogNode, DepotNode, DictionaryNode, DistributorNode, EngineNode, EngineNode, FamilyNode, ForumNode, FoundryNode, FrontOfficeNode, GradebookNode, GraphNode, InquestNode, JournalNode, LocationNode, LogNode, MailboxNode, MapNode, Node, ObjectiveBankNode, ObjectiveNode, OfficeNode, OntologyNode, OrganizationNode, OublietteNode, PollsNode, PressNode, ProcessNode, ProfileNode, PublisherNode, QualifierNode, RealmNode, RepositoryNode, ResourceNode, StockNode, StoreNode, SubjectNode, SystemNode, TermNode, TodoNode, UtilityNode, VaultNode, WarehouseNode
A node interface for hierarchical objects. The Id of the node
is the Id of the object represented at this node.
-
Method Summary
Modifier and TypeMethodDescriptionGets the children of this node.Gets the parents of this node.booleanTests if any children are available in this node structure.booleanTests if any parents are available in this node structure.booleanisLeaf()Tests if this node is a leaf in the hierarchy (has no children).booleanisRoot()Tests if this node is a root in the hierarchy (has no parents).Methods inherited from interface Containable
isSequesteredModifier and TypeMethodDescriptionbooleanTests if thisContainableis sequestered in that it should not appear outside of its aggregated composition.
-
Method Details
-
isRoot
boolean isRoot()Tests if this node is a root in the hierarchy (has no parents). A node may have no more parents available in this node structure but is not a root in the hierarchy. If bothisRoot()andhasParents()is false, the parents of this node may be accessed thorugh another node structure retrieval.- Returns:
trueif this node is a root in the hierarchy,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
hasParents
boolean hasParents()Tests if any parents are available in this node structure. There may be no more parents in this node structure however there may be parents that exist in the hierarchy.- Returns:
trueif this node has parents,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getParentIds
IdList getParentIds()Gets the parents of this node.- Returns:
- the parents of this node
- Compliance:
mandatory- This method must be implemented.
-
isLeaf
boolean isLeaf()Tests if this node is a leaf in the hierarchy (has no children). A node may have no more children available in this node structure but is not a leaf in the hierarchy. If bothisLeaf()andhasChildren()is false, the children of this node may be accessed thorugh another node structure retrieval.- Returns:
trueif this node is a leaf in the hierarchy,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
hasChildren
boolean hasChildren()Tests if any children are available in this node structure. There may be no more children available in this node structure but this node may have children in the hierarchy.- Returns:
trueif this node has children,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getChildIds
IdList getChildIds()Gets the children of this node.- Returns:
- the children of this node
- Compliance:
mandatory- This method must be implemented.
-