Logo
Distributed Genetic Programming Framework
print print

File org.dgpf.gui.SEInfoHolder.java

Here you can find all the information about the file org.dgpf.gui.SEInfoHolder.java. You may explore it here or download it onto your local disk.
/**
 * 
 */

package org.dgpf.gui;

import java.sql.Timestamp;
import java.text.Format;
import java.text.SimpleDateFormat;

/**
 * This class hold Infos of the running Search Engine.
 * 
 * @author Lado Kumsiashvili
 */

public class SEInfoHolder
  {

  /**
   * SE current status.
   */

  String     m_status;    

  /**
   * connectedSInce timestamp
   */

  Timestamp m_connectedSince = new Timestamp(0);

  
  /**
   *  Current jar name.
   */

  private String m_current_jar_name = null;
  
  /**
   * Formatter.
   */

 public static  Format    FORMATTER = new SimpleDateFormat("yyyy-MM-dd-hh:mm:ss");

    
  /**
   * Getter for connectedSince.
   * 
   * @return connectedSince.
   */

  public String getConnectedSince()
    {
   return SEInfoHolder.FORMATTER.format(this.m_connectedSince);
    }

  /**
   * Setter for connectedSince.
   * 
   * @param p_connectedSince
   *          a timestamp to set.
   */

  public void setConnectedSince(Timestamp p_connectedSince)
    {
    this.m_connectedSince = p_connectedSince;
    }

  
  /**
   * Getter for status.
   * 
   * @return status.
   */

  public String getStatus()
    {
    return this.m_status;
    }

  /**
   * Setter for status.
   * 
   * @param p_status
   *          Color to set.
   */

  public void setStatus(String p_status)
    {
    this.m_status = p_status;
    }


  /**
   * Getter for m_current_jar_name.
   * 
   * @return current_jar_name.
   */

  public String getCurrent_jar_name()
    {
    return this.m_current_jar_name;
    }


  /**
   * Setter for m_current_jar_name.
   * 
   * @param p_current_jar_name The name to set.
   */

  public void setCurrent_jar_name(String p_current_jar_name)
    {
    this.m_current_jar_name = p_current_jar_name;
    }

    }

File Information:

file name:SEInfoHolder.java
package:org.dgpf.gui
qualified name:org.dgpf.gui.SEInfoHolder.java
file type:Java Source File
download location:download http://dgpf.sourceforge.net/source/org/dgpf/gui/SEInfoHolder.java
size:1.705 KB (1746 B)
uploaded: 2015-07-22 04:10:58 GMT+0000
last update: 2006-09-24 23:47:04 GMT+0000
last access: 2017-11-18 23:26:28 GMT+0000

statistics online since 2006-01-02.   RSS Feed
Contact us by sending an email to tweise@gmx.de to receive further information, to report errors, or to join our project.
All content on this site (http://dgpf.sourceforge.net/) is LGPL-licensed.
http://dgpf.sourceforge.net/scripts/source/source.php last modified at 2015-07-22 04:10:53 GMT+0000 served at 2017-11-19 04:59:57 GMT+0000.
Valid CSS Valid XHTML 1.1
Valid RSS SourceForge.net Logo