Package ai.libs.jaicore.basic
Interface IAnnotatable
-
public interface IAnnotatable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidappendAnnotation(java.lang.String key, java.lang.String annotation)Appends an annotation to a potentially previously annotated string.java.lang.StringgetAnnotation(java.lang.String key)Retrieve an annotation by its key.voidputAnnotation(java.lang.String key, java.lang.String annotation)Add an annotation to this component instance.
-
-
-
Method Detail
-
putAnnotation
void putAnnotation(java.lang.String key, java.lang.String annotation)Add an annotation to this component instance.- Parameters:
key- The key of how to address this annotation.annotation- The annotation value.
-
appendAnnotation
void appendAnnotation(java.lang.String key, java.lang.String annotation)Appends an annotation to a potentially previously annotated string.- Parameters:
key- The key for which to append the annotation.annotation- The annotation value.
-
getAnnotation
java.lang.String getAnnotation(java.lang.String key)
Retrieve an annotation by its key.- Parameters:
key- The key for which to retrieve the annotation.- Returns:
- The annotation value.
-
-