org.drools.lang.api.impl
Class AnnotationDescrBuilderImpl<P extends DescrBuilder<?,?>>

java.lang.Object
  extended by org.drools.lang.api.impl.BaseDescrBuilderImpl<P,AnnotationDescr>
      extended by org.drools.lang.api.impl.AnnotationDescrBuilderImpl<P>
All Implemented Interfaces:
AnnotationDescrBuilder<P>, DescrBuilder<P,AnnotationDescr>

public class AnnotationDescrBuilderImpl<P extends DescrBuilder<?,?>>
extends BaseDescrBuilderImpl<P,AnnotationDescr>
implements AnnotationDescrBuilder<P>


Field Summary
 
Fields inherited from class org.drools.lang.api.impl.BaseDescrBuilderImpl
descr, parent
 
Constructor Summary
protected AnnotationDescrBuilderImpl(P parent, String name)
           
 
Method Summary
 AnnotationDescrBuilder<P> keyValue(String key, String value)
           
 AnnotationDescrBuilder<P> value(String value)
           
 
Methods inherited from class org.drools.lang.api.impl.BaseDescrBuilderImpl
end, endCharacter, endLocation, getDescr, startCharacter, startLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.drools.lang.api.DescrBuilder
end, endCharacter, endLocation, getDescr, startCharacter, startLocation
 

Constructor Detail

AnnotationDescrBuilderImpl

protected AnnotationDescrBuilderImpl(P parent,
                                     String name)
Method Detail

value

public AnnotationDescrBuilder<P> value(String value)
Specified by:
value in interface AnnotationDescrBuilder<P extends DescrBuilder<?,?>>

keyValue

public AnnotationDescrBuilder<P> keyValue(String key,
                                          String value)
Specified by:
keyValue in interface AnnotationDescrBuilder<P extends DescrBuilder<?,?>>


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.