java.lang.Object
ee.jakarta.tck.pages.spec.core_syntax.scripting.el.TypeBean
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TypeBeanChild

public class TypeBean extends Object implements Serializable
Simple bean to return all primitive and their respective boxed types.
See Also:
  • Constructor Details

    • TypeBean

      public TypeBean()
  • Method Details

    • getBigInt

      public BigInteger getBigInt()
      Returns a BigInteger.
      Returns:
      a BigInteger
    • getBigDec

      public BigDecimal 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

      public Byte getBite()
      Returns a Byte.
      Returns:
      a Byte
    • setBite

      public void setBite(Byte bb)
      Sets a Byte.
      Parameters:
      bb - - a Byte
    • getChr

      public Character getChr()
      Returns a Character.
      Returns:
      a Character
    • setChr

      public void setChr(Character cc)
      Sets a Character.
      Parameters:
      cc - - a Character
    • getShrt

      public Short getShrt()
      Returns a Short.
      Returns:
      a Short
    • setShrt

      public void setShrt(Short ss)
      Sets a Short.
      Parameters:
      ss - - a Short
    • getInti

      public Integer getInti()
      Returns an Integer.
      Returns:
      an Integer
    • setInti

      public void setInti(Integer ii)
      Sets an Integer.
      Parameters:
      ii - - an Integer
    • getLng

      public Long getLng()
      Returns a Long.
      Returns:
      a Long
    • setLng

      public void setLng(Long ll)
      Sets a Long.
      Parameters:
      ll - - a Long
    • getFlote

      public Float getFlote()
      Returns a Float.
      Returns:
      a Float
    • setFlote

      public void setFlote(Float ff)
      Sets a Float.
      Parameters:
      ff - - a Float
    • getDble

      public Double getDble()
      Returns a Double.
      Returns:
      - a Double
    • setDble

      public void setDble(Double dd)
      Sets a Double.
      Parameters:
      dd - - a Double
    • setBooln

      public void setBooln(Boolean b)
      Sets a Boolean.
      Parameters:
      b - - a Boolean
    • getBooln

      public Boolean getBooln()
      Returns a Boolean.
      Returns:
      a Boolean
    • isCallable

      public boolean isCallable()
      Returns a Boolean (of value true).
      Returns:
      a true Boolean
    • toString

      public String toString()
      Returns information about this simple bean.
      Overrides:
      toString in class Object
      Returns:
      a String