Package com.basiscomponents.db.model
Class Attribute
- java.lang.Object
-
- com.basiscomponents.db.model.Attribute
-
public class Attribute extends Object
Class to wrap Attributes for DataFields, so we can have double/integer/boolean attributes- Author:
- damore
-
-
Constructor Summary
Constructors Constructor Description Attribute()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Attribute
createBoolean(boolean value)
static Attribute
createDouble(double value)
static Attribute
createInt(int value)
static Attribute
createString(String value)
boolean
getBooleanValue()
double
getDoubleValue()
int
getIntValue()
Class<?>
getType()
String
getValue()
-
-
-
Method Detail
-
createBoolean
public static Attribute createBoolean(boolean value)
-
createInt
public static Attribute createInt(int value)
-
createDouble
public static Attribute createDouble(double value)
-
getValue
public String getValue()
-
getIntValue
public int getIntValue()
-
getBooleanValue
public boolean getBooleanValue()
-
getDoubleValue
public double getDoubleValue()
-
getType
public Class<?> getType()
-
-