public class DOType.DOClassBuilder extends DOType.Builder
| Modifier and Type | Method and Description |
|---|---|
void |
addField(String name,
String typeName)
Add a field i.e. an attribute definition to the domain object type.
|
void |
addInterface(DOType anInterface)
Add an interface definition to the constructed domain object Class.
|
void |
addInterfaceBuilder(DOType.DOInterfaceBuilder builder)
Set a builder for the interface to be added to the constructed domain object Class.
|
void |
addListField(String name,
String componentTypeName)
Add a list field i.e. a list or array attribute defined in a domain object type.
|
void |
setAbstract()
Define the constructed domain object type to represent an Abstract Class
|
void |
setSuperType(DOType superType)
Set the super type of the constructed domain object Class.
|
void |
setSuperTypeBuilder(DOType.DOClassBuilder superTypeBuilder)
Set a builder for the super type of the constructed domain object Class.
|
buildpublic void setAbstract()
public void setSuperType(DOType superType)
superType - public void setSuperTypeBuilder(DOType.DOClassBuilder superTypeBuilder)
superTypeBuilder - public void addInterface(DOType anInterface)
anInterface - public void addInterfaceBuilder(DOType.DOInterfaceBuilder builder)
builder - public void addField(String name, String typeName)
name - field- (attribute) nametypeName - qualified type nameCopyright © 2016. All rights reserved.