| /** |
| * <copyright> |
| * |
| * Copyright (c) 2007, 2008 E.D.Willink 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: |
| * E.D.Willink - initial API and implementation |
| * |
| * </copyright> |
| * |
| * $Id: Property.java,v 1.2 2008/09/21 12:30:24 ewillink Exp $ |
| */ |
| package org.eclipse.qvt.declarative.emof.EMOF; |
| |
| |
| /** |
| * <!-- 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.qvt.declarative.emof.EMOF.Property#getClass_ <em>Class</em>}</li> |
| * <li>{@link org.eclipse.qvt.declarative.emof.EMOF.Property#getDefault <em>Default</em>}</li> |
| * <li>{@link org.eclipse.qvt.declarative.emof.EMOF.Property#getIsComposite <em>Is Composite</em>}</li> |
| * <li>{@link org.eclipse.qvt.declarative.emof.EMOF.Property#getIsDerived <em>Is Derived</em>}</li> |
| * <li>{@link org.eclipse.qvt.declarative.emof.EMOF.Property#getIsID <em>Is ID</em>}</li> |
| * <li>{@link org.eclipse.qvt.declarative.emof.EMOF.Property#getIsReadOnly <em>Is Read Only</em>}</li> |
| * <li>{@link org.eclipse.qvt.declarative.emof.EMOF.Property#getOpposite <em>Opposite</em>}</li> |
| * </ul> |
| * </p> |
| * |
| * @see org.eclipse.qvt.declarative.emof.EMOF.EMOFPackage#getProperty() |
| * @model |
| * @generated |
| */ |
| public interface Property extends TypedElement, MultiplicityElement { |
| /** |
| * Returns the value of the '<em><b>Class</b></em>' container reference. |
| * It is bidirectional and its opposite is '{@link org.eclipse.qvt.declarative.emof.EMOF.Class#getOwnedAttribute <em>Owned Attribute</em>}'. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Class</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>Class</em>' container reference. |
| * @see #setClass(org.eclipse.qvt.declarative.emof.EMOF.Class) |
| * @see org.eclipse.qvt.declarative.emof.EMOF.EMOFPackage#getProperty_Class() |
| * @see org.eclipse.qvt.declarative.emof.EMOF.Class#getOwnedAttribute |
| * @model opposite="ownedAttribute" |
| * @generated |
| */ |
| org.eclipse.qvt.declarative.emof.EMOF.Class getClass_(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.qvt.declarative.emof.EMOF.Property#getClass_ <em>Class</em>}' container reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Class</em>' container reference. |
| * @see #getClass_() |
| * @generated |
| */ |
| void setClass(org.eclipse.qvt.declarative.emof.EMOF.Class value); |
| |
| /** |
| * Returns the value of the '<em><b>Default</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Default</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Default</em>' attribute. |
| * @see #setDefault(String) |
| * @see org.eclipse.qvt.declarative.emof.EMOF.EMOFPackage#getProperty_Default() |
| * @model dataType="org.eclipse.qvt.declarative.emof.EMOF.String" |
| * @generated |
| */ |
| String getDefault(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.qvt.declarative.emof.EMOF.Property#getDefault <em>Default</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Default</em>' attribute. |
| * @see #getDefault() |
| * @generated |
| */ |
| void setDefault(String value); |
| |
| /** |
| * Returns the value of the '<em><b>Is Composite</b></em>' attribute. |
| * The default value is <code>"false"</code>. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Is Composite</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Is Composite</em>' attribute. |
| * @see #setIsComposite(Boolean) |
| * @see org.eclipse.qvt.declarative.emof.EMOF.EMOFPackage#getProperty_IsComposite() |
| * @model default="false" dataType="org.eclipse.qvt.declarative.emof.EMOF.Boolean" |
| * @generated |
| */ |
| Boolean getIsComposite(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.qvt.declarative.emof.EMOF.Property#getIsComposite <em>Is Composite</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Is Composite</em>' attribute. |
| * @see #getIsComposite() |
| * @generated |
| */ |
| void setIsComposite(Boolean value); |
| |
| /** |
| * Returns the value of the '<em><b>Is Derived</b></em>' attribute. |
| * The default value is <code>"false"</code>. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Is Derived</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Is Derived</em>' attribute. |
| * @see #setIsDerived(Boolean) |
| * @see org.eclipse.qvt.declarative.emof.EMOF.EMOFPackage#getProperty_IsDerived() |
| * @model default="false" dataType="org.eclipse.qvt.declarative.emof.EMOF.Boolean" |
| * @generated |
| */ |
| Boolean getIsDerived(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.qvt.declarative.emof.EMOF.Property#getIsDerived <em>Is Derived</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Is Derived</em>' attribute. |
| * @see #getIsDerived() |
| * @generated |
| */ |
| void setIsDerived(Boolean value); |
| |
| /** |
| * Returns the value of the '<em><b>Is ID</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Is 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>Is ID</em>' attribute. |
| * @see #setIsID(Boolean) |
| * @see org.eclipse.qvt.declarative.emof.EMOF.EMOFPackage#getProperty_IsID() |
| * @model dataType="org.eclipse.qvt.declarative.emof.EMOF.Boolean" |
| * @generated |
| */ |
| Boolean getIsID(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.qvt.declarative.emof.EMOF.Property#getIsID <em>Is ID</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Is ID</em>' attribute. |
| * @see #getIsID() |
| * @generated |
| */ |
| void setIsID(Boolean value); |
| |
| /** |
| * Returns the value of the '<em><b>Is Read Only</b></em>' attribute. |
| * The default value is <code>"false"</code>. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Is Read Only</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Is Read Only</em>' attribute. |
| * @see #setIsReadOnly(Boolean) |
| * @see org.eclipse.qvt.declarative.emof.EMOF.EMOFPackage#getProperty_IsReadOnly() |
| * @model default="false" dataType="org.eclipse.qvt.declarative.emof.EMOF.Boolean" |
| * @generated |
| */ |
| Boolean getIsReadOnly(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.qvt.declarative.emof.EMOF.Property#getIsReadOnly <em>Is Read Only</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Is Read Only</em>' attribute. |
| * @see #getIsReadOnly() |
| * @generated |
| */ |
| void setIsReadOnly(Boolean value); |
| |
| /** |
| * Returns the value of the '<em><b>Opposite</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Opposite</em>' reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Opposite</em>' reference. |
| * @see #setOpposite(Property) |
| * @see org.eclipse.qvt.declarative.emof.EMOF.EMOFPackage#getProperty_Opposite() |
| * @model |
| * @generated |
| */ |
| Property getOpposite(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.qvt.declarative.emof.EMOF.Property#getOpposite <em>Opposite</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Opposite</em>' reference. |
| * @see #getOpposite() |
| * @generated |
| */ |
| void setOpposite(Property value); |
| |
| } // Property |