org.drools.core.factmodel
Class AnnotationDefinition
java.lang.Object
org.drools.core.factmodel.AnnotationDefinition
- All Implemented Interfaces:
- Externalizable, Serializable, org.kie.api.definition.type.Annotation
public class AnnotationDefinition
- extends Object
- implements Externalizable, org.kie.api.definition.type.Annotation
- See Also:
- Serialized Form
AnnotationDefinition
public AnnotationDefinition()
AnnotationDefinition
public AnnotationDefinition(String name)
getValues
public Map<String,AnnotationDefinition.AnnotationPropertyVal> getValues()
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal in interface Externalizable
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal in interface Externalizable
- Throws:
IOException
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
getName
public String getName()
- Specified by:
getName in interface org.kie.api.definition.type.Annotation
setName
public void setName(String name)
getPropertyValue
public Object getPropertyValue(String key)
- Specified by:
getPropertyValue in interface org.kie.api.definition.type.Annotation
getPropertyType
public Class getPropertyType(String key)
- Specified by:
getPropertyType in interface org.kie.api.definition.type.Annotation
build
public static AnnotationDefinition build(Class annotationClass,
Map<String,String> valueMap,
TypeResolver resolver)
throws NoSuchMethodException
- Throws:
NoSuchMethodException
unquote
public static String unquote(String s)
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.