Package generic.constraint
Class ConstraintData
- java.lang.Object
-
- generic.constraint.ConstraintData
-
public class ConstraintData extends java.lang.Object
Convenience class that converts XML attributes into typed property values.
-
-
Constructor Summary
Constructors Constructor Description ConstraintData(java.util.Map<java.lang.String,java.lang.String> mappings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getBoolean(java.lang.String name)
double
getDouble(java.lang.String name)
float
getFloat(java.lang.String name)
int
getInt(java.lang.String name)
long
getLong(java.lang.String name)
java.lang.String
getString(java.lang.String name)
boolean
hasValue(java.lang.String name)
-
-
-
Method Detail
-
getString
public java.lang.String getString(java.lang.String name)
-
hasValue
public boolean hasValue(java.lang.String name)
-
getInt
public int getInt(java.lang.String name)
-
getLong
public long getLong(java.lang.String name)
-
getBoolean
public boolean getBoolean(java.lang.String name)
-
getFloat
public float getFloat(java.lang.String name)
-
getDouble
public double getDouble(java.lang.String name)
-
-