List of usage examples for java.lang Short toString
public String toString()
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamMssCF.CFBamMssCFBindInt16DefUnknownValue.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindInt16DefUnknownValue.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }//from ww w.j a va 2 s .co m ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof ICFBamInt16DefObj) { Short unknownValue = ((ICFBamInt16DefObj) genDef).getOptionalUnknownValue(); if (unknownValue == null) { ret = null; } else { ret = unknownValue.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamInt16DefObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.cfasterisk.v2_4.CFAsteriskMssCF.CFAsteriskMssCFBindISOLanguageISOCountryId.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFAsteriskMssCFBindISOLanguageISOCountryId.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }/* w w w . ja va 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 ICFAsteriskISOLanguageObj) { Short iSOCountryId = ((ICFAsteriskISOLanguageObj) genDef).getOptionalISOCountryId(); if (iSOCountryId == null) { ret = null; } else { ret = iSOCountryId.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFAsteriskISOLanguageObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.cffreeswitch.v2_4.CFFreeSwitchMssCF.CFFreeSwitchMssCFBindISOLanguageISOCountryId.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFFreeSwitchMssCFBindISOLanguageISOCountryId.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }// w w w . ja va2s .c om ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof ICFFreeSwitchISOLanguageObj) { Short iSOCountryId = ((ICFFreeSwitchISOLanguageObj) genDef).getOptionalISOCountryId(); if (iSOCountryId == null) { ret = null; } else { ret = iSOCountryId.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFFreeSwitchISOLanguageObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.cfacc.v2_0.CFAccMssCF.CFAccMssCFBindContactISOTimezoneId.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFAccMssCFBindContactISOTimezoneId.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }//from w ww.jav 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 ICFAccContactObj) { Short iSOTimezoneId = ((ICFAccContactObj) genDef).getOptionalISOTimezoneId(); if (iSOTimezoneId == null) { ret = null; } else { ret = iSOTimezoneId.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFAccContactObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.cfacc.v2_0.CFAccMssCF.CFAccMssCFBindISOLanguageISOCountryId.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFAccMssCFBindISOLanguageISOCountryId.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }//from w ww . j av 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 ICFAccISOLanguageObj) { Short iSOCountryId = ((ICFAccISOLanguageObj) genDef).getOptionalISOCountryId(); if (iSOCountryId == null) { ret = null; } else { ret = iSOCountryId.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFAccISOLanguageObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.cfasterisk.v2_0.CFAstMssCF.CFAstMssCFBindISOLanguageISOCountryId.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFAstMssCFBindISOLanguageISOCountryId.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }// w w w . ja va 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 ICFAstISOLanguageObj) { Short iSOCountryId = ((ICFAstISOLanguageObj) genDef).getOptionalISOCountryId(); if (iSOCountryId == null) { ret = null; } else { ret = iSOCountryId.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFAstISOLanguageObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.cffreeswitch.v2_0.CFFswMssCF.CFFswMssCFBindISOLanguageISOCountryId.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFFswMssCFBindISOLanguageISOCountryId.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }//w w w .j ava 2s .c om ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof ICFFswISOLanguageObj) { Short iSOCountryId = ((ICFFswISOLanguageObj) genDef).getOptionalISOCountryId(); if (iSOCountryId == null) { ret = null; } else { ret = iSOCountryId.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFFswISOLanguageObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.cfgcash.v2_0.CFGCashMssCF.CFGCashMssCFBindContactISOTimezoneId.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFGCashMssCFBindContactISOTimezoneId.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }/* w w w . ja va 2s . co m*/ ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof ICFGCashContactObj) { Short iSOTimezoneId = ((ICFGCashContactObj) genDef).getOptionalISOTimezoneId(); if (iSOTimezoneId == null) { ret = null; } else { ret = iSOTimezoneId.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFGCashContactObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.cfacc.v2_0.CFAccMssCF.CFAccMssCFBindContactURLURLProtocolId.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFAccMssCFBindContactURLURLProtocolId.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }//from ww w .j a 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 ICFAccContactURLObj) { Short uRLProtocolId = ((ICFAccContactURLObj) genDef).getOptionalURLProtocolId(); if (uRLProtocolId == null) { ret = null; } else { ret = uRLProtocolId.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFAccContactURLObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.cfensyntax.v2_1.CFEnSyntaxMssCF.CFEnSyntaxMssCFBindISOLanguageISOCountryId.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFEnSyntaxMssCFBindISOLanguageISOCountryId.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }/*w ww. ja 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 ICFEnSyntaxISOLanguageObj) { Short iSOCountryId = ((ICFEnSyntaxISOLanguageObj) genDef).getOptionalISOCountryId(); if (iSOCountryId == null) { ret = null; } else { ret = iSOCountryId.toString(); } } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFEnSyntaxISOLanguageObj"); } return (ret); }