/* * Copyright 2014 Bernd Vogt and others. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.sourcepit.b2.model.module; import org.sourcepit.common.modeling.Annotatable; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Abstract Facet</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link org.sourcepit.b2.model.module.AbstractFacet#getParent <em>Parent</em>}</li> * <li>{@link org.sourcepit.b2.model.module.AbstractFacet#getName <em>Name</em>}</li> * </ul> * </p> * * @see org.sourcepit.b2.model.module.ModuleModelPackage#getAbstractFacet() * @model abstract="true" * @generated */ public interface AbstractFacet extends Derivable, Annotatable { /** * Returns the value of the '<em><b>Parent</b></em>' container reference. * It is bidirectional and its opposite is '{@link org.sourcepit.b2.model.module.AbstractModule#getFacets * <em>Facets</em>}'. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Parent</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>Parent</em>' container reference. * @see #setParent(AbstractModule) * @see org.sourcepit.b2.model.module.ModuleModelPackage#getAbstractFacet_Parent() * @see org.sourcepit.b2.model.module.AbstractModule#getFacets * @model opposite="facets" required="true" transient="false" * @generated */ AbstractModule getParent(); /** * Sets the value of the '{@link org.sourcepit.b2.model.module.AbstractFacet#getParent <em>Parent</em>}' container * reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @param value the new value of the '<em>Parent</em>' container reference. * @see #getParent() * @generated */ void setParent(AbstractModule 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.sourcepit.b2.model.module.ModuleModelPackage#getAbstractFacet_Name() * @model required="true" * @generated */ String getName(); /** * Sets the value of the '{@link org.sourcepit.b2.model.module.AbstractFacet#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); } // AbstractFacet