public class XrefField extends FieldType
| Constructor and Description |
|---|
XrefField() |
| Modifier and Type | Method and Description |
|---|---|
Object |
convert(Object value) |
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, getAllowedOperators, getEntityByName, getFieldType, hashCode, setField, toCsv, toStringpublic String getJavaAssignment(String value)
FieldTypegetJavaAssignment in class FieldTypepublic String getJavaPropertyType() throws MolgenisModelException
FieldTypegetJavaPropertyType in class FieldTypeMolgenisModelExceptionpublic String getJavaPropertyDefault()
FieldTypegetJavaPropertyDefault in class FieldTypepublic String getJavaSetterType() throws MolgenisModelException
getJavaSetterType in class FieldTypeMolgenisModelExceptionpublic String getMysqlType() throws MolgenisModelException
FieldTypegetMysqlType in class FieldTypeMolgenisModelExceptionpublic String getOracleType() throws MolgenisModelException
getOracleType in class FieldTypeMolgenisModelExceptionpublic String getHsqlType() throws MolgenisModelException
FieldTypegetHsqlType in class FieldTypeMolgenisModelExceptionpublic String getXsdType() throws MolgenisModelException
FieldTypegetXsdType in class FieldTypeMolgenisModelExceptionpublic String getFormatString()
FieldTypegetFormatString in class FieldTypepublic String getCppPropertyType() throws MolgenisModelException
FieldTypegetCppPropertyType in class FieldTypeMolgenisModelExceptionpublic String getCppJavaPropertyType() throws MolgenisModelException
getCppJavaPropertyType in class FieldTypeMolgenisModelExceptionpublic Class<?> getJavaType() throws MolgenisModelException
FieldTypegetJavaType in class FieldTypeMolgenisModelExceptionpublic Object getTypedValue(String value) throws ParseException
getTypedValue in class FieldTypeParseExceptionpublic MolgenisFieldTypes.FieldTypeEnum getEnumType()
getEnumType in class FieldTypepublic Long getMaxLength()
FieldTypegetMaxLength in class FieldTypeCopyright © 2015. All Rights Reserved.