|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TypeDeclarationDescrBuilder
A descriptor builder for declared types
| Method Summary | |
|---|---|
TypeDeclarationDescrBuilder |
name(String type)
Defines the type name |
FieldDescrBuilder |
newField(String name)
Adds a field to this type declaration |
TypeDeclarationDescrBuilder |
superType(String type)
Defines the super type of this type. |
| Methods inherited from interface org.drools.lang.api.AnnotatedDescrBuilder |
|---|
newAnnotation |
| Methods inherited from interface org.drools.lang.api.DescrBuilder |
|---|
end, endCharacter, endLocation, getDescr, startCharacter, startLocation |
| Method Detail |
|---|
TypeDeclarationDescrBuilder name(String type)
type - the type name
TypeDeclarationDescrBuilder superType(String type)
type - the super type for this type
FieldDescrBuilder newField(String name)
name - the name of the field
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||