Class TypeBean
java.lang.Object
ee.jakarta.tck.pages.spec.core_syntax.scripting.el.TypeBean
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TypeBeanChild
Simple bean to return all primitive and their respective boxed types.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a BigDecimalReturns a BigInteger.getBite()
Returns a Byte.boolean
Returns a boolean primitive.getBooln()
Returns a Boolean.byte
Returns a byte primitive.char
Returns a char primitive.getChr()
Returns a Character.getDble()
Returns a Double.double
Returns a double primitive.float
Returns a float primitive.getFlote()
Returns a Float.getInti()
Returns an Integer.int
Returns an int primitivegetLng()
Returns a Long.long
Returns a long primitive.short
Returns a short primitive.getShrt()
Returns a Short.boolean
Returns a Boolean (of value true).void
Sets a Byte.void
setBooleanPrim
(boolean b) Sets a boolean primitive.void
Sets a Boolean.void
setBytePrim
(byte b) Sets a byte primitivevoid
setCharPrim
(char c) Sets a char primitive.void
Sets a Character.void
Sets a Double.void
setDoublePrim
(double d) Sets a double primitive.void
setFloatPrim
(float f) Sets a float primitive.void
Sets a Float.void
Sets an Integer.void
setIntPrim
(int i) Sets an int primitivevoid
Sets a Long.void
setLongPrim
(long l) Sets a long primitive.void
setShortPrim
(short s) Sets a short primitive.void
Sets a Short.toString()
Returns information about this simple bean.
-
Constructor Details
-
TypeBean
public TypeBean()
-
-
Method Details
-
getBigInt
Returns a BigInteger.- Returns:
- a BigInteger
-
getBigDec
Returns a BigDecimal- Returns:
- a BigDecimal
-
getBytePrim
public byte getBytePrim()Returns a byte primitive.- Returns:
- a byte primitive
-
setBytePrim
public void setBytePrim(byte b) Sets a byte primitive- Parameters:
b
- - a byte primitive
-
getCharPrim
public char getCharPrim()Returns a char primitive.- Returns:
- a char primitive
-
setCharPrim
public void setCharPrim(char c) Sets a char primitive.- Parameters:
c
- - a char primitive
-
getShortPrim
public short getShortPrim()Returns a short primitive.- Returns:
- a short primitive
-
setShortPrim
public void setShortPrim(short s) Sets a short primitive.- Parameters:
s
- - a short primitive
-
getIntPrim
public int getIntPrim()Returns an int primitive- Returns:
- an int primitive
-
setIntPrim
public void setIntPrim(int i) Sets an int primitive- Parameters:
i
- - an int primitive
-
getLongPrim
public long getLongPrim()Returns a long primitive.- Returns:
- a long primitive
-
setLongPrim
public void setLongPrim(long l) Sets a long primitive.- Parameters:
l
- - a long primitive
-
getFloatPrim
public float getFloatPrim()Returns a float primitive.- Returns:
- a float primtitive
-
setFloatPrim
public void setFloatPrim(float f) Sets a float primitive.- Parameters:
f
- - a float primitive
-
getDoublePrim
public double getDoublePrim()Returns a double primitive.- Returns:
- a double primitive
-
setDoublePrim
public void setDoublePrim(double d) Sets a double primitive.- Parameters:
d
- - a double primitive
-
setBooleanPrim
public void setBooleanPrim(boolean b) Sets a boolean primitive.- Parameters:
b
- - a boolean primitive
-
getBooleanPrim
public boolean getBooleanPrim()Returns a boolean primitive.- Returns:
- a boolean primitive.
-
getBite
Returns a Byte.- Returns:
- a Byte
-
setBite
Sets a Byte.- Parameters:
bb
- - a Byte
-
getChr
Returns a Character.- Returns:
- a Character
-
setChr
Sets a Character.- Parameters:
cc
- - a Character
-
getShrt
Returns a Short.- Returns:
- a Short
-
setShrt
Sets a Short.- Parameters:
ss
- - a Short
-
getInti
Returns an Integer.- Returns:
- an Integer
-
setInti
Sets an Integer.- Parameters:
ii
- - an Integer
-
getLng
Returns a Long.- Returns:
- a Long
-
setLng
Sets a Long.- Parameters:
ll
- - a Long
-
getFlote
Returns a Float.- Returns:
- a Float
-
setFlote
Sets a Float.- Parameters:
ff
- - a Float
-
getDble
Returns a Double.- Returns:
- - a Double
-
setDble
Sets a Double.- Parameters:
dd
- - a Double
-
setBooln
Sets a Boolean.- Parameters:
b
- - a Boolean
-
getBooln
Returns a Boolean.- Returns:
- a Boolean
-
isCallable
public boolean isCallable()Returns a Boolean (of value true).- Returns:
- a true Boolean
-
toString
Returns information about this simple bean.
-