public class AttributeValues extends Object
Modifier and Type | Field and Description |
---|---|
private static Pattern |
_locationDistancePattern |
private static DateFormat[] |
_parseDateFormats |
private static NumberFormat |
_parseNumberFormat |
private static String |
_relNameNumberPattern |
private static String |
_relNamePattern |
private static String |
_relNumberNamePattern |
private static String |
_relNumberPattern |
private static String |
_relPattern |
Constructor and Description |
---|
AttributeValues() |
Modifier and Type | Method and Description |
---|---|
private static long |
absoluteTimeToMillis(String text) |
private static void |
checkRange(IntegerAttributeType type,
long unscaledValue) |
private static void |
checkText(StringAttributeType stringAttributeType,
String textValue) |
static void |
checkValue(AttributeType attributeType,
String textValue,
ObjectLookup objectLookup) |
static boolean |
hasUndefinedValue(AttributeType attributeType) |
private static long |
locationDistanceToUnscaled(String text) |
private static long |
relativeTimeToMillis(String text) |
private static long |
scaledToUnscaled(IntegerAttributeType type,
Number number) |
private static long |
scaledToUnscaled(String text,
IntegerAttributeType type) |
private static IntegerValueState |
stateTextToUnscaled(IntegerAttributeType type,
String text) |
private static double |
textToDouble(DoubleAttributeType doubleAttributeType,
String textValue) |
private static long |
textToMillis(TimeAttributeType timeAttributeType,
String textValue) |
private static SystemObject |
textToReference(ReferenceAttributeType referenceAttributeType,
String textValue,
ObjectLookup lookup) |
private static long |
textToUnscaled(IntegerAttributeType type,
String text) |
private static Pattern _locationDistancePattern
private static final NumberFormat _parseNumberFormat
private static final String _relNumberPattern
private static final String _relNamePattern
private static final String _relNumberNamePattern
private static final String _relNameNumberPattern
private static final String _relPattern
private static final DateFormat[] _parseDateFormats
public static void checkValue(AttributeType attributeType, String textValue, ObjectLookup objectLookup)
private static long textToMillis(TimeAttributeType timeAttributeType, String textValue)
private static long relativeTimeToMillis(String text)
private static long absoluteTimeToMillis(String text)
private static SystemObject textToReference(ReferenceAttributeType referenceAttributeType, String textValue, ObjectLookup lookup)
private static void checkText(StringAttributeType stringAttributeType, String textValue)
private static long textToUnscaled(IntegerAttributeType type, String text)
private static long scaledToUnscaled(String text, IntegerAttributeType type)
private static long locationDistanceToUnscaled(String text)
private static IntegerValueState stateTextToUnscaled(IntegerAttributeType type, String text)
private static long scaledToUnscaled(IntegerAttributeType type, Number number)
private static void checkRange(IntegerAttributeType type, long unscaledValue)
private static double textToDouble(DoubleAttributeType doubleAttributeType, String textValue)
public static boolean hasUndefinedValue(AttributeType attributeType)