public interface IlpClassManager
Modifier and Type | Method and Description |
---|---|
IlpClass |
getClass(String name)
Returns the class called
name . |
Collection<IlpClass> |
getClasses()
Returns the classes of the model as a
Collection . |
Collection<IlpClass> |
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. |
Collection<IlpClass> getRootClasses()
IlpClass
instances.
Root classes are classes that do not inherit from another class.Collection
containing the root classes of the model.IlpClass
IlpClass getClass(String name)
name
.name
- The name of the class to be retrieved.name
, or null
if this
class does not exist.Collection<IlpClass> getClasses()
Collection
.Collection
.IlpClass
boolean 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)
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.