/** * Copyright (c) 2011 Obeo. * 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: * Obeo - initial API and implementation */ package org.obeonetwork.dsl.database; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Constraint</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link org.obeonetwork.dsl.database.Constraint#getExpression <em>Expression</em>}</li> * <li>{@link org.obeonetwork.dsl.database.Constraint#getOwner <em>Owner</em>}</li> * </ul> * </p> * * @see org.obeonetwork.dsl.database.DatabasePackage#getConstraint() * @model * @generated */ public interface Constraint extends NamedElement { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ String copyright = "Copyright (c) 2011 Obeo.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Obeo - initial API and implementation"; /** * Returns the value of the '<em><b>Expression</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Expression</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Expression</em>' attribute. * @see #setExpression(String) * @see org.obeonetwork.dsl.database.DatabasePackage#getConstraint_Expression() * @model * @generated */ String getExpression(); /** * Sets the value of the '{@link org.obeonetwork.dsl.database.Constraint#getExpression <em>Expression</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Expression</em>' attribute. * @see #getExpression() * @generated */ void setExpression(String value); /** * Returns the value of the '<em><b>Owner</b></em>' container reference. * It is bidirectional and its opposite is '{@link org.obeonetwork.dsl.database.Table#getConstraints <em>Constraints</em>}'. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Owner</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>Owner</em>' container reference. * @see #setOwner(Table) * @see org.obeonetwork.dsl.database.DatabasePackage#getConstraint_Owner() * @see org.obeonetwork.dsl.database.Table#getConstraints * @model opposite="constraints" required="true" transient="false" * @generated */ Table getOwner(); /** * Sets the value of the '{@link org.obeonetwork.dsl.database.Constraint#getOwner <em>Owner</em>}' container reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Owner</em>' container reference. * @see #getOwner() * @generated */ void setOwner(Table value); } // Constraint