org.drools.lang.api
Interface TypeDeclarationDescrBuilder
- All Superinterfaces:
- AbstractClassTypeDeclarationBuilder<TypeDeclarationDescr>, AnnotatedDescrBuilder<TypeDeclarationDescrBuilder>, DescrBuilder<PackageDescrBuilder,TypeDeclarationDescr>
- All Known Implementing Classes:
- TypeDeclarationDescrBuilderImpl
public interface TypeDeclarationDescrBuilder
- extends AnnotatedDescrBuilder<TypeDeclarationDescrBuilder>, AbstractClassTypeDeclarationBuilder<TypeDeclarationDescr>
A descriptor builder for declared types
name
TypeDeclarationDescrBuilder name(String type)
- Defines the type name
- Parameters:
type
- the type name
- Returns:
- itself
superType
TypeDeclarationDescrBuilder superType(String type)
- Defines the super type of this type. For POJOs, this is the
super class it will extend
- Parameters:
type
- the super type for this type
- Returns:
- itself
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.