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 AttributecreateBoolean(boolean value)static AttributecreateDouble(double value)static AttributecreateInt(int value)static AttributecreateString(String value)booleangetBooleanValue()doublegetDoubleValue()intgetIntValue()Class<?>getType()StringgetValue()
-
-
-
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()
-
-