/**
* <copyright>
* </copyright>
*
* $Id$
*/
package org.openstreetmap.osm;
import java.util.Date;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>OSM Element</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.openstreetmap.osm.OSMElement#getId <em>Id</em>}</li>
* <li>{@link org.openstreetmap.osm.OSMElement#isVisible <em>Visible</em>}</li>
* <li>{@link org.openstreetmap.osm.OSMElement#getTimestamp <em>Timestamp</em>}</li>
* <li>{@link org.openstreetmap.osm.OSMElement#getUser <em>User</em>}</li>
* <li>{@link org.openstreetmap.osm.OSMElement#getTags <em>Tags</em>}</li>
* </ul>
* </p>
*
* @see org.openstreetmap.osm.OsmPackage#getOSMElement()
* @model
* @generated
*/
public interface OSMElement extends EObject {
/**
* Returns the value of the '<em><b>Id</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Id</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Id</em>' attribute.
* @see #setId(long)
* @see org.openstreetmap.osm.OsmPackage#getOSMElement_Id()
* @model id="true"
* @generated
*/
long getId();
/**
* Sets the value of the '{@link org.openstreetmap.osm.OSMElement#getId <em>Id</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Id</em>' attribute.
* @see #getId()
* @generated
*/
void setId(long value);
/**
* Returns the value of the '<em><b>Visible</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Visible</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Visible</em>' attribute.
* @see #setVisible(boolean)
* @see org.openstreetmap.osm.OsmPackage#getOSMElement_Visible()
* @model
* @generated
*/
boolean isVisible();
/**
* Sets the value of the '{@link org.openstreetmap.osm.OSMElement#isVisible <em>Visible</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Visible</em>' attribute.
* @see #isVisible()
* @generated
*/
void setVisible(boolean value);
/**
* Returns the value of the '<em><b>Timestamp</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Timestamp</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Timestamp</em>' attribute.
* @see #setTimestamp(Date)
* @see org.openstreetmap.osm.OsmPackage#getOSMElement_Timestamp()
* @model
* @generated
*/
Date getTimestamp();
/**
* Sets the value of the '{@link org.openstreetmap.osm.OSMElement#getTimestamp <em>Timestamp</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Timestamp</em>' attribute.
* @see #getTimestamp()
* @generated
*/
void setTimestamp(Date value);
/**
* Returns the value of the '<em><b>User</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>User</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>User</em>' attribute.
* @see #setUser(String)
* @see org.openstreetmap.osm.OsmPackage#getOSMElement_User()
* @model
* @generated
*/
String getUser();
/**
* Sets the value of the '{@link org.openstreetmap.osm.OSMElement#getUser <em>User</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>User</em>' attribute.
* @see #getUser()
* @generated
*/
void setUser(String value);
/**
* Returns the value of the '<em><b>Tags</b></em>' containment reference list.
* The list contents are of type {@link org.openstreetmap.osm.Tag}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Tags</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>Tags</em>' containment reference list.
* @see org.openstreetmap.osm.OsmPackage#getOSMElement_Tags()
* @model containment="true"
* extendedMetaData="name='tag' kind='element'"
* @generated
*/
EList<Tag> getTags();
} // OSMElement