blob: 2536cae3e80b331b61e39b537a98816f80837cf1 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2009, 2014 Xored Software Inc and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Xored Software Inc - initial API and implementation and/or initial documentation
*******************************************************************************/
package org.eclipse.rcptt.sherlock.core.model.sherlock.report;
import org.eclipse.emf.common.util.EMap;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Event</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.rcptt.sherlock.core.model.sherlock.report.Event#getTime <em>Time</em>}</li>
* <li>{@link org.eclipse.rcptt.sherlock.core.model.sherlock.report.Event#getProperties <em>Properties</em>}</li>
* <li>{@link org.eclipse.rcptt.sherlock.core.model.sherlock.report.Event#getData <em>Data</em>}</li>
* <li>{@link org.eclipse.rcptt.sherlock.core.model.sherlock.report.Event#getSource <em>Source</em>}</li>
* <li>{@link org.eclipse.rcptt.sherlock.core.model.sherlock.report.Event#getKind <em>Kind</em>}</li>
* <li>{@link org.eclipse.rcptt.sherlock.core.model.sherlock.report.Event#getColor <em>Color</em>}</li>
* <li>{@link org.eclipse.rcptt.sherlock.core.model.sherlock.report.Event#getCount <em>Count</em>}</li>
* </ul>
*
* @see org.eclipse.rcptt.sherlock.core.model.sherlock.report.ReportPackage#getEvent()
* @model
* @generated
*/
public interface Event extends EObject {
/**
* Returns the value of the '<em><b>Time</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Time</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Time</em>' attribute.
* @see #setTime(long)
* @see org.eclipse.rcptt.sherlock.core.model.sherlock.report.ReportPackage#getEvent_Time()
* @model
* @generated
*/
long getTime();
/**
* Sets the value of the '{@link org.eclipse.rcptt.sherlock.core.model.sherlock.report.Event#getTime <em>Time</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Time</em>' attribute.
* @see #getTime()
* @generated
*/
void setTime(long value);
/**
* Returns the value of the '<em><b>Properties</b></em>' map.
* The key is of type {@link java.lang.String},
* and the value is of type {@link org.eclipse.emf.ecore.EObject},
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Properties</em>' map isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Properties</em>' map.
* @see org.eclipse.rcptt.sherlock.core.model.sherlock.report.ReportPackage#getEvent_Properties()
* @model mapType="org.eclipse.rcptt.sherlock.core.model.sherlock.report.PropertyMap<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EObject>"
* @generated
*/
EMap<String, EObject> getProperties();
/**
* Returns the value of the '<em><b>Data</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Data</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Data</em>' containment reference.
* @see #setData(EObject)
* @see org.eclipse.rcptt.sherlock.core.model.sherlock.report.ReportPackage#getEvent_Data()
* @model containment="true"
* @generated
*/
EObject getData();
/**
* Sets the value of the '{@link org.eclipse.rcptt.sherlock.core.model.sherlock.report.Event#getData <em>Data</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Data</em>' containment reference.
* @see #getData()
* @generated
*/
void setData(EObject value);
/**
* Returns the value of the '<em><b>Source</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Source</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Source</em>' reference.
* @see #setSource(EventSource)
* @see org.eclipse.rcptt.sherlock.core.model.sherlock.report.ReportPackage#getEvent_Source()
* @model
* @generated
*/
EventSource getSource();
/**
* Sets the value of the '{@link org.eclipse.rcptt.sherlock.core.model.sherlock.report.Event#getSource <em>Source</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Source</em>' reference.
* @see #getSource()
* @generated
*/
void setSource(EventSource value);
/**
* Returns the value of the '<em><b>Kind</b></em>' attribute.
* The literals are from the enumeration {@link org.eclipse.rcptt.sherlock.core.model.sherlock.report.EventKind}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Kind</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Kind</em>' attribute.
* @see org.eclipse.rcptt.sherlock.core.model.sherlock.report.EventKind
* @see #setKind(EventKind)
* @see org.eclipse.rcptt.sherlock.core.model.sherlock.report.ReportPackage#getEvent_Kind()
* @model
* @generated
*/
EventKind getKind();
/**
* Sets the value of the '{@link org.eclipse.rcptt.sherlock.core.model.sherlock.report.Event#getKind <em>Kind</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Kind</em>' attribute.
* @see org.eclipse.rcptt.sherlock.core.model.sherlock.report.EventKind
* @see #getKind()
* @generated
*/
void setKind(EventKind value);
/**
* Returns the value of the '<em><b>Color</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Color</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Color</em>' attribute.
* @see #setColor(String)
* @see org.eclipse.rcptt.sherlock.core.model.sherlock.report.ReportPackage#getEvent_Color()
* @model
* @generated
*/
String getColor();
/**
* Sets the value of the '{@link org.eclipse.rcptt.sherlock.core.model.sherlock.report.Event#getColor <em>Color</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Color</em>' attribute.
* @see #getColor()
* @generated
*/
void setColor(String value);
/**
* Returns the value of the '<em><b>Count</b></em>' attribute.
* The default value is <code>"1"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Count</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Count</em>' attribute.
* @see #setCount(int)
* @see org.eclipse.rcptt.sherlock.core.model.sherlock.report.ReportPackage#getEvent_Count()
* @model default="1"
* @generated
*/
int getCount();
/**
* Sets the value of the '{@link org.eclipse.rcptt.sherlock.core.model.sherlock.report.Event#getCount <em>Count</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Count</em>' attribute.
* @see #getCount()
* @generated
*/
void setCount(int value);
} // Event