Package realcix20.classes.basic

Source Code of realcix20.classes.basic.ClassManager

/*���ܼ�飄1�7
*���CLSID����OBJECT��
*/
package realcix20.classes.basic;

import realcix20.classes.AddressClass;
import realcix20.classes.AnaProfileClass;
import realcix20.classes.AnaTypeClass;
import realcix20.classes.BudgetClass;
import realcix20.classes.BudgetSettingClass;
import realcix20.classes.CorrespondenceClass;
import realcix20.classes.CorrespondenceTypeClass;
import realcix20.classes.CountryClass;
import realcix20.classes.CurrencyClass;
import realcix20.classes.FamilyClass;
import realcix20.classes.FixedAssetClass;
import realcix20.classes.InvestMarketClass;
import realcix20.classes.InvestProductClass;
import realcix20.classes.LanguageClass;
import realcix20.classes.LedgerClass;
import realcix20.classes.LedgerTypeClass;
import realcix20.classes.LoginEntryClass;
import realcix20.classes.NameSpaceClass;
import realcix20.classes.PartnerBankClass;
import realcix20.classes.PartnerClass;
import realcix20.classes.RegClass;
import realcix20.classes.ServiceClass;
import realcix20.classes.TaxClass;
import realcix20.classes.TaxDepClass;
import realcix20.classes.TaxTypeClass;
import realcix20.classes.UomClass;
import realcix20.classes.UserClass;
import realcix20.classes.XRClass;

public class ClassManager {
   
    private ClassManager() {
    }
       
    public static BaseClass createClass(int clsId) {              
        if (clsId == 1)
            return new LoginEntryClass(clsId);
        else if (clsId == 100)
            return new LanguageClass(clsId);
        else if (clsId == 110)
            return new FamilyClass(clsId);
        else if (clsId == 120)
            return new AnaTypeClass(clsId);
        else if (clsId == 130)
            return new AnaProfileClass(clsId);
        else if (clsId == 140)
            return new UserClass(clsId);
        else if (clsId == 150)
            return new CountryClass(clsId);
        else if (clsId == 160)
            return new CurrencyClass(clsId);
        else if (clsId == 170)
            return new XRClass(clsId);
        else if (clsId == 180)
            return new UomClass(clsId);
        else if (clsId == 190)
            return new LedgerTypeClass(clsId);
        else if (clsId == 200)
            return new LedgerClass(clsId);
        else if (clsId == 539)
            return new BudgetSettingClass(clsId);
        else if (clsId == 220)
            return new FixedAssetClass(clsId);
        else if (clsId == 230)
            return new CorrespondenceTypeClass(clsId);
        else if (clsId == 240)
            return new NameSpaceClass(clsId);
        else if (clsId == 250)
            return new PartnerClass(clsId);
        else if (clsId == 260)
            return new PartnerBankClass(clsId);
        else if (clsId == 270)
            return new ServiceClass(clsId);
        else if (clsId == 280)
            return new AddressClass(clsId);
        else if (clsId == 290)
            return new TaxDepClass(clsId);
        else if (clsId == 300)
            return new TaxTypeClass(clsId);
        else if (clsId == 310)
            return new InvestMarketClass(clsId);
        else if (clsId == 320)
            return new InvestProductClass(clsId);
        else if (clsId == 510)
            return new RegClass(clsId);
        else if (clsId == 520)
            return new CorrespondenceClass(clsId);
        else if (clsId == 530)
            return new TaxClass(clsId);
        else if (clsId == 540)
            return new BudgetClass(clsId);
        else
            return new BaseClass(clsId);       
    }
   
}
TOP

Related Classes of realcix20.classes.basic.ClassManager

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.