List of usage examples for java.lang Short toString
public static String toString(short s)
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamMssCF.CFBamMssCFBindISOCountryLanguageISOCountryId.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindISOCountryLanguageISOCountryId.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }//from w w w .j a va2 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 ICFBamISOCountryLanguageObj) { short iSOCountryId = ((ICFBamISOCountryLanguageObj) genDef).getRequiredISOCountryId(); ret = Short.toString(iSOCountryId); } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamISOCountryLanguageObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.cfasterisk.v2_4.CFAsteriskMssCF.CFAsteriskMssCFBindISOTimezoneTZMinOffset.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFAsteriskMssCFBindISOTimezoneTZMinOffset.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }/*from w w w . j a v a 2s .c om*/ ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof ICFAsteriskISOTimezoneObj) { short tZMinOffset = ((ICFAsteriskISOTimezoneObj) genDef).getRequiredTZMinOffset(); ret = Short.toString(tZMinOffset); } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFAsteriskISOTimezoneObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamMssCF.CFBamMssCFBindISOCountryCurrencyISOCurrencyId.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindISOCountryCurrencyISOCurrencyId.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }/*from w w w.ja va 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 ICFBamISOCountryCurrencyObj) { short iSOCurrencyId = ((ICFBamISOCountryCurrencyObj) genDef).getRequiredISOCurrencyId(); ret = Short.toString(iSOCurrencyId); } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamISOCountryCurrencyObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamMssCF.CFBamMssCFBindISOCountryLanguageISOLanguageId.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindISOCountryLanguageISOLanguageId.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }/* w w w . java2s . c o m*/ ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof ICFBamISOCountryLanguageObj) { short iSOLanguageId = ((ICFBamISOCountryLanguageObj) genDef).getRequiredISOLanguageId(); ret = Short.toString(iSOLanguageId); } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamISOCountryLanguageObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.cfasterisk.v2_4.CFAsteriskMssCF.CFAsteriskMssCFBindISOTimezoneTZHourOffset.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFAsteriskMssCFBindISOTimezoneTZHourOffset.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 ICFAsteriskISOTimezoneObj) { short tZHourOffset = ((ICFAsteriskISOTimezoneObj) genDef).getRequiredTZHourOffset(); ret = Short.toString(tZHourOffset); } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFAsteriskISOTimezoneObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.cffreeswitch.v2_4.CFFreeSwitchMssCF.CFFreeSwitchMssCFBindISOTimezoneTZMinOffset.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFFreeSwitchMssCFBindISOTimezoneTZMinOffset.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }//from ww w . ja v a 2s. c om ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof ICFFreeSwitchISOTimezoneObj) { short tZMinOffset = ((ICFFreeSwitchISOTimezoneObj) genDef).getRequiredTZMinOffset(); ret = Short.toString(tZMinOffset); } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFFreeSwitchISOTimezoneObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.cfasterisk.v2_4.CFAsteriskMssCF.CFAsteriskMssCFBindAuditActionAuditActionId.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFAsteriskMssCFBindAuditActionAuditActionId.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }/* w w w .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 ICFAsteriskAuditActionObj) { short auditActionId = ((ICFAsteriskAuditActionObj) genDef).getRequiredAuditActionId(); ret = Short.toString(auditActionId); } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFAsteriskAuditActionObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.cfasterisk.v2_4.CFAsteriskMssCF.CFAsteriskMssCFBindISOTimezoneISOTimezoneId.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFAsteriskMssCFBindISOTimezoneISOTimezoneId.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }//from w ww . j a v a2 s . c om ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof ICFAsteriskISOTimezoneObj) { short iSOTimezoneId = ((ICFAsteriskISOTimezoneObj) genDef).getRequiredISOTimezoneId(); ret = Short.toString(iSOTimezoneId); } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFAsteriskISOTimezoneObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.cfasterisk.v2_4.CFAsteriskMssCF.CFAsteriskMssCFBindURLProtocolURLProtocolId.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFAsteriskMssCFBindURLProtocolURLProtocolId.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }//from ww w . j a va 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 ICFAsteriskURLProtocolObj) { short uRLProtocolId = ((ICFAsteriskURLProtocolObj) genDef).getRequiredURLProtocolId(); ret = Short.toString(uRLProtocolId); } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFAsteriskURLProtocolObj"); } return (ret); }
From source file:net.sourceforge.msscodefactory.cffreeswitch.v2_4.CFFreeSwitchMssCF.CFFreeSwitchMssCFBindISOTimezoneTZHourOffset.java
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFFreeSwitchMssCFBindISOTimezoneTZHourOffset.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), "expandBody", 1, "genContext"); }//ww w . j av a 2 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 ICFFreeSwitchISOTimezoneObj) { short tZHourOffset = ((ICFFreeSwitchISOTimezoneObj) genDef).getRequiredTZHourOffset(); ret = Short.toString(tZHourOffset); } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFFreeSwitchISOTimezoneObj"); } return (ret); }