blob: 9da0db774f75e4aff807e9d3b10ed6c196de5e46 [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: ThreadItem.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.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Thread Item</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.gmf.examples.mindmap.ThreadItem#getAuthor <em>Author</em>}</li>
* <li>{@link org.eclipse.gmf.examples.mindmap.ThreadItem#getBody <em>Body</em>}</li>
* <li>{@link org.eclipse.gmf.examples.mindmap.ThreadItem#getItemPostDate <em>Item Post Date</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.gmf.examples.mindmap.MindmapPackage#getThreadItem()
* @model extendedMetaData="name='ThreadItem' kind='empty'"
* @generated
*/
public interface ThreadItem extends EObject {
/**
* Returns the value of the '<em><b>Author</b></em>' reference.
* <!-- 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#getThreadItem_Author()
* @model extendedMetaData="kind='attribute' name='author'"
* @generated
*/
Resource getAuthor();
/**
* Sets the value of the '{@link org.eclipse.gmf.examples.mindmap.ThreadItem#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>Body</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Body</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Body</em>' attribute.
* @see #setBody(String)
* @see org.eclipse.gmf.examples.mindmap.MindmapPackage#getThreadItem_Body()
* @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
* extendedMetaData="kind='attribute' name='body'"
* @generated
*/
String getBody();
/**
* Sets the value of the '{@link org.eclipse.gmf.examples.mindmap.ThreadItem#getBody <em>Body</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Body</em>' attribute.
* @see #getBody()
* @generated
*/
void setBody(String value);
/**
* Returns the value of the '<em><b>Item Post Date</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Item 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>Item Post Date</em>' attribute.
* @see #setItemPostDate(XMLGregorianCalendar)
* @see org.eclipse.gmf.examples.mindmap.MindmapPackage#getThreadItem_ItemPostDate()
* @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.Date"
* extendedMetaData="kind='attribute' name='itemPostDate'"
* @generated
*/
XMLGregorianCalendar getItemPostDate();
/**
* Sets the value of the '{@link org.eclipse.gmf.examples.mindmap.ThreadItem#getItemPostDate <em>Item Post Date</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Item Post Date</em>' attribute.
* @see #getItemPostDate()
* @generated
*/
void setItemPostDate(XMLGregorianCalendar value);
} // ThreadItem