|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IlpClassManager
Interface for managing a class hierarchy. Provides access to the root classes of the hierarchy.
| Method Summary | |
|---|---|
IlpClass |
getClass(String name)
Returns the class called name. |
Collection |
getClasses()
Returns the classes of the model as a Collection. |
Collection |
getRootClasses()
Returns the root classes of the model in a collection of IlpClass instances. |
boolean |
hasClass(IlpClass aClass)
Returns true if the given class belongs to this model. |
boolean |
hasClass(String name)
Returns whether a class with the given name is registered
in the manager. |
| Method Detail |
|---|
Collection getRootClasses()
IlpClass instances.
Root classes are classes that do not inherit from another class.
Collection containing the root classes of the model.IlpClassIlpClass getClass(String name)
name.
name - The name of the class to be retrieved.
name, or null if this
class does not exist.Collection getClasses()
Collection.
Collection.IlpClassboolean hasClass(IlpClass aClass)
true if the given class belongs to this model.
aClass - The class being checked.
true if the class belongs to the model.boolean hasClass(String name)
name is registered
in the manager.
Note that calling this method is not equivalent to
getClass(name) != null, as this method does not look for
a Java class with the given name.
name - The name of the class.
true if a class with the given name is registered,
otherwise this method returns false.getClass(String)
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||