|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TypeManagementService
Creates and maintains types.
| Method Summary | |
|---|---|
void |
addEnumConstant(String physicalTypeIdentifier,
org.springframework.roo.model.JavaSymbolName constantName)
Adds a new enum constant to an existing class. |
void |
addField(FieldMetadata field)
Adds a new field to an existing class. |
void |
createOrUpdateTypeOnDisk(ClassOrInterfaceTypeDetails cid)
Creates a physical type with the contents based on the ClassOrInterfaceTypeDetails passed in at the location denoted by
the passed in path. |
void |
generateClassFile(ClassOrInterfaceTypeDetails cid)
Deprecated. |
| Method Detail |
|---|
void addEnumConstant(String physicalTypeIdentifier,
org.springframework.roo.model.JavaSymbolName constantName)
physicalTypeIdentifier - to add (required)constantName - the name of the constant (required)void addField(FieldMetadata field)
An exception is thrown if the class does not exist, cannot be modified or a field with the requested name is already declared.
field - the field to add (required)void createOrUpdateTypeOnDisk(ClassOrInterfaceTypeDetails cid)
ClassOrInterfaceTypeDetails passed in at the location denoted by
the passed in path. This method expects the passed in file location to be
correct.
cid - ClassOrInterfaceTypeDetails to base the file contents
on (required)@Deprecated void generateClassFile(ClassOrInterfaceTypeDetails cid)
An exception is thrown if the class already exists.
cid - the ClassOrInterfaceTypeDetails to create (required)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||