Package org.dmd.dmp.shared.generated.dmo

Source Code of org.dmd.dmp.shared.generated.dmo.PreAuthRequestDMO

//  ---------------------------------------------------------------------------
//  dark-matter-data
//  Copyright (c) 2010 dark-matter-data committers
//  ---------------------------------------------------------------------------
//  This program is free software; you can redistribute it and/or modify it
//  under the terms of the GNU Lesser General Public License as published by the
//  Free Software Foundation; either version 3 of the License, or (at your
//  option) any later version.
//  This program is distributed in the hope that it will be useful, but WITHOUT
//  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
//  FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
//  more details.
//  You should have received a copy of the GNU Lesser General Public License along
//  with this program; if not, see <http://www.gnu.org/licenses/lgpl.html>.
//  ---------------------------------------------------------------------------
package org.dmd.dmp.shared.generated.dmo;

// Generated from: org.dmd.dms.util.GenUtility.formatImports(GenUtility.java:391)
import java.io.Serializable;                                  // Always required - (GenUtility.java:220)
import org.dmd.dmc.DmcSliceInfo;                              // Required for object slicing - (GenUtility.java:225)
import org.dmd.dmp.shared.generated.dmo.RequestDMO;           // Base class - (GenUtility.java:351)
import org.dmd.dms.generated.dmo.MetaDMSAG;                   // Required for MODREC constructor - (GenUtility.java:224)
import org.dmd.dms.generated.types.DmcTypeModifierMV;         // Required for MODREC constructor - (GenUtility.java:223)

/**
* The PreAuthRequest allows for the retrieval of information from the\n
* servlet before a user has authenticated. Exactly what type of information
* can be \n retrieved is application specific.
* <P>
* Generated from the dmp schema at version 0.1
* <P>
* This code was auto-generated by the dmogenerator utility and shouldn't be alterred manually!
* Generated from: org.dmd.dms.util.DmoFormatter.dumpDMO(DmoFormatter.java:133)
*/
@SuppressWarnings("serial")
public class PreAuthRequestDMO  extends RequestDMO  implements Serializable  {

    public final static String constructionClassName = "PreAuthRequest";


    static {
    }

    public PreAuthRequestDMO() {
        super("PreAuthRequest");
    }

    protected PreAuthRequestDMO(String oc) {
        super(oc);
    }

    @Override
    public PreAuthRequestDMO getNew(){
        PreAuthRequestDMO rc = new PreAuthRequestDMO();
        return(rc);
    }

    @Override
    public PreAuthRequestDMO getSlice(DmcSliceInfo info){
        PreAuthRequestDMO rc = new PreAuthRequestDMO();
        populateSlice(rc,info);
        return(rc);
    }

    public PreAuthRequestDMO(DmcTypeModifierMV mods) {
        super("PreAuthRequest");
        modrec(true);
        setModifier(mods);
    }

    public PreAuthRequestDMO getModificationRecorder(){
        PreAuthRequestDMO rc = new PreAuthRequestDMO();
        rc.setModifier(new DmcTypeModifierMV(MetaDMSAG.__modify));
        rc.modrec(true);
        return(rc);
    }




}
TOP

Related Classes of org.dmd.dmp.shared.generated.dmo.PreAuthRequestDMO

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.