blob: a0c115abd343f30d20754aacb26aa890987502ad [file] [log] [blame]
/**
* Copyright (c) 2006, 2007 Borland Software Corporation.
* 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:
* Richard Gronback (Borland) - initial API and implementation
*
* $Id: Thread.java,v 1.6 2007/10/31 02:57:50 rgronback Exp $
*/
package org.eclipse.gmf.examples.mindmap;
import javax.xml.datatype.XMLGregorianCalendar;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Thread</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.gmf.examples.mindmap.Thread#getItems <em>Items</em>}</li>
* <li>{@link org.eclipse.gmf.examples.mindmap.Thread#getAuthor <em>Author</em>}</li>
* <li>{@link org.eclipse.gmf.examples.mindmap.Thread#getPostDate <em>Post Date</em>}</li>
* <li>{@link org.eclipse.gmf.examples.mindmap.Thread#getSubject <em>Subject</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.gmf.examples.mindmap.MindmapPackage#getThread()
* @model extendedMetaData="name='Thread' kind='elementOnly'"
* @generated
*/
public interface Thread extends EObject {
/**
* Returns the value of the '<em><b>Items</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.gmf.examples.mindmap.ThreadItem}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Items</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Items</em>' containment reference list.
* @see org.eclipse.gmf.examples.mindmap.MindmapPackage#getThread_Items()
* @model containment="true"
* extendedMetaData="kind='element' name='items'"
* @generated
*/
EList<ThreadItem> getItems();
/**
* Returns the value of the '<em><b>Author</b></em>' reference.
* It is bidirectional and its opposite is '{@link org.eclipse.gmf.examples.mindmap.Resource#getComments <em>Comments</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Author</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Author</em>' reference.
* @see #setAuthor(Resource)
* @see org.eclipse.gmf.examples.mindmap.MindmapPackage#getThread_Author()
* @see org.eclipse.gmf.examples.mindmap.Resource#getComments
* @model opposite="comments"
* extendedMetaData="kind='attribute' name='author'"
* @generated
*/
Resource getAuthor();
/**
* Sets the value of the '{@link org.eclipse.gmf.examples.mindmap.Thread#getAuthor <em>Author</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Author</em>' reference.
* @see #getAuthor()
* @generated
*/
void setAuthor(Resource value);
/**
* Returns the value of the '<em><b>Post Date</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Post Date</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Post Date</em>' attribute.
* @see #setPostDate(XMLGregorianCalendar)
* @see org.eclipse.gmf.examples.mindmap.MindmapPackage#getThread_PostDate()
* @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.Date"
* extendedMetaData="kind='attribute' name='postDate'"
* @generated
*/
XMLGregorianCalendar getPostDate();
/**
* Sets the value of the '{@link org.eclipse.gmf.examples.mindmap.Thread#getPostDate <em>Post Date</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Post Date</em>' attribute.
* @see #getPostDate()
* @generated
*/
void setPostDate(XMLGregorianCalendar value);
/**
* Returns the value of the '<em><b>Subject</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Subject</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Subject</em>' attribute.
* @see #setSubject(String)
* @see org.eclipse.gmf.examples.mindmap.MindmapPackage#getThread_Subject()
* @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
* extendedMetaData="kind='attribute' name='subject'"
* @generated
*/
String getSubject();
/**
* Sets the value of the '{@link org.eclipse.gmf.examples.mindmap.Thread#getSubject <em>Subject</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Subject</em>' attribute.
* @see #getSubject()
* @generated
*/
void setSubject(String value);
} // Thread