Monday, 28 January 2013

TypeConverter Interface and it's implementation in JCaps

Present in JAR: com.stc.codegen.utilapi
Interface Name: TypeConverter
Methoda Available:
 public abstract String shortToString(short paramShort, String paramString1, boolean paramBoolean, String paramString2);
  public abstract String intToString(int paramInt, String paramString1, boolean paramBoolean, String paramString2);
  public abstract String longToString(long paramLong, String paramString1, boolean paramBoolean, String paramString2);
  public abstract String floatToString(float paramFloat, String paramString1, boolean paramBoolean, String paramString2);
  public abstract String doubleToString(double paramDouble, String paramString1, boolean paramBoolean, String paramString2);
  public abstract short stringToShort(String paramString1, String paramString2, boolean paramBoolean, int paramInt);
  public abstract int stringToInt(String paramString1, String paramString2, boolean paramBoolean, int paramInt);
  public abstract long stringToLong(String paramString1, String paramString2, boolean paramBoolean, long paramLong);
  public abstract float stringToFloat(String paramString1, String paramString2, boolean paramBoolean, double paramDouble);
  public abstract double stringToDouble(String paramString1, String paramString2, boolean paramBoolean, double paramDouble);
  public abstract java.util.Date stringToDate(String paramString1, String paramString2, boolean paramBoolean, String paramString3);
  public abstract java.sql.Date stringToSQLDate(String paramString1, String paramString2, boolean paramBoolean, String paramString3);
  public abstract com.stc.otd.xsd.datatype.DateTime stringToDateTime(String paramString1, String paramString2, boolean paramBoolean, String paramString3);
  public abstract Date2001 stringToDate2001(String paramString1, String paramString2, boolean paramBoolean, String paramString3);
  public abstract Timestamp stringToTimestamp(String paramString1, String paramString2, boolean paramBoolean, String paramString3);
  public abstract String dateToString(java.util.Date paramDate, String paramString1, boolean paramBoolean, String paramString2);
  public abstract String dateToString(com.stc.runtime.dt.DateTime paramDateTime, String paramString1, boolean paramBoolean, String paramString2);
  public abstract String dateToString(com.stc.runtime.dt.Date paramDate, String paramString1, boolean paramBoolean, String paramString2);
  public abstract String byteArrayToString(byte[] paramArrayOfByte, String paramString1, boolean paramBoolean, String paramString2);
  public abstract byte[] stringToByteArray(String paramString1, String paramString2, boolean paramBoolean, String paramString3);
  public abstract String bigDecimalToString(BigDecimal paramBigDecimal, String paramString1, boolean paramBoolean, String paramString2);
  public abstract String bigIntegerToString(BigInteger paramBigInteger, String paramString1, boolean paramBoolean, String paramString2);
  public abstract BigDecimal stringToBigDecimal(String paramString1, String paramString2, boolean paramBoolean, String paramString3);
  public abstract BigInteger stringToBigInteger(String paramString1, String paramString2, boolean paramBoolean, String paramString3);


Date2001 is XSD datatype available in com.stc.otd.xsd.datatype.Date2001

Present in JAR: com.stc.codegen.utilimpl
Class Name: TypeConverterImpl

1 comment:

  1. public abstract int stringToInt(String paramString1, String paramString2, boolean paramBoolean, int paramInt);

    when paramString1 does not have value then what will this method returns if paramInt has value 0.

    ReplyDelete