/******************************************************************************* * Copyright (c) 2011 Guillaume Hillairet. * 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: * Guillaume Hillairet - initial API and implementation *******************************************************************************/ package com.emf4sw.rdf; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Namespace</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link com.emf4sw.rdf.Namespace#getPrefix <em>Prefix</em>}</li> * <li>{@link com.emf4sw.rdf.Namespace#getGraph <em>Graph</em>}</li> * </ul> * </p> * * @see com.emf4sw.rdf.RDFPackage#getNamespace() * @model * @generated */ public interface Namespace extends URIElement { /** * Returns the value of the '<em><b>Prefix</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Prefix</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Prefix</em>' attribute. * @see #setPrefix(String) * @see com.emf4sw.rdf.RDFPackage#getNamespace_Prefix() * @model required="true" * @generated */ String getPrefix(); /** * Sets the value of the '{@link com.emf4sw.rdf.Namespace#getPrefix <em>Prefix</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Prefix</em>' attribute. * @see #getPrefix() * @generated */ void setPrefix(String value); /** * Returns the value of the '<em><b>Graph</b></em>' container reference. * It is bidirectional and its opposite is '{@link com.emf4sw.rdf.DocumentGraph#getNamespaces <em>Namespaces</em>}'. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Graph</em>' container reference isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Graph</em>' container reference. * @see #setGraph(DocumentGraph) * @see com.emf4sw.rdf.RDFPackage#getNamespace_Graph() * @see com.emf4sw.rdf.DocumentGraph#getNamespaces * @model opposite="namespaces" required="true" transient="false" * @generated */ DocumentGraph getGraph(); /** * Sets the value of the '{@link com.emf4sw.rdf.Namespace#getGraph <em>Graph</em>}' container reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Graph</em>' container reference. * @see #getGraph() * @generated */ void setGraph(DocumentGraph value); } // Namespace