Class Datatype

    • Constructor Detail

      • Datatype

        public Datatype()
    • Method Detail

      • getLength

        public int getLength()
        Get the length of the type. For string (binary or character) types, it is the number of characters. For all other types it is the byte storage size.
        Returns:
      • getPrecisionLength

        public int getPrecisionLength()
        Deprecated.
        See Also:
        getPrecision()
      • getPrecision

        public int getPrecision()
      • getScale

        public int getScale()
      • getRadix

        public int getRadix()
      • isSigned

        public boolean isSigned()
      • isAutoIncrement

        public boolean isAutoIncrement()
      • isCaseSensitive

        public boolean isCaseSensitive()
      • isBuiltin

        public boolean isBuiltin()
      • getJavaClassName

        public String getJavaClassName()
      • getRuntimeTypeName

        public String getRuntimeTypeName()
      • getBasetypeName

        public String getBasetypeName()
      • setBasetypeName

        public void setBasetypeName​(String name)
      • setAutoIncrement

        public void setAutoIncrement​(boolean b)
        Parameters:
        b -
      • setCaseSensitive

        public void setCaseSensitive​(boolean b)
        Parameters:
        b -
      • setSigned

        public void setSigned​(boolean b)
        Parameters:
        b -
      • setJavaClassName

        public void setJavaClassName​(String string)
        Parameters:
        string -
      • setLength

        public void setLength​(int i)
        Parameters:
        i -
      • setPrecision

        public void setPrecision​(int i)
        Parameters:
        i -
      • setPrecisionLength

        public void setPrecisionLength​(int i)
        Deprecated.
        See Also:
        setPrecision(int)
      • setRadix

        public void setRadix​(int i)
        Parameters:
        i -
      • setRuntimeTypeName

        public void setRuntimeTypeName​(String string)
        Parameters:
        string -
      • setScale

        public void setScale​(int i)
        Parameters:
        i -
      • setType

        public void setType​(Datatype.Type s)
        Parameters:
        s -
      • setVarietyType

        public void setVarietyType​(Datatype.Variety s)
        Parameters:
        s -