org.nuiton.eugene.java
Class AnnotationsManagerExtension

java.lang.Object
  extended by org.nuiton.eugene.java.AnnotationsManagerExtension

Deprecated. since 2.3, use now the class AnnotationsManagerExtension

@Deprecated
public class AnnotationsManagerExtension
extends Object

Created: 17 déc. 2009

Version:
$Revision: 1020 $
Author:
tchemit

Field Summary
protected  Map<String,AnnotationsManager> managers
          Deprecated. Map of AnotationsManager with key equals to the classifier qualified name associated to the AnotationsManager
static String OBJECTMODEL_EXTENSION
          Deprecated. Extension static used to identify AnnotationsManagerExtension in ObjectModel.
 
Constructor Summary
AnnotationsManagerExtension()
          Deprecated.  
 
Method Summary
 String[] getAnnotations(ObjectModelClassifier classifier, ObjectModelElement element)
          Deprecated. Get the registred annotations for the given element in the given classifier.
 AnnotationsManager getManager(ObjectModelClassifier classifier)
          Deprecated. Get the AnotationsManager associated to the classifier.
protected  Map<String,AnnotationsManager> getManagers()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OBJECTMODEL_EXTENSION

public static final String OBJECTMODEL_EXTENSION
Deprecated. 
Extension static used to identify AnnotationsManagerExtension in ObjectModel.

See Also:
Constant Field Values

managers

protected Map<String,AnnotationsManager> managers
Deprecated. 
Map of AnotationsManager with key equals to the classifier qualified name associated to the AnotationsManager

Constructor Detail

AnnotationsManagerExtension

public AnnotationsManagerExtension()
Deprecated. 
Method Detail

getAnnotations

public String[] getAnnotations(ObjectModelClassifier classifier,
                               ObjectModelElement element)
Deprecated. 
Get the registred annotations for the given element in the given classifier. Note: The method always returns a none null value, but an empty array when no annotation when no annotation found for the element.

Parameters:
classifier - the classifier where is the element
element - the element on which searching annotations
Returns:
the array of annotation registred or an empty array if none.

getManager

public AnnotationsManager getManager(ObjectModelClassifier classifier)
Deprecated. 
Get the AnotationsManager associated to the classifier. If not exist, it will be created.

Parameters:
classifier - reference for the AnotationsManager
Returns:
the annotationsManager associated to the classifier (never null)

getManagers

protected Map<String,AnnotationsManager> getManagers()
Deprecated. 


Copyright © 2004-2010 CodeLutin. All Rights Reserved.