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 voidaddLanguageDepInfo(LanguageDependantAnnotationInfo langInfo)Add language dependant informationvoidaddParameter(String name, Object value)booleanequals(Object o)StringgetDescr()UUIDgetId()JavaAnnotationInfogetJavaAnnotationInfo()Get Java language-dependant information of the annotationMap<CommonMessages.Langs,LanguageDependantAnnotationInfo>getLanguageDepInfos()StringgetParameter(String name)Map<String,String>getParameters()PythonAnnotationInfogetPythonAnnotationInfo()Get Python language-dependant information of the annotationvoidsetDescr(String descr)voidsetId(UUID id)voidsetLanguageDepInfos(Map<CommonMessages.Langs,LanguageDependantAnnotationInfo> languageDepInfos)voidsetParameters(Map<String,String> parameters)StringtoString()
-
-
-
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
-
-