Class Annotation
- java.lang.Object
-
- es.bsc.dataclay.util.management.classmgr.Annotation
-
public class Annotation extends Object
-
-
Constructor Summary
Constructors Constructor Description Annotation()
Annotation(String descr)
Annotation(String descr, Map<String,String> parameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addLanguageDepInfo(LanguageDependantAnnotationInfo langInfo)
Add language dependant informationvoid
addParameter(String name, Object value)
boolean
equals(Object o)
String
getDescr()
UUID
getId()
JavaAnnotationInfo
getJavaAnnotationInfo()
Get Java language-dependant information of the annotationMap<CommonMessages.Langs,LanguageDependantAnnotationInfo>
getLanguageDepInfos()
String
getParameter(String name)
Map<String,String>
getParameters()
PythonAnnotationInfo
getPythonAnnotationInfo()
Get Python language-dependant information of the annotationvoid
setDescr(String descr)
void
setId(UUID id)
void
setLanguageDepInfos(Map<CommonMessages.Langs,LanguageDependantAnnotationInfo> languageDepInfos)
void
setParameters(Map<String,String> parameters)
String
toString()
-
-
-
Method Detail
-
getDescr
public String getDescr()
-
setDescr
public void setDescr(String descr)
-
getId
public UUID getId()
-
setId
public void setId(UUID id)
-
getLanguageDepInfos
public Map<CommonMessages.Langs,LanguageDependantAnnotationInfo> getLanguageDepInfos()
-
setLanguageDepInfos
public void setLanguageDepInfos(Map<CommonMessages.Langs,LanguageDependantAnnotationInfo> languageDepInfos)
-
getJavaAnnotationInfo
public JavaAnnotationInfo getJavaAnnotationInfo()
Get Java language-dependant information of the annotation- Returns:
- Java language-dependant information of the annotation
-
getPythonAnnotationInfo
public PythonAnnotationInfo getPythonAnnotationInfo()
Get Python language-dependant information of the annotation- Returns:
- Python language-dependant information of the annotation
-
addLanguageDepInfo
public void addLanguageDepInfo(LanguageDependantAnnotationInfo langInfo)
Add language dependant information- Parameters:
langInfo
- Language information
-
-