Class SimpleAnnotationDefinition
- java.lang.Object
-
- org.drools.model.codegen.execmodel.generator.declaredtype.api.SimpleAnnotationDefinition
-
- All Implemented Interfaces:
AnnotationDefinition
public class SimpleAnnotationDefinition extends java.lang.Object implements AnnotationDefinition
-
-
Constructor Summary
Constructors Constructor Description SimpleAnnotationDefinition(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotationDefinitionaddValue(java.lang.String key, java.lang.String value)java.lang.StringgetName()java.util.Map<java.lang.String,java.lang.String>getValueMap()booleanshouldAddAnnotation()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceAnnotationDefinition
-
getValueMap
public java.util.Map<java.lang.String,java.lang.String> getValueMap()
- Specified by:
getValueMapin interfaceAnnotationDefinition
-
addValue
public AnnotationDefinition addValue(java.lang.String key, java.lang.String value)
- Specified by:
addValuein interfaceAnnotationDefinition
-
shouldAddAnnotation
public boolean shouldAddAnnotation()
- Specified by:
shouldAddAnnotationin interfaceAnnotationDefinition
-
-