Class IntegerEnumFieldKey<E extends io.datarouter.util.enums.IntegerEnum<E>>
java.lang.Object
io.datarouter.model.field.BaseFieldKey<E,IntegerEnumFieldKey<E>>
io.datarouter.model.field.imp.enums.IntegerEnumFieldKey<E>
- All Implemented Interfaces:
FieldKey<E>
public class IntegerEnumFieldKey<E extends io.datarouter.util.enums.IntegerEnum<E>> extends BaseFieldKey<E,IntegerEnumFieldKey<E>>
-
Field Summary
Fields inherited from class io.datarouter.model.field.BaseFieldKey
attributes, columnName, defaultValue, fieldGeneratorType, name, nullable, valueType -
Constructor Summary
Constructors Constructor Description IntegerEnumFieldKey(String name, Class<E> enumClass)IntegerEnumFieldKey(String name, String columnName, boolean nullable, Class<E> enumClass, FieldGeneratorType fieldGeneratorType, E defaultValue, E sampleValue, Map<FieldKeyAttributeKey<?>,FieldKeyAttribute<?>> attributes) -
Method Summary
Modifier and Type Method Description IntegerEnumField<E>createValueField(E value)EgetSampleValue()IntegerEnumFieldKey<E>withColumnName(String columnNameOverride)Methods inherited from class io.datarouter.model.field.BaseFieldKey
equals, findAttribute, generateRandomValue, getAttributes, getAutoGeneratedType, getColumnName, getColumnNameBytes, getDefaultValue, getName, getValueType, hashCode, isCollection, isFixedLength, isNullable, toString, with
-
Constructor Details
-
IntegerEnumFieldKey
-
IntegerEnumFieldKey
public IntegerEnumFieldKey(String name, String columnName, boolean nullable, Class<E> enumClass, FieldGeneratorType fieldGeneratorType, E defaultValue, E sampleValue, Map<FieldKeyAttributeKey<?>,FieldKeyAttribute<?>> attributes)
-
-
Method Details