/** * 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. * * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. */ package org.sintef.thingml; import org.eclipse.emf.ecore.EObject; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Typed Element</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * </p> * <ul> * <li>{@link org.sintef.thingml.TypedElement#getType <em>Type</em>}</li> * <li>{@link org.sintef.thingml.TypedElement#getCardinality <em>Cardinality</em>}</li> * <li>{@link org.sintef.thingml.TypedElement#isIsArray <em>Is Array</em>}</li> * </ul> * * @see org.sintef.thingml.ThingmlPackage#getTypedElement() * @model abstract="true" * @generated */ public interface TypedElement extends EObject { /** * 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(Type) * @see org.sintef.thingml.ThingmlPackage#getTypedElement_Type() * @model required="true" * @generated */ Type getType(); /** * Sets the value of the '{@link org.sintef.thingml.TypedElement#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(Type value); /** * Returns the value of the '<em><b>Cardinality</b></em>' containment reference. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Cardinality</em>' containment reference isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Cardinality</em>' containment reference. * @see #setCardinality(Expression) * @see org.sintef.thingml.ThingmlPackage#getTypedElement_Cardinality() * @model containment="true" * @generated */ Expression getCardinality(); /** * Sets the value of the '{@link org.sintef.thingml.TypedElement#getCardinality <em>Cardinality</em>}' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Cardinality</em>' containment reference. * @see #getCardinality() * @generated */ void setCardinality(Expression value); /** * Returns the value of the '<em><b>Is Array</b></em>' attribute. * The default value is <code>"true"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Is Array</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 Array</em>' attribute. * @see #setIsArray(boolean) * @see org.sintef.thingml.ThingmlPackage#getTypedElement_IsArray() * @model default="true" * @generated */ boolean isIsArray(); /** * Sets the value of the '{@link org.sintef.thingml.TypedElement#isIsArray <em>Is Array</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Is Array</em>' attribute. * @see #isIsArray() * @generated */ void setIsArray(boolean value); } // TypedElement