| /******************************************************************************* |
| * Copyright (c) 2012-2014 SAP SE. |
| * 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: |
| * SAP SE - initial API and implementation and/or initial documentation |
| * |
| *******************************************************************************/ |
| /** |
| */ |
| package org.eclipse.ogee.model.odata; |
| |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Role</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * <ul> |
| * <li>{@link org.eclipse.ogee.model.odata.Role#getName <em>Name</em>}</li> |
| * <li>{@link org.eclipse.ogee.model.odata.Role#getType <em>Type</em>}</li> |
| * <li>{@link org.eclipse.ogee.model.odata.Role#getMultiplicity <em>Multiplicity</em>}</li> |
| * </ul> |
| * </p> |
| * |
| * @see org.eclipse.ogee.model.odata.OdataPackage#getRole() |
| * @model |
| * @generated |
| */ |
| public interface Role extends IAnnotationTarget, IDocumentable { |
| /** |
| * 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.ogee.model.odata.OdataPackage#getRole_Name() |
| * @model required="true" |
| * @generated |
| */ |
| String getName(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.ogee.model.odata.Role#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>Type</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Type</em>' reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Type</em>' reference. |
| * @see #setType(EntityType) |
| * @see org.eclipse.ogee.model.odata.OdataPackage#getRole_Type() |
| * @model required="true" |
| * @generated |
| */ |
| EntityType getType(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.ogee.model.odata.Role#getType <em>Type</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Type</em>' reference. |
| * @see #getType() |
| * @generated |
| */ |
| void setType(EntityType value); |
| |
| /** |
| * Returns the value of the '<em><b>Multiplicity</b></em>' attribute. |
| * The literals are from the enumeration {@link org.eclipse.ogee.model.odata.Multiplicity}. |
| * <!-- 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 org.eclipse.ogee.model.odata.Multiplicity |
| * @see #setMultiplicity(Multiplicity) |
| * @see org.eclipse.ogee.model.odata.OdataPackage#getRole_Multiplicity() |
| * @model required="true" |
| * @generated |
| */ |
| Multiplicity getMultiplicity(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.ogee.model.odata.Role#getMultiplicity <em>Multiplicity</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Multiplicity</em>' attribute. |
| * @see org.eclipse.ogee.model.odata.Multiplicity |
| * @see #getMultiplicity() |
| * @generated |
| */ |
| void setMultiplicity(Multiplicity value); |
| |
| } // Role |