@Service public class FieldCommands extends Object implements org.springframework.roo.shell.CommandMarker
| Modifier and Type | Field and Description |
|---|---|
protected static Logger |
LOGGER |
static String |
ROO_DEFAULT_JOIN_TABLE_NAME |
| Constructor and Description |
|---|
FieldCommands() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate(org.osgi.service.component.ComponentContext context) |
void |
addFieldBoolean(org.springframework.roo.model.JavaSymbolName fieldName,
org.springframework.roo.model.JavaType typeName,
boolean notNull,
boolean nullRequired,
boolean assertFalse,
boolean assertTrue,
String column,
String value,
String comment,
boolean primitive,
boolean transientModifier,
boolean permitReservedWords,
org.springframework.roo.shell.ShellContext shellContext) |
void |
addFieldDateJpa(org.springframework.roo.model.JavaSymbolName fieldName,
org.springframework.roo.model.JavaType fieldType,
org.springframework.roo.classpath.operations.jsr303.DateFieldPersistenceType persistenceType,
org.springframework.roo.model.JavaType typeName,
boolean notNull,
boolean nullRequired,
boolean future,
boolean past,
String column,
String comment,
String value,
boolean transientModifier,
boolean permitReservedWords,
org.springframework.roo.classpath.operations.DateTime dateFormat,
org.springframework.roo.classpath.operations.DateTime timeFormat,
String pattern,
org.springframework.roo.shell.ShellContext shellContext) |
void |
addFieldEmbeddedJpa(org.springframework.roo.model.JavaSymbolName fieldName,
org.springframework.roo.model.JavaType fieldType,
org.springframework.roo.model.JavaType typeName,
boolean permitReservedWords,
org.springframework.roo.shell.ShellContext shellContext) |
void |
addFieldEnum(org.springframework.roo.model.JavaSymbolName fieldName,
org.springframework.roo.model.JavaType fieldType,
org.springframework.roo.model.JavaType typeName,
String column,
boolean notNull,
boolean nullRequired,
org.springframework.roo.classpath.operations.EnumType enumType,
String comment,
boolean transientModifier,
boolean permitReservedWords,
org.springframework.roo.shell.ShellContext shellContext) |
void |
addFieldListJpa(org.springframework.roo.model.JavaSymbolName fieldName,
org.springframework.roo.model.JavaType fieldType,
org.springframework.roo.model.JavaType typeName,
org.springframework.roo.model.JavaSymbolName mappedBy,
boolean notNull,
boolean nullRequired,
Integer sizeMin,
Integer sizeMax,
org.springframework.roo.classpath.operations.Cardinality cardinality,
org.springframework.roo.classpath.operations.Fetch fetch,
String comment,
boolean transientModifier,
boolean permitReservedWords,
String joinTable,
String joinColumns,
String referencedColumns,
String inverseJoinColumns,
String inverseReferencedColumns,
org.springframework.roo.classpath.operations.Cascade cascadeType,
org.springframework.roo.shell.ShellContext shellContext) |
void |
addFieldNumber(org.springframework.roo.model.JavaSymbolName fieldName,
org.springframework.roo.model.JavaType fieldType,
org.springframework.roo.model.JavaType typeName,
boolean notNull,
boolean nullRequired,
String decimalMin,
String decimalMax,
Integer digitsInteger,
Integer digitsFraction,
Long min,
Long max,
String column,
String comment,
String value,
boolean transientModifier,
boolean primitive,
boolean unique,
boolean permitReservedWords,
org.springframework.roo.shell.ShellContext shellContext) |
void |
addFieldReferenceJpa(org.springframework.roo.model.JavaSymbolName fieldName,
org.springframework.roo.model.JavaType fieldType,
org.springframework.roo.model.JavaType typeName,
boolean notNull,
boolean nullRequired,
String joinColumnName,
String referencedColumnName,
org.springframework.roo.classpath.operations.Cardinality cardinality,
org.springframework.roo.classpath.operations.Fetch fetch,
String comment,
boolean transientModifier,
boolean permitReservedWords,
org.springframework.roo.classpath.operations.Cascade cascadeType,
org.springframework.roo.shell.ShellContext shellContext) |
void |
addFieldSetJpa(org.springframework.roo.model.JavaSymbolName fieldName,
org.springframework.roo.model.JavaType fieldType,
org.springframework.roo.model.JavaType typeName,
org.springframework.roo.model.JavaSymbolName mappedBy,
boolean notNull,
boolean nullRequired,
Integer sizeMin,
Integer sizeMax,
org.springframework.roo.classpath.operations.Cardinality cardinality,
org.springframework.roo.classpath.operations.Fetch fetch,
String comment,
boolean transientModifier,
boolean permitReservedWords,
String joinTable,
String joinColumns,
String referencedColumns,
String inverseJoinColumns,
String inverseReferencedColumns,
org.springframework.roo.classpath.operations.Cascade cascadeType,
org.springframework.roo.shell.ShellContext shellContext) |
void |
addFieldString(org.springframework.roo.model.JavaSymbolName fieldName,
org.springframework.roo.model.JavaType typeName,
boolean notNull,
boolean nullRequired,
Integer sizeMin,
Integer sizeMax,
String regexp,
String column,
String value,
String comment,
boolean transientModifier,
boolean unique,
boolean permitReservedWords,
boolean lob,
org.springframework.roo.shell.ShellContext shellContext) |
void |
addFileUploadField(org.springframework.roo.model.JavaSymbolName fieldName,
org.springframework.roo.model.JavaType typeName,
org.springframework.roo.classpath.operations.jsr303.UploadedFileContentType contentType,
boolean autoUpload,
String column,
boolean notNull,
boolean permitReservedWords,
org.springframework.roo.shell.ShellContext shellContext) |
boolean |
areJoinTableParamsMandatoryForFieldList(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
areJoinTableParamsMandatoryForFieldSet(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
areJoinTableParamsVisibleForFieldList(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
areJoinTableParamsVisibleForFieldSet(org.springframework.roo.shell.ShellContext shellContext) |
protected void |
deactivate(org.osgi.service.component.ComponentContext context) |
FieldCreatorProvider |
getFieldCreatorProvider(org.springframework.roo.model.JavaType type)
Gets the right implementation of FieldCreatorProvider for a JavaType
|
List<String> |
getFieldListTypePossibleValues(org.springframework.roo.shell.ShellContext shellContext) |
List<String> |
getFieldSetTypeAllPossibleValues(org.springframework.roo.shell.ShellContext shellContext) |
org.springframework.roo.shell.Converter<org.springframework.roo.model.JavaType> |
getJavaTypeConverter() |
List<String> |
getReferenceTypePossibleValues(org.springframework.roo.shell.ShellContext shellContext) |
void |
insertField(org.springframework.roo.model.JavaSymbolName fieldName,
org.springframework.roo.model.JavaType fieldType,
org.springframework.roo.model.JavaType typeName,
boolean notNull,
boolean nullRequired,
String comment,
String column,
String value,
boolean transientModifier,
boolean permitReservedWords,
org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isCardinalityVisibleForFieldList(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isCardinalityVisibleForFieldReference(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isCardinalityVisibleForFieldSet(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isCascadeTypeVisibleForFieldReference(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isClassMandatoryForFieldBoolean() |
boolean |
isClassMandatoryForFieldDate() |
boolean |
isClassMandatoryForFieldEmbedded() |
boolean |
isClassMandatoryForFieldEnum() |
boolean |
isClassMandatoryForFieldFile() |
boolean |
isClassMandatoryForFieldList() |
boolean |
isClassMandatoryForFieldNumber() |
boolean |
isClassMandatoryForFieldOther() |
boolean |
isClassMandatoryForFieldReference() |
boolean |
isClassMandatoryForFieldSet() |
boolean |
isClassMandatoryForFieldString() |
boolean |
isClassVisibleForFieldBoolean(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isClassVisibleForFieldDate(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isClassVisibleForFieldEmbedded(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isClassVisibleForFieldEnum(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isClassVisibleForFieldFile(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isClassVisibleForFieldList(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isClassVisibleForFieldNumber(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isClassVisibleForFieldOther(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isClassVisibleForFieldReference(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isClassVisibleForFieldSet(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isClassVisibleForFieldString(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isColumnMandatoryForFieldBoolean(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isColumnMandatoryForFieldDate(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isColumnMandatoryForFieldEnum(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isColumnMandatoryForFieldFile(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isColumnMandatoryForFieldNumber(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isColumnMandatoryForFieldOther(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isColumnMandatoryForFieldReference(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isColumnMandatoryForFieldString(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isColumnVisibleForFieldBoolean(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isColumnVisibleForFieldDate(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isColumnVisibleForFieldEnum(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isColumnVisibleForFieldFile(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isColumnVisibleForFieldNumber(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isColumnVisibleForFieldOther(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isColumnVisibleForFieldString(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isEnumTypeVisibleForFieldEnum(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isFetchVisibleForFieldList(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isFetchVisibleForFieldReference(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isFetchVisibleForFieldSet(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isFieldEmbeddedAvailable() |
boolean |
isFieldManagementAvailable() |
boolean |
isFieldReferenceAvailable() |
boolean |
isJoinColumnNameVisibleForFieldReference(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isJoinTableMandatoryForFieldList(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isJoinTableMandatoryForFieldSet(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isJoinTableVisibleForFieldList(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isJoinTableVisibleForFieldSet(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isLobVisibleForFieldString(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isMappedByVisibleForFieldList(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isMappedByVisibleForFieldSet(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isPersistenceTypeVisibleForFieldDate(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isReferencedColumnNameVisibleForFieldReference(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isTransientVisibleForFieldBoolean(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isTransientVisibleForFieldDate(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isTransientVisibleForFieldEnum(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isTransientVisibleForFieldList(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isTransientVisibleForFieldNumber(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isTransientVisibleForFieldOther(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isTransientVisibleForFieldReference(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isTransientVisibleForFieldSet(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isTransientVisibleForFieldString(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isUniqueVisibleForFieldNumber(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isUniqueVisibleForFieldString(org.springframework.roo.shell.ShellContext shellContext) |
protected static final Logger LOGGER
public static final String ROO_DEFAULT_JOIN_TABLE_NAME
protected void activate(org.osgi.service.component.ComponentContext context)
protected void deactivate(org.osgi.service.component.ComponentContext context)
public boolean isColumnMandatoryForFieldBoolean(org.springframework.roo.shell.ShellContext shellContext)
public boolean isColumnVisibleForFieldBoolean(org.springframework.roo.shell.ShellContext shellContext)
public boolean isTransientVisibleForFieldBoolean(org.springframework.roo.shell.ShellContext shellContext)
public boolean isClassVisibleForFieldBoolean(org.springframework.roo.shell.ShellContext shellContext)
public boolean isClassMandatoryForFieldBoolean()
public void addFieldBoolean(org.springframework.roo.model.JavaSymbolName fieldName,
org.springframework.roo.model.JavaType typeName,
boolean notNull,
boolean nullRequired,
boolean assertFalse,
boolean assertTrue,
String column,
String value,
String comment,
boolean primitive,
boolean transientModifier,
boolean permitReservedWords,
org.springframework.roo.shell.ShellContext shellContext)
public boolean isColumnMandatoryForFieldDate(org.springframework.roo.shell.ShellContext shellContext)
public boolean isColumnVisibleForFieldDate(org.springframework.roo.shell.ShellContext shellContext)
public boolean isPersistenceTypeVisibleForFieldDate(org.springframework.roo.shell.ShellContext shellContext)
public boolean isTransientVisibleForFieldDate(org.springframework.roo.shell.ShellContext shellContext)
public boolean isClassVisibleForFieldDate(org.springframework.roo.shell.ShellContext shellContext)
public boolean isClassMandatoryForFieldDate()
public void addFieldDateJpa(org.springframework.roo.model.JavaSymbolName fieldName,
org.springframework.roo.model.JavaType fieldType,
org.springframework.roo.classpath.operations.jsr303.DateFieldPersistenceType persistenceType,
org.springframework.roo.model.JavaType typeName,
boolean notNull,
boolean nullRequired,
boolean future,
boolean past,
String column,
String comment,
String value,
boolean transientModifier,
boolean permitReservedWords,
org.springframework.roo.classpath.operations.DateTime dateFormat,
org.springframework.roo.classpath.operations.DateTime timeFormat,
String pattern,
org.springframework.roo.shell.ShellContext shellContext)
public boolean isClassVisibleForFieldEmbedded(org.springframework.roo.shell.ShellContext shellContext)
public boolean isClassMandatoryForFieldEmbedded()
public void addFieldEmbeddedJpa(org.springframework.roo.model.JavaSymbolName fieldName,
org.springframework.roo.model.JavaType fieldType,
org.springframework.roo.model.JavaType typeName,
boolean permitReservedWords,
org.springframework.roo.shell.ShellContext shellContext)
public boolean isColumnMandatoryForFieldEnum(org.springframework.roo.shell.ShellContext shellContext)
public boolean isColumnVisibleForFieldEnum(org.springframework.roo.shell.ShellContext shellContext)
public boolean isEnumTypeVisibleForFieldEnum(org.springframework.roo.shell.ShellContext shellContext)
public boolean isTransientVisibleForFieldEnum(org.springframework.roo.shell.ShellContext shellContext)
public boolean isClassVisibleForFieldEnum(org.springframework.roo.shell.ShellContext shellContext)
public boolean isClassMandatoryForFieldEnum()
public void addFieldEnum(org.springframework.roo.model.JavaSymbolName fieldName,
org.springframework.roo.model.JavaType fieldType,
org.springframework.roo.model.JavaType typeName,
String column,
boolean notNull,
boolean nullRequired,
org.springframework.roo.classpath.operations.EnumType enumType,
String comment,
boolean transientModifier,
boolean permitReservedWords,
org.springframework.roo.shell.ShellContext shellContext)
public boolean isColumnMandatoryForFieldNumber(org.springframework.roo.shell.ShellContext shellContext)
public boolean isColumnVisibleForFieldNumber(org.springframework.roo.shell.ShellContext shellContext)
public boolean isUniqueVisibleForFieldNumber(org.springframework.roo.shell.ShellContext shellContext)
public boolean isTransientVisibleForFieldNumber(org.springframework.roo.shell.ShellContext shellContext)
public boolean isClassVisibleForFieldNumber(org.springframework.roo.shell.ShellContext shellContext)
public boolean isClassMandatoryForFieldNumber()
public void addFieldNumber(org.springframework.roo.model.JavaSymbolName fieldName,
org.springframework.roo.model.JavaType fieldType,
org.springframework.roo.model.JavaType typeName,
boolean notNull,
boolean nullRequired,
String decimalMin,
String decimalMax,
Integer digitsInteger,
Integer digitsFraction,
Long min,
Long max,
String column,
String comment,
String value,
boolean transientModifier,
boolean primitive,
boolean unique,
boolean permitReservedWords,
org.springframework.roo.shell.ShellContext shellContext)
public List<String> getReferenceTypePossibleValues(org.springframework.roo.shell.ShellContext shellContext)
public boolean isColumnMandatoryForFieldReference(org.springframework.roo.shell.ShellContext shellContext)
public boolean isJoinColumnNameVisibleForFieldReference(org.springframework.roo.shell.ShellContext shellContext)
public boolean isReferencedColumnNameVisibleForFieldReference(org.springframework.roo.shell.ShellContext shellContext)
public boolean isCardinalityVisibleForFieldReference(org.springframework.roo.shell.ShellContext shellContext)
public boolean isFetchVisibleForFieldReference(org.springframework.roo.shell.ShellContext shellContext)
public boolean isTransientVisibleForFieldReference(org.springframework.roo.shell.ShellContext shellContext)
public boolean isCascadeTypeVisibleForFieldReference(org.springframework.roo.shell.ShellContext shellContext)
public boolean isClassVisibleForFieldReference(org.springframework.roo.shell.ShellContext shellContext)
public boolean isClassMandatoryForFieldReference()
public void addFieldReferenceJpa(org.springframework.roo.model.JavaSymbolName fieldName,
org.springframework.roo.model.JavaType fieldType,
org.springframework.roo.model.JavaType typeName,
boolean notNull,
boolean nullRequired,
String joinColumnName,
String referencedColumnName,
org.springframework.roo.classpath.operations.Cardinality cardinality,
org.springframework.roo.classpath.operations.Fetch fetch,
String comment,
boolean transientModifier,
boolean permitReservedWords,
org.springframework.roo.classpath.operations.Cascade cascadeType,
org.springframework.roo.shell.ShellContext shellContext)
public boolean areJoinTableParamsMandatoryForFieldSet(org.springframework.roo.shell.ShellContext shellContext)
public boolean isJoinTableMandatoryForFieldSet(org.springframework.roo.shell.ShellContext shellContext)
public boolean areJoinTableParamsVisibleForFieldSet(org.springframework.roo.shell.ShellContext shellContext)
public boolean isMappedByVisibleForFieldSet(org.springframework.roo.shell.ShellContext shellContext)
public boolean isCardinalityVisibleForFieldSet(org.springframework.roo.shell.ShellContext shellContext)
public boolean isFetchVisibleForFieldSet(org.springframework.roo.shell.ShellContext shellContext)
public boolean isTransientVisibleForFieldSet(org.springframework.roo.shell.ShellContext shellContext)
public boolean isJoinTableVisibleForFieldSet(org.springframework.roo.shell.ShellContext shellContext)
public boolean isClassVisibleForFieldSet(org.springframework.roo.shell.ShellContext shellContext)
public boolean isClassMandatoryForFieldSet()
public List<String> getFieldSetTypeAllPossibleValues(org.springframework.roo.shell.ShellContext shellContext)
public void addFieldSetJpa(org.springframework.roo.model.JavaSymbolName fieldName,
org.springframework.roo.model.JavaType fieldType,
org.springframework.roo.model.JavaType typeName,
org.springframework.roo.model.JavaSymbolName mappedBy,
boolean notNull,
boolean nullRequired,
Integer sizeMin,
Integer sizeMax,
org.springframework.roo.classpath.operations.Cardinality cardinality,
org.springframework.roo.classpath.operations.Fetch fetch,
String comment,
boolean transientModifier,
boolean permitReservedWords,
String joinTable,
String joinColumns,
String referencedColumns,
String inverseJoinColumns,
String inverseReferencedColumns,
org.springframework.roo.classpath.operations.Cascade cascadeType,
org.springframework.roo.shell.ShellContext shellContext)
public boolean areJoinTableParamsVisibleForFieldList(org.springframework.roo.shell.ShellContext shellContext)
public boolean isJoinTableMandatoryForFieldList(org.springframework.roo.shell.ShellContext shellContext)
public boolean areJoinTableParamsMandatoryForFieldList(org.springframework.roo.shell.ShellContext shellContext)
public boolean isMappedByVisibleForFieldList(org.springframework.roo.shell.ShellContext shellContext)
public boolean isCardinalityVisibleForFieldList(org.springframework.roo.shell.ShellContext shellContext)
public boolean isFetchVisibleForFieldList(org.springframework.roo.shell.ShellContext shellContext)
public boolean isTransientVisibleForFieldList(org.springframework.roo.shell.ShellContext shellContext)
public boolean isJoinTableVisibleForFieldList(org.springframework.roo.shell.ShellContext shellContext)
public boolean isClassVisibleForFieldList(org.springframework.roo.shell.ShellContext shellContext)
public boolean isClassMandatoryForFieldList()
public List<String> getFieldListTypePossibleValues(org.springframework.roo.shell.ShellContext shellContext)
public void addFieldListJpa(org.springframework.roo.model.JavaSymbolName fieldName,
org.springframework.roo.model.JavaType fieldType,
org.springframework.roo.model.JavaType typeName,
org.springframework.roo.model.JavaSymbolName mappedBy,
boolean notNull,
boolean nullRequired,
Integer sizeMin,
Integer sizeMax,
org.springframework.roo.classpath.operations.Cardinality cardinality,
org.springframework.roo.classpath.operations.Fetch fetch,
String comment,
boolean transientModifier,
boolean permitReservedWords,
String joinTable,
String joinColumns,
String referencedColumns,
String inverseJoinColumns,
String inverseReferencedColumns,
org.springframework.roo.classpath.operations.Cascade cascadeType,
org.springframework.roo.shell.ShellContext shellContext)
public boolean isColumnMandatoryForFieldString(org.springframework.roo.shell.ShellContext shellContext)
public boolean isColumnVisibleForFieldString(org.springframework.roo.shell.ShellContext shellContext)
public boolean isUniqueVisibleForFieldString(org.springframework.roo.shell.ShellContext shellContext)
public boolean isTransientVisibleForFieldString(org.springframework.roo.shell.ShellContext shellContext)
public boolean isLobVisibleForFieldString(org.springframework.roo.shell.ShellContext shellContext)
public boolean isClassVisibleForFieldString(org.springframework.roo.shell.ShellContext shellContext)
public boolean isClassMandatoryForFieldString()
public void addFieldString(org.springframework.roo.model.JavaSymbolName fieldName,
org.springframework.roo.model.JavaType typeName,
boolean notNull,
boolean nullRequired,
Integer sizeMin,
Integer sizeMax,
String regexp,
String column,
String value,
String comment,
boolean transientModifier,
boolean unique,
boolean permitReservedWords,
boolean lob,
org.springframework.roo.shell.ShellContext shellContext)
public boolean isColumnMandatoryForFieldFile(org.springframework.roo.shell.ShellContext shellContext)
public boolean isColumnVisibleForFieldFile(org.springframework.roo.shell.ShellContext shellContext)
public boolean isClassVisibleForFieldFile(org.springframework.roo.shell.ShellContext shellContext)
public boolean isClassMandatoryForFieldFile()
public void addFileUploadField(org.springframework.roo.model.JavaSymbolName fieldName,
org.springframework.roo.model.JavaType typeName,
org.springframework.roo.classpath.operations.jsr303.UploadedFileContentType contentType,
boolean autoUpload,
String column,
boolean notNull,
boolean permitReservedWords,
org.springframework.roo.shell.ShellContext shellContext)
public boolean isColumnMandatoryForFieldOther(org.springframework.roo.shell.ShellContext shellContext)
public boolean isColumnVisibleForFieldOther(org.springframework.roo.shell.ShellContext shellContext)
public boolean isTransientVisibleForFieldOther(org.springframework.roo.shell.ShellContext shellContext)
public boolean isClassVisibleForFieldOther(org.springframework.roo.shell.ShellContext shellContext)
public boolean isClassMandatoryForFieldOther()
public void insertField(org.springframework.roo.model.JavaSymbolName fieldName,
org.springframework.roo.model.JavaType fieldType,
org.springframework.roo.model.JavaType typeName,
boolean notNull,
boolean nullRequired,
String comment,
String column,
String value,
boolean transientModifier,
boolean permitReservedWords,
org.springframework.roo.shell.ShellContext shellContext)
public boolean isFieldManagementAvailable()
public boolean isFieldEmbeddedAvailable()
public boolean isFieldReferenceAvailable()
public FieldCreatorProvider getFieldCreatorProvider(org.springframework.roo.model.JavaType type)
type - the JavaType to get the implementationpublic org.springframework.roo.shell.Converter<org.springframework.roo.model.JavaType> getJavaTypeConverter()
Copyright © 2009–2016. All rights reserved.