Knowledge API Legacy5 Adapter 6.0.0.CR4-Pre1

org.drools.impl.adapters
Class AnnotationAdapter

java.lang.Object
  extended by org.drools.impl.adapters.AnnotationAdapter
All Implemented Interfaces:
Annotation

public class AnnotationAdapter
extends Object
implements Annotation


Constructor Summary
AnnotationAdapter(org.kie.api.definition.type.Annotation delegate)
           
 
Method Summary
static List<Annotation> adaptAnnotations(Collection<org.kie.api.definition.type.Annotation> annotations)
           
 String getName()
           
 Class getPropertyType(String key)
           
 Object getPropertyValue(String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationAdapter

public AnnotationAdapter(org.kie.api.definition.type.Annotation delegate)
Method Detail

getName

public String getName()
Specified by:
getName in interface Annotation

getPropertyValue

public Object getPropertyValue(String key)
Specified by:
getPropertyValue in interface Annotation

getPropertyType

public Class getPropertyType(String key)
Specified by:
getPropertyType in interface Annotation

adaptAnnotations

public static List<Annotation> adaptAnnotations(Collection<org.kie.api.definition.type.Annotation> annotations)

Knowledge API Legacy5 Adapter 6.0.0.CR4-Pre1

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.