| /** |
| * Copyright (c) 2009 Anyware Technologies and others. |
| * 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: |
| * Anyware Technologies - initial API and implementation |
| * |
| * $Id: Property.java,v 1.2 2009/02/15 20:54:36 bcabe Exp $ |
| */ |
| package org.eclipse.pde.ds.scr; |
| |
| import org.eclipse.emf.ecore.EObject; |
| |
| /** |
| * <!-- 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.pde.ds.scr.Property#getValue <em>Value</em>}</li> |
| * <li>{@link org.eclipse.pde.ds.scr.Property#getName <em>Name</em>}</li> |
| * <li>{@link org.eclipse.pde.ds.scr.Property#getType <em>Type</em>}</li> |
| * <li>{@link org.eclipse.pde.ds.scr.Property#getValue1 <em>Value1</em>}</li> |
| * </ul> |
| * </p> |
| * |
| * @see org.eclipse.pde.ds.scr.ScrPackage#getProperty() |
| * @model annotation="http://www.eclipse.org/emf/2002/Ecore constraints='isValueConsistent'" |
| * extendedMetaData="kind='simple'" |
| * @generated |
| */ |
| public interface Property extends EObject { |
| /** |
| * Returns the value of the '<em><b>Value</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Value</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Value</em>' attribute. |
| * @see #setValue(String) |
| * @see org.eclipse.pde.ds.scr.ScrPackage#getProperty_Value() |
| * @model dataType="org.eclipse.emf.ecore.xml.type.String" |
| * extendedMetaData="kind='simple'" |
| * @generated |
| */ |
| String getValue(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.pde.ds.scr.Property#getValue <em>Value</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Value</em>' attribute. |
| * @see #getValue() |
| * @generated |
| */ |
| void setValue(String value); |
| |
| /** |
| * 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.pde.ds.scr.ScrPackage#getProperty_Name() |
| * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true" |
| * extendedMetaData="kind='attribute' name='name'" |
| * @generated |
| */ |
| String getName(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.pde.ds.scr.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>Type</b></em>' attribute. |
| * The default value is <code>"String"</code>. |
| * The literals are from the enumeration {@link org.eclipse.pde.ds.scr.JavaType}. |
| * <!-- 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.pde.ds.scr.JavaType |
| * @see #isSetType() |
| * @see #unsetType() |
| * @see #setType(JavaType) |
| * @see org.eclipse.pde.ds.scr.ScrPackage#getProperty_Type() |
| * @model default="String" unsettable="true" |
| * extendedMetaData="kind='attribute' name='type'" |
| * @generated |
| */ |
| JavaType getType(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.pde.ds.scr.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.pde.ds.scr.JavaType |
| * @see #isSetType() |
| * @see #unsetType() |
| * @see #getType() |
| * @generated |
| */ |
| void setType(JavaType value); |
| |
| /** |
| * Unsets the value of the '{@link org.eclipse.pde.ds.scr.Property#getType <em>Type</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #isSetType() |
| * @see #getType() |
| * @see #setType(JavaType) |
| * @generated |
| */ |
| void unsetType(); |
| |
| /** |
| * Returns whether the value of the '{@link org.eclipse.pde.ds.scr.Property#getType <em>Type</em>}' attribute is set. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return whether the value of the '<em>Type</em>' attribute is set. |
| * @see #unsetType() |
| * @see #getType() |
| * @see #setType(JavaType) |
| * @generated |
| */ |
| boolean isSetType(); |
| |
| /** |
| * Returns the value of the '<em><b>Value1</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Value1</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Value1</em>' attribute. |
| * @see #setValue1(String) |
| * @see org.eclipse.pde.ds.scr.ScrPackage#getProperty_Value1() |
| * @model dataType="org.eclipse.emf.ecore.xml.type.String" |
| * extendedMetaData="kind='attribute' name='value'" |
| * @generated |
| */ |
| String getValue1(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.pde.ds.scr.Property#getValue1 <em>Value1</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Value1</em>' attribute. |
| * @see #getValue1() |
| * @generated |
| */ |
| void setValue1(String value); |
| |
| } // Property |