public class IntField extends FieldType
| Constructor and Description |
|---|
IntField() |
| Modifier and Type | Method and Description |
|---|---|
Object |
convert(Object value) |
List<String> |
getAllowedOperators() |
String |
getCppJavaPropertyType() |
String |
getCppPropertyType()
Product the Java type of this field type.
|
MolgenisFieldTypes.FieldTypeEnum |
getEnumType() |
String |
getFormatString()
Get the format string, e.g.
|
String |
getHsqlType()
Produce a valid hsql snippet indicating the mysql type.
|
String |
getJavaAssignment(String value)
Produce a valid Java snippet to set a value for field.
|
String |
getJavaPropertyDefault()
Produce a valid Java snippet to set the default of a field, using the 'getDefault' function of that field.
|
String |
getJavaPropertyType()
Product the Java type of this field type.
|
String |
getJavaSetterType() |
Class<?> |
getJavaType()
Produce the Java class corresponding to the value
|
Long |
getMaxLength()
Returns the maximum number of characters for this field type or null if not applicable
|
String |
getMysqlType()
Produce a valid mysql snippet indicating the mysql type.
|
String |
getOracleType() |
Object |
getTypedValue(String value) |
String |
getXsdType()
Produce valid XSD type
|
equals, getEntityByName, getFieldType, hashCode, setField, toCsv, toStringpublic String getJavaPropertyType() throws MolgenisModelException
FieldTypegetJavaPropertyType in class FieldTypeMolgenisModelExceptionpublic String getJavaAssignment(String value)
FieldTypegetJavaAssignment in class FieldTypepublic String getJavaPropertyDefault()
FieldTypegetJavaPropertyDefault in class FieldTypepublic String getMysqlType() throws MolgenisModelException
FieldTypegetMysqlType in class FieldTypeMolgenisModelExceptionpublic String getOracleType() throws MolgenisModelException
getOracleType in class FieldTypeMolgenisModelExceptionpublic String getJavaSetterType() throws MolgenisModelException
getJavaSetterType in class FieldTypeMolgenisModelExceptionpublic String getHsqlType()
FieldTypegetHsqlType in class FieldTypepublic String getXsdType()
FieldTypegetXsdType in class FieldTypepublic String getFormatString()
FieldTypegetFormatString in class FieldTypepublic String getCppPropertyType() throws MolgenisModelException
FieldTypegetCppPropertyType in class FieldTypeMolgenisModelExceptionpublic String getCppJavaPropertyType()
getCppJavaPropertyType in class FieldTypepublic Class<?> getJavaType()
FieldTypegetJavaType in class FieldTypepublic Object getTypedValue(String value) throws ParseException
getTypedValue in class FieldTypeParseExceptionpublic MolgenisFieldTypes.FieldTypeEnum getEnumType()
getEnumType in class FieldTypepublic Long getMaxLength()
FieldTypegetMaxLength in class FieldTypepublic List<String> getAllowedOperators()
getAllowedOperators in class FieldTypeCopyright © 2015. All Rights Reserved.