/**
* <copyright>
* </copyright>
*
* $Id$
*/
package org.eclipse.papyrus.views.properties.contexts;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.papyrus.views.properties.environment.Type;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Property</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.papyrus.views.properties.contexts.Property#getName <em>Name</em>}</li>
* <li>{@link org.eclipse.papyrus.views.properties.contexts.Property#getLabel <em>Label</em>}</li>
* <li>{@link org.eclipse.papyrus.views.properties.contexts.Property#getType <em>Type</em>}</li>
* <li>{@link org.eclipse.papyrus.views.properties.contexts.Property#getContextElement <em>Context Element</em>}</li>
* <li>{@link org.eclipse.papyrus.views.properties.contexts.Property#getMultiplicity <em>Multiplicity</em>}</li>
* <li>{@link org.eclipse.papyrus.views.properties.contexts.Property#getDescription <em>Description</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.papyrus.views.properties.contexts.ContextsPackage#getProperty()
* @model
* @generated
*/
public interface Property extends EObject {
/**
* Returns the value of the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Name</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see org.eclipse.papyrus.views.properties.contexts.ContextsPackage#getProperty_Name()
* @model required="true"
* @generated
*/
String getName();
/**
* Sets the value of the '{@link org.eclipse.papyrus.views.properties.contexts.Property#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
void setName(String value);
/**
* Returns the value of the '<em><b>Label</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Label</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Label</em>' attribute.
* @see #setLabel(String)
* @see org.eclipse.papyrus.views.properties.contexts.ContextsPackage#getProperty_Label()
* @model
* @generated
*/
String getLabel();
/**
* Sets the value of the '{@link org.eclipse.papyrus.views.properties.contexts.Property#getLabel <em>Label</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Label</em>' attribute.
* @see #getLabel()
* @generated
*/
void setLabel(String value);
/**
* Returns the value of the '<em><b>Type</b></em>' attribute.
* The literals are from the enumeration {@link org.eclipse.papyrus.views.properties.environment.Type}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Type</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Type</em>' attribute.
* @see org.eclipse.papyrus.views.properties.environment.Type
* @see #setType(Type)
* @see org.eclipse.papyrus.views.properties.contexts.ContextsPackage#getProperty_Type()
* @model required="true"
* @generated
*/
Type getType();
/**
* Sets the value of the '{@link org.eclipse.papyrus.views.properties.contexts.Property#getType <em>Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Type</em>' attribute.
* @see org.eclipse.papyrus.views.properties.environment.Type
* @see #getType()
* @generated
*/
void setType(Type value);
/**
* Returns the value of the '<em><b>Context Element</b></em>' container reference.
* It is bidirectional and its opposite is '{@link org.eclipse.papyrus.views.properties.contexts.DataContextElement#getProperties <em>Properties</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Context Element</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>Context Element</em>' container reference.
* @see #setContextElement(DataContextElement)
* @see org.eclipse.papyrus.views.properties.contexts.ContextsPackage#getProperty_ContextElement()
* @see org.eclipse.papyrus.views.properties.contexts.DataContextElement#getProperties
* @model opposite="properties" transient="false"
* @generated
*/
DataContextElement getContextElement();
/**
* Sets the value of the '{@link org.eclipse.papyrus.views.properties.contexts.Property#getContextElement <em>Context Element</em>}' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Context Element</em>' container reference.
* @see #getContextElement()
* @generated
*/
void setContextElement(DataContextElement value);
/**
* Returns the value of the '<em><b>Multiplicity</b></em>' attribute.
* The default value is <code>"1"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Multiplicity</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Multiplicity</em>' attribute.
* @see #setMultiplicity(int)
* @see org.eclipse.papyrus.views.properties.contexts.ContextsPackage#getProperty_Multiplicity()
* @model default="1" required="true"
* @generated
*/
int getMultiplicity();
/**
* Sets the value of the '{@link org.eclipse.papyrus.views.properties.contexts.Property#getMultiplicity <em>Multiplicity</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Multiplicity</em>' attribute.
* @see #getMultiplicity()
* @generated
*/
void setMultiplicity(int value);
/**
* Returns the value of the '<em><b>Description</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Description</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Description</em>' attribute.
* @see #setDescription(String)
* @see org.eclipse.papyrus.views.properties.contexts.ContextsPackage#getProperty_Description()
* @model
* @generated
*/
String getDescription();
/**
* Sets the value of the '{@link org.eclipse.papyrus.views.properties.contexts.Property#getDescription <em>Description</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Description</em>' attribute.
* @see #getDescription()
* @generated
*/
void setDescription(String value);
} // Property