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,
org.kie.soup.project.datamodel.commons.types.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) |
String |
toString() |
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 Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public String getName()
getName
in interface org.kie.api.definition.type.Annotation
public void setName(String name)
public Object getPropertyValue(String key)
getPropertyValue
in interface org.kie.api.definition.type.Annotation
public Class getPropertyType(String key)
getPropertyType
in interface org.kie.api.definition.type.Annotation
public static AnnotationDefinition build(Class annotationClass, Map<String,Object> valueMap, org.kie.soup.project.datamodel.commons.types.TypeResolver resolver) throws NoSuchMethodException
NoSuchMethodException
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.