public interface StringDef extends FieldDef
FieldDef
to encapsulate a String.
It adds a minimum and maximum value range and type.
Comparisons to minimum and maxium values are done using
String.compareTo(java.lang.String)
.
FieldDef.Type
Modifier and Type | Method and Description |
---|---|
StringDef |
clone()
Perform a deep copy of this FieldDef instance.
|
String |
getMax()
Get the maximum value for the string.
|
String |
getMin()
Get the minimum value for the string.
|
boolean |
isMaxInclusive() |
boolean |
isMinInclusive() |
asArray, asBinary, asBoolean, asDouble, asEnum, asFixedBinary, asFloat, asInteger, asLong, asMap, asRecord, asString, createArray, createBinary, createBoolean, createDouble, createEnum, createFixedBinary, createFloat, createInteger, createLong, createMap, createRecord, createString, getDescription, getType, isArray, isBinary, isBoolean, isDouble, isEnum, isFixedBinary, isFloat, isInteger, isLong, isMap, isRecord, isString, isType, isValidIndexField, isValidKeyField
String getMin()
String getMax()
boolean isMinInclusive()
getMin()
returns a non-null value.boolean isMaxInclusive()
getMax()
returns a non-null value.Copyright (c) 2011, 2015 Oracle and/or its affiliates. All rights reserved.