public interface CliModeObject
CliMode together with additional associated information.| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getAnnotatedClass()
|
String |
getId()
|
CliMode |
getMode()
This method gets the actual
CliMode. |
String |
getTitle()
|
boolean |
isAncestorOf(CliModeObject childMode)
Determines if this
CliModeObject is an ancestor of the given childMode. |
boolean |
isDescendantOf(CliModeObject parentMode)
Determines if this
CliModeObject is a descendant of the given parentMode. |
String getId()
String getTitle()
title of the mode. If the title is NOT set, the ID
is returnedgetMode() may return null.ID if title is NOT set.Class<?> getAnnotatedClass()
boolean isAncestorOf(CliModeObject childMode)
CliModeObject is an ancestor of the given childMode. So if the given
childMode extends this CliModeObject directly or indirect, this method will return true.childMode - is the CliModeObject to relate to.true this CliModeObject is an ancestor of the given childMode, false
otherwise.boolean isDescendantOf(CliModeObject parentMode)
CliModeObject is a descendant of the given parentMode. So if this
CliModeObject extends the given childMode directly or indirect, this method will return
true.parentMode - is the CliModeObject to relate to.true this CliModeObject is a descendant of the given parentMode , false
otherwise.Copyright © 2001–2016 mmm-Team. All rights reserved.