public class AnnotationDefinition extends Object implements Externalizable, org.kie.api.definition.type.Annotation
| Modifier and Type | Class and Description |
|---|---|
static class |
AnnotationDefinition.AnnotationPropertyVal |
| Constructor and Description |
|---|
AnnotationDefinition() |
AnnotationDefinition(String name) |
| Modifier and Type | Method and Description |
|---|---|
static AnnotationDefinition |
build(Class annotationClass,
Map<String,Object> valueMap,
TypeResolver resolver) |
boolean |
equals(Object o) |
String |
getName() |
Class |
getPropertyType(String key) |
Object |
getPropertyValue(String key) |
Map<String,AnnotationDefinition.AnnotationPropertyVal> |
getValues() |
int |
hashCode() |
void |
readExternal(ObjectInput in) |
void |
setName(String name) |
static String |
unquote(String s) |
void |
writeExternal(ObjectOutput out) |
public AnnotationDefinition()
public AnnotationDefinition(String name)
public Map<String,AnnotationDefinition.AnnotationPropertyVal> getValues()
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic String getName()
getName in interface org.kie.api.definition.type.Annotationpublic void setName(String name)
public Object getPropertyValue(String key)
getPropertyValue in interface org.kie.api.definition.type.Annotationpublic Class getPropertyType(String key)
getPropertyType in interface org.kie.api.definition.type.Annotationpublic static AnnotationDefinition build(Class annotationClass, Map<String,Object> valueMap, TypeResolver resolver) throws NoSuchMethodException
NoSuchMethodExceptionCopyright © 2001–2015 JBoss by Red Hat. All rights reserved.