[Batchserver-cvs] Batch_IO_1.1/src/org/jmonks/batch/io/ofx/messageset/aggregates/signup EnrollRs.j
Brought to you by:
suresh_pragada
From: Suresh <sur...@us...> - 2006-10-18 23:06:32
|
Update of /cvsroot/batchserver/Batch_IO_1.1/src/org/jmonks/batch/io/ofx/messageset/aggregates/signup In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv6738 Modified Files: EnrollRq.java Added Files: EnrollRs.java EnrollTrnRqV1.java EnrollTrnRsV1.java SignUpMsgRqV1.java SignUpMsgRsV1.java SignUpMsgType.java Removed Files: EnrollTrnRq.java Log Message: no message --- NEW FILE: SignUpMsgType.java --- /* * SignUpMsgType.java * * Created on October 18, 2006, 2:23 PM * * To change this template, choose Tools | Options and locate the template under * the Source Creation and Management node. Right-click the template and choose * Open. You can then make changes to the template in the Source Editor. */ package org.jmonks.batch.io.ofx.messageset.aggregates.signup; /** * <p> * SignUpMsgType is the enum class to describe the type of SignUp message. * </p> * * @author Suresh Pragada * @version 1.1 * @since 1.1 */ public class SignUpMsgType { /** * Holds the type of sign up message. */ private String signUpMsgType=null; /** * Constructs the signup message set type. */ public SignUpMsgType(String signUpMsgType) { this.signUpMsgType=signUpMsgType; } /** * Returns the matching signup message reference. Returns null if it cannot be matched * with any signup message type. * * @param type Type of sign up message. * * @return Returns the appropriate sign up message reference. */ public static SignUpMsgType getMessageType(String type) { if(ENROLLTRN_RQV1.toString().equalsIgnoreCase(type)) return ENROLLTRN_RQV1; else if(ENROLLTRN_RSV1.toString().equalsIgnoreCase(type)) return ENROLLTRN_RSV1; else return null; } /** * Returns the sign up message type as string. */ public String toString() { return this.signUpMsgType; } public static final SignUpMsgType ENROLLTRN_RQV1=new SignUpMsgType("ENROLLTRNRQV1"); public static final SignUpMsgType ENROLLTRN_RSV1=new SignUpMsgType("ENROLLTRNRSV1"); } --- EnrollTrnRq.java DELETED --- --- NEW FILE: EnrollRs.java --- /* * EnrollRs.java * * Created on October 18, 2006, 3:26 PM * * To change this template, choose Tools | Options and locate the template under * the Source Creation and Management node. Right-click the template and choose * Open. You can then make changes to the template in the Source Editor. */ package org.jmonks.batch.io.ofx.messageset.aggregates.signup; import org.jmonks.batch.io.ofx.messageset.impl.OFXWriterSupport; /** * <p>EnrollRs aggregate. </p> * * @author Suresh Pragada * @version 1.1 * @since 1.1 */ public class EnrollRs implements OFXWriterSupport { private String tempPass=null; private String userId=null; private String dtExpire=null; public EnrollRs() { } public String getTempPass() { return this.tempPass; } public void setTempPass(String tempPass) { this.tempPass=tempPass; } public String getUserId() { return this.userId; } public void setUserId(String userId) { this.userId=userId; } public String getDtExpire() { return this.dtExpire; } public void setDtExpire(String dtExpire) { this.dtExpire=dtExpire; } public String[] getMethodNamesInSortedOrder() { String[] methodNames=new String[3]; methodNames[0]="getTempPass"; methodNames[1]="getUserId"; methodNames[2]="getDtExpire"; return methodNames; } } --- NEW FILE: SignUpMsgRsV1.java --- /* * SignUpMsgRsV1.java * * Created on October 18, 2006, 3:23 PM * * To change this template, choose Tools | Options and locate the template under * the Source Creation and Management node. Right-click the template and choose * Open. You can then make changes to the template in the Source Editor. */ package org.jmonks.batch.io.ofx.messageset.aggregates.signup; /** * <p>SignUpMsgRsV1 message. </p> * * @author Suresh Pragada * @version 1.1 * @since 1.1 */ public interface SignUpMsgRsV1 { SignUpMsgType getSignUpMsgType(); } Index: EnrollRq.java =================================================================== RCS file: /cvsroot/batchserver/Batch_IO_1.1/src/org/jmonks/batch/io/ofx/messageset/aggregates/signup/EnrollRq.java,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** EnrollRq.java 18 Oct 2006 03:19:18 -0000 1.1.1.1 --- EnrollRq.java 18 Oct 2006 23:06:30 -0000 1.2 *************** *** 11,19 **** package org.jmonks.batch.io.ofx.messageset.aggregates.signup; /** * ! * @author Suresh Pragada */ ! public class EnrollRq { private String firstName=null; --- 11,24 ---- package org.jmonks.batch.io.ofx.messageset.aggregates.signup; + import org.jmonks.batch.io.ofx.messageset.impl.OFXWriterSupport; + /** + * <p>EnrollRq aggregate. </p> * ! * @author Suresh Pragada ! * @version 1.1 ! * @since 1.1 */ ! public class EnrollRq implements OFXWriterSupport { private String firstName=null; *************** *** 22,25 **** --- 27,31 ---- private String addr1=null; private String addr2=null; + private String addr3=null; private String city=null; private String state=null; *************** *** 88,91 **** --- 94,107 ---- } + public String getAddr3() + { + return this.addr3; + } + + public void setAddr3(String addr3) + { + this.addr3=addr3; + } + public String getCity() { *************** *** 198,201 **** this.dateBirth=dateBirth; } ! } --- 214,240 ---- this.dateBirth=dateBirth; } ! ! public String[] getMethodNamesInSortedOrder() ! { ! String[] methodNames=new String[17]; ! methodNames[0]="getFirstName"; ! methodNames[1]="getMiddleName"; ! methodNames[2]="getLastName"; ! methodNames[3]="getAddr1"; ! methodNames[4]="getAddr2"; ! methodNames[5]="getAddr3"; ! methodNames[6]="getCity"; ! methodNames[7]="getState"; ! methodNames[8]="getPostalCode"; ! methodNames[9]="getCountry"; ! methodNames[10]="getDayPhone"; ! methodNames[11]="getEvePhone"; ! methodNames[12]="getEmail"; ! methodNames[13]="getUserId"; ! methodNames[14]="getTaxId"; ! methodNames[15]="getSecurityName"; ! methodNames[16]="getDateBirth"; ! return methodNames; ! } ! } --- NEW FILE: SignUpMsgRqV1.java --- /* * SignUpMsgRqV1.java * * Created on October 18, 2006, 2:22 PM * * To change this template, choose Tools | Options and locate the template under * the Source Creation and Management node. Right-click the template and choose * Open. You can then make changes to the template in the Source Editor. */ package org.jmonks.batch.io.ofx.messageset.aggregates.signup; /** * <p>SignUpMsgRqV1 message. </p> * * @author Suresh Pragada * @version 1.1 * @since 1.1 */ public interface SignUpMsgRqV1 { SignUpMsgType getSignUpMsgType(); } --- NEW FILE: EnrollTrnRsV1.java --- /* * EnrollTrnRsV1.java * * Created on October 18, 2006, 3:24 PM * * To change this template, choose Tools | Options and locate the template under * the Source Creation and Management node. Right-click the template and choose * Open. You can then make changes to the template in the Source Editor. */ package org.jmonks.batch.io.ofx.messageset.aggregates.signup; import org.jmonks.batch.io.ofx.messageset.aggregates.Status; import org.jmonks.batch.io.ofx.messageset.impl.OFXWriterSupport; /** * <p>EnrollTrnRsV1 message. </p> * * @author Suresh Pragada * @version 1.1 * @since 1.1 */ public class EnrollTrnRsV1 implements SignUpMsgRsV1, OFXWriterSupport { private String trnUID=null; private Status status=null; private EnrollRs enrollRs=null; public EnrollTrnRsV1() { } public SignUpMsgType getSignUpMsgType() { return SignUpMsgType.ENROLLTRN_RSV1; } public String getTrnUID() { return this.trnUID; } public void setTrnUID(String trnUID) { this.trnUID=trnUID; } public Status getStatus() { return this.status; } public void setStatus(Status status) { this.status=status; } public EnrollRs getEnrollRs() { return this.enrollRs; } public void setEnrollRs(EnrollRs enrollRs) { this.enrollRs=enrollRs; } public String[] getMethodNamesInSortedOrder() { String[] methodNames=new String[3]; methodNames[0]="getTrnUID"; methodNames[1]="getStatus"; methodNames[2]="getEnrollRs"; return methodNames; } } --- NEW FILE: EnrollTrnRqV1.java --- /* * EnrollTrnRqV1.java * * Created on October 11, 2006, 9:53 AM * * To change this template, choose Tools | Options and locate the template under * the Source Creation and Management node. Right-click the template and choose * Open. You can then make changes to the template in the Source Editor. */ package org.jmonks.batch.io.ofx.messageset.aggregates.signup; import org.jmonks.batch.io.ofx.messageset.impl.OFXWriterSupport; /** * <p>EnrollTrnRqV1 message. </p> * * @author Suresh Pragada * @version 1.1 * @since 1.1 */ public class EnrollTrnRqV1 implements SignUpMsgRqV1, OFXWriterSupport { private String trnUID=null; private EnrollRq enrollRq=null; public EnrollTrnRqV1() { } public SignUpMsgType getSignUpMsgType() { return SignUpMsgType.ENROLLTRN_RQV1; } public String getTrnUID() { return this.trnUID; } public void setTrnUID(String trnUID) { this.trnUID=trnUID; } public EnrollRq getEnrollRq() { return this.enrollRq; } public void setEnrollRq(EnrollRq enrollRq) { this.enrollRq=enrollRq; } public String[] getMethodNamesInSortedOrder() { String[] methodNames=new String[2]; methodNames[0]="getTrnUID"; methodNames[1]="getEnrollRq"; return methodNames; } } |