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