List of usage examples for java.lang Float toString
public String toString()
From source file:net.sourceforge.msscodefactory.v1_11.MSSBamMssCF.MSSBamMssCFBindFloatDefMaxValue.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "MSSBamMssCFBindFloatDefMaxValue.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }/*w ww . ja v a 2s. c o m*/ ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof IMSSBamBLFloatDefObj) { Float maxValue = ((IMSSBamBLFloatDefObj) genDef).getOptionalMaxValue(); if (maxValue == null) { ret = null; } else { ret = maxValue.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "IMSSBamBLFloatDefObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.v1_11.MSSBamMssCF.MSSBamMssCFBindFloatDefMinValue.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "MSSBamMssCFBindFloatDefMinValue.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }/* w w w. ja v a2 s. com*/ ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof IMSSBamBLFloatDefObj) { Float minValue = ((IMSSBamBLFloatDefObj) genDef).getOptionalMinValue(); if (minValue == null) { ret = null; } else { ret = minValue.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "IMSSBamBLFloatDefObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.v1_10.MSSBamMssCF.MSSBamMssCFBindFloatDefInitValue.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "MSSBamMssCFBindFloatDefInitValue.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }// w ww. j a va2 s .co m IMssCFAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof IMSSBamBLFloatDefObj) { Float initValue = ((IMSSBamBLFloatDefObj) genDef).getOptionalInitValue(); if (initValue == null) { ret = null; } else { ret = initValue.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "IMSSBamBLFloatDefObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.v1_10.MSSBamMssCF.MSSBamMssCFBindFloatDefNullValue.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "MSSBamMssCFBindFloatDefNullValue.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }/*from w ww . jav a 2s .com*/ IMssCFAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof IMSSBamBLFloatDefObj) { Float nullValue = ((IMSSBamBLFloatDefObj) genDef).getOptionalNullValue(); if (nullValue == null) { ret = null; } else { ret = nullValue.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "IMSSBamBLFloatDefObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.v1_11.MSSBamMssCF.MSSBamMssCFBindFloatDefInitValue.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "MSSBamMssCFBindFloatDefInitValue.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }/*www . j a v a 2 s.c om*/ ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof IMSSBamBLFloatDefObj) { Float initValue = ((IMSSBamBLFloatDefObj) genDef).getOptionalInitValue(); if (initValue == null) { ret = null; } else { ret = initValue.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "IMSSBamBLFloatDefObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.v1_11.MSSBamMssCF.MSSBamMssCFBindFloatDefNullValue.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "MSSBamMssCFBindFloatDefNullValue.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }/* w w w . j a v a 2 s . com*/ ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof IMSSBamBLFloatDefObj) { Float nullValue = ((IMSSBamBLFloatDefObj) genDef).getOptionalNullValue(); if (nullValue == null) { ret = null; } else { ret = nullValue.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "IMSSBamBLFloatDefObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.v1_10.MSSBamMssCF.MSSBamMssCFBindFloatDefDefaultValue.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "MSSBamMssCFBindFloatDefDefaultValue.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }//from w w w . java2 s. c o m IMssCFAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof IMSSBamBLFloatDefObj) { Float defaultValue = ((IMSSBamBLFloatDefObj) genDef).getOptionalDefaultValue(); if (defaultValue == null) { ret = null; } else { ret = defaultValue.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "IMSSBamBLFloatDefObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.v1_10.MSSBamMssCF.MSSBamMssCFBindFloatDefUnknownValue.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "MSSBamMssCFBindFloatDefUnknownValue.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }// ww w.j a v a 2s . co m IMssCFAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof IMSSBamBLFloatDefObj) { Float unknownValue = ((IMSSBamBLFloatDefObj) genDef).getOptionalUnknownValue(); if (unknownValue == null) { ret = null; } else { ret = unknownValue.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "IMSSBamBLFloatDefObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.v1_11.MSSBamMssCF.MSSBamMssCFBindFloatDefDefaultValue.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "MSSBamMssCFBindFloatDefDefaultValue.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }//from ww w . j a v a2s.co m ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof IMSSBamBLFloatDefObj) { Float defaultValue = ((IMSSBamBLFloatDefObj) genDef).getOptionalDefaultValue(); if (defaultValue == null) { ret = null; } else { ret = defaultValue.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "IMSSBamBLFloatDefObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.v1_11.MSSBamMssCF.MSSBamMssCFBindFloatDefUnknownValue.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "MSSBamMssCFBindFloatDefUnknownValue.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }/* w ww .j a v a2 s. c o m*/ ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof IMSSBamBLFloatDefObj) { Float unknownValue = ((IMSSBamBLFloatDefObj) genDef).getOptionalUnknownValue(); if (unknownValue == null) { ret = null; } else { ret = unknownValue.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "IMSSBamBLFloatDefObj"); } return (ret); }