001/**
002 * ******************************************************************************
003 * Copyright (c) 2018 Red Hat Inc
004 * All rights reserved. This program and the accompanying materials
005 * are made available under the terms of the Eclipse Public License v1.0
006 * which accompanies this distribution, and is available at
007 * http://www.eclipse.org/legal/epl-v10.html
008 *  *
009 * Contributors:
010 *     Jens Reimann - initial API and implementation
011 *  ******************************************************************************
012 */
013package de.dentrassi.varlink.idl.varlinkIdl;
014
015
016/**
017 * <!-- begin-user-doc -->
018 * A representation of the model object '<em><b>Optional</b></em>'.
019 * <!-- end-user-doc -->
020 *
021 * <p>
022 * The following features are supported:
023 * </p>
024 * <ul>
025 *   <li>{@link de.dentrassi.varlink.idl.varlinkIdl.Optional#getType <em>Type</em>}</li>
026 * </ul>
027 *
028 * @see de.dentrassi.varlink.idl.varlinkIdl.VarlinkIdlPackage#getOptional()
029 * @model
030 * @generated
031 */
032public interface Optional extends ElementType
033{
034  /**
035   * Returns the value of the '<em><b>Type</b></em>' containment reference.
036   * <!-- begin-user-doc -->
037   * <p>
038   * If the meaning of the '<em>Type</em>' containment reference isn't clear,
039   * there really should be more of a description here...
040   * </p>
041   * <!-- end-user-doc -->
042   * @return the value of the '<em>Type</em>' containment reference.
043   * @see #setType(ElementType)
044   * @see de.dentrassi.varlink.idl.varlinkIdl.VarlinkIdlPackage#getOptional_Type()
045   * @model containment="true"
046   * @generated
047   */
048  ElementType getType();
049
050  /**
051   * Sets the value of the '{@link de.dentrassi.varlink.idl.varlinkIdl.Optional#getType <em>Type</em>}' containment reference.
052   * <!-- begin-user-doc -->
053   * <!-- end-user-doc -->
054   * @param value the new value of the '<em>Type</em>' containment reference.
055   * @see #getType()
056   * @generated
057   */
058  void setType(ElementType value);
059
060} // Optional