GenericLogMessage.java :  » Code-Analyzer » beautyJ » de » gulden » framework » amoda » generic » interaction » Java Open Source

Java Open Source » Code Analyzer » beautyJ 
beautyJ » de » gulden » framework » amoda » generic » interaction » GenericLogMessage.java
/*
 * Project: AMODA - Abstract Modeled Application
 * Class:   de.gulden.framework.amoda.generic.interaction.GenericLogMessage
 * Version: snapshot-beautyj-1.1
 *
 * Date:    2004-09-29
 *
 * This is a snapshot version of the AMODA 0.2 development branch,
 * it is not released as a seperate version.
 * For AMODA, see http://amoda.berlios.de/.
 *  
 * This is licensed under the GNU Lesser General Public License (LGPL)
 * and comes with NO WARRANTY.
 *
 * Author:  Jens Gulden
 * Email:   amoda@jensgulden.de
 */

package de.gulden.framework.amoda.generic.interaction;

import de.gulden.framework.amoda.generic.option.*;
import de.gulden.framework.amoda.model.interaction.LogMessage;
import java.lang.*;
import java.util.*;

/**
 * Class GenericLogMessage.
 *  
 * @author  Jens Gulden
 * @version  snapshot-beautyj-1.1
 */
public class GenericLogMessage extends GenericMessageAbstract implements LogMessage {

    // ------------------------------------------------------------------------
    // --- field                                                            ---
    // ------------------------------------------------------------------------

    protected Object source;


    // ------------------------------------------------------------------------
    // --- methods                                                          ---
    // ------------------------------------------------------------------------

    public void perform() {
        ((de.gulden.framework.amoda.generic.core.GenericApplicationEnvironment)getApplication().getEnvironment()).doLogMessage(this);
    }

    public Object getSource() {
        return source;
    }

    public void setSource(Object _source) {
        source = _source;
    }

} // end GenericLogMessage
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.