org.drools.lang.api
Interface AbstractClassTypeDeclarationBuilder<T extends BaseDescr>

All Superinterfaces:
DescrBuilder<PackageDescrBuilder,T>
All Known Subinterfaces:
EnumDeclarationDescrBuilder, TypeDeclarationDescrBuilder
All Known Implementing Classes:
EnumDeclarationDescrBuilderImpl, TypeDeclarationDescrBuilderImpl

public interface AbstractClassTypeDeclarationBuilder<T extends BaseDescr>
extends DescrBuilder<PackageDescrBuilder,T>


Method Summary
 FieldDescrBuilder<AbstractClassTypeDeclarationBuilder<T>> newField(String name)
          Adds a field to this type declaration
 
Methods inherited from interface org.drools.lang.api.DescrBuilder
end, endCharacter, endLocation, getDescr, startCharacter, startLocation
 

Method Detail

newField

FieldDescrBuilder<AbstractClassTypeDeclarationBuilder<T>> newField(String name)
Adds a field to this type declaration

Parameters:
name - the name of the field
Returns:
a descriptor builder for the field


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