Class IntegerFieldKey
java.lang.Object
io.datarouter.model.field.BaseFieldKey<T,K>
io.datarouter.model.field.PrimitiveFieldKey<java.lang.Integer,IntegerFieldKey>
io.datarouter.model.field.imp.comparable.IntegerFieldKey
- All Implemented Interfaces:
FieldKey<java.lang.Integer>
public class IntegerFieldKey extends PrimitiveFieldKey<java.lang.Integer,IntegerFieldKey>
-
Field Summary
Fields inherited from class io.datarouter.model.field.BaseFieldKey
attributes, columnName, defaultValue, fieldGeneratorType, name, nullable, valueType -
Constructor Summary
Constructors Constructor Description IntegerFieldKey(java.lang.String name) -
Method Summary
Modifier and Type Method Description IntegerFieldcreateValueField(java.lang.Integer value)java.lang.IntegergenerateRandomValue()IntegerFieldKeywithColumnName(java.lang.String columnNameOverride)IntegerFieldKeywithFieldGeneratorType(FieldGeneratorType fieldGeneratorTypeOverride)Methods inherited from class io.datarouter.model.field.BaseFieldKey
equals, findAttribute, getAttributes, getAutoGeneratedType, getColumnName, getColumnNameBytes, getDefaultValue, getName, getValueType, hashCode, isCollection, isFixedLength, isNullable, toString, with
-
Constructor Details
-
IntegerFieldKey
public IntegerFieldKey(java.lang.String name)
-
-
Method Details
-
withFieldGeneratorType
-
generateRandomValue
public java.lang.Integer generateRandomValue()- Specified by:
generateRandomValuein interfaceFieldKey<java.lang.Integer>- Overrides:
generateRandomValuein classBaseFieldKey<java.lang.Integer,IntegerFieldKey>
-
withColumnName
-
createValueField
-