org.drools.lang.api
Class DeclareDescrBuilderImpl

java.lang.Object
  extended by org.drools.lang.api.BaseDescrBuilderImpl<TypeDeclarationDescr>
      extended by org.drools.lang.api.DeclareDescrBuilderImpl
All Implemented Interfaces:
AnnotatedDescrBuilder<TypeDeclarationDescr>, DeclareDescrBuilder, DescrBuilder<TypeDeclarationDescr>

public class DeclareDescrBuilderImpl
extends BaseDescrBuilderImpl<TypeDeclarationDescr>
implements DeclareDescrBuilder


Field Summary
 
Fields inherited from class org.drools.lang.api.BaseDescrBuilderImpl
descr
 
Constructor Summary
protected DeclareDescrBuilderImpl()
           
 
Method Summary
 AnnotationDescrBuilder newAnnotation(String name)
           
 FieldDescrBuilder newField(String name)
           
 DeclareDescrBuilder superType(String type)
           
 DeclareDescrBuilder type(String type)
           
 
Methods inherited from class org.drools.lang.api.BaseDescrBuilderImpl
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
endCharacter, endLocation, getDescr, startCharacter, startLocation
 

Constructor Detail

DeclareDescrBuilderImpl

protected DeclareDescrBuilderImpl()
Method Detail

type

public DeclareDescrBuilder type(String type)
Specified by:
type in interface DeclareDescrBuilder

superType

public DeclareDescrBuilder superType(String type)
Specified by:
superType in interface DeclareDescrBuilder

newAnnotation

public AnnotationDescrBuilder newAnnotation(String name)
Specified by:
newAnnotation in interface AnnotatedDescrBuilder<TypeDeclarationDescr>

newField

public FieldDescrBuilder newField(String name)
Specified by:
newField in interface DeclareDescrBuilder


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