org.nuiton.eugene.java
Class AnnotationsManager

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

Deprecated. since 2.3, use now the class AnnotationsManager

@Deprecated
public class AnnotationsManager
extends Object

To manage annotations for any ObjectModelElement of a classifier.

Created: 17 déc. 2009

Since:
2.0.0
Version:
$Revision: 1020 $
Author:
tchemit

Field Summary
protected  Map<ObjectModelElement,List<String>> annotations
          Deprecated.  
 
Constructor Summary
AnnotationsManager()
          Deprecated.  
 
Method Summary
 void addAnnotation(ObjectModelElement element, String annotation)
          Deprecated. Add the annotation for the given element of the classifier.
protected  Map<ObjectModelElement,List<String>> getAnnotations()
          Deprecated.  
 String[] getAnnotations(ObjectModelElement element)
          Deprecated. Obtain the array of annotations registred for a given element of the classifier.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

annotations

protected Map<ObjectModelElement,List<String>> annotations
Deprecated. 
Constructor Detail

AnnotationsManager

public AnnotationsManager()
Deprecated. 
Method Detail

addAnnotation

public void addAnnotation(ObjectModelElement element,
                          String annotation)
Deprecated. 
Add the annotation for the given element of the classifier.

Parameters:
element - the element where to register the annotation
annotation - the annotation to register

getAnnotations

public String[] getAnnotations(ObjectModelElement element)
Deprecated. 
Obtain the array of annotations registred for a given element of the classifier.

Parameters:
element - the element where to search for annotations
Returns:
the annotations for the element (empty arry if none found

getAnnotations

protected Map<ObjectModelElement,List<String>> getAnnotations()
Deprecated. 


Copyright © 2004-2010 CodeLutin. All Rights Reserved.