|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ObjectModel
Abstraction for the root node of object model trees. This an entry point for browsing a model tree. This object offers as well several facilities for a direct access to some of the object model elements. Created: 14 janv. 2004
| Field Summary | |
|---|---|
static String |
NAME
Plexus role-hint |
| Fields inherited from interface org.nuiton.eugene.models.Model |
|---|
ROLE_NAME |
| Method Summary | ||
|---|---|---|
ObjectModelClass |
getClass(String qualifiedClassName)
Returns the class corresponding to the given qualified name, or null if the model contains no class for this qualified name. |
|
Collection<ObjectModelClass> |
getClasses()
Returns all classes defined in this model. |
|
ObjectModelClassifier |
getClassifier(String qualifiedClassifierName)
Returns the classifier corresponding to the given qualified name, or null if the model contains no classifier for this qualified name. |
|
Collection<ObjectModelClassifier> |
getClassifiers()
Returns all classifiers defined in this model. |
|
List<String> |
getComments()
Returns all comments not lied to a particular model element |
|
ObjectModelEnumeration |
getEnumeration(String qualifiedEnumerationName)
Return the enumeration corresponding to the given qualified name |
|
Collection<ObjectModelEnumeration> |
getEnumerations()
Returns all enumerations defined in this model. |
|
|
getExtension(String reference,
Class<O> extensionClass)
Get the extension associated to the reference (unique) |
|
ObjectModelInterface |
getInterface(String qualifiedInterfaceName)
Returns the interface corresponding to the given qualified name, or null if the model contains no interface for this qualified name. |
|
Collection<ObjectModelInterface> |
getInterfaces()
Returns all interfaces defined in this model. |
|
boolean |
hasClass(String qualifiedClassName)
Indicates whether the model contains the class associated to the given className |
|
| Methods inherited from interface org.nuiton.eugene.models.Model |
|---|
addTagValue, getName, getTagValue, getTagValues, getVersion |
| Field Detail |
|---|
static final String NAME
| Method Detail |
|---|
Collection<ObjectModelClassifier> getClassifiers()
ObjectModelClassifierObjectModelClassifier getClassifier(String qualifiedClassifierName)
qualifiedClassifierName - - the qualified name of the classifier to retrieve.
Collection<ObjectModelClass> getClasses()
ObjectModelClassObjectModelClass getClass(String qualifiedClassName)
qualifiedClassName - - the qualified name of the class to retrieve.
boolean hasClass(String qualifiedClassName)
qualifiedClassName - - the qualified name of the class to retrieve.
Collection<ObjectModelInterface> getInterfaces()
ObjectModelInterfaceObjectModelInterface getInterface(String qualifiedInterfaceName)
qualifiedInterfaceName - the qualified name of the interface to retrieve.
Collection<ObjectModelEnumeration> getEnumerations()
ObjectModelEnumerationObjectModelEnumeration getEnumeration(String qualifiedEnumerationName)
qualifiedEnumerationName - the fully qualified name of the enumeration to retrieve.
List<String> getComments()
<O> O getExtension(String reference,
Class<O> extensionClass)
throws ClassCastException,
IllegalArgumentException
O - object type returnedreference - unique corresponding to the extension to getextensionClass - class of the extension
ClassCastException - when extensionClass is not valid
IllegalArgumentException - for non existing extension with reference
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||