/** * <copyright> * </copyright> * * $Id$ */ package org.jboss.tools.smooks.model.medi; import org.eclipse.emf.common.util.EList; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Field</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link org.jboss.tools.smooks.model.medi.Field#getComponent <em>Component</em>}</li> * <li>{@link org.jboss.tools.smooks.model.medi.Field#isRequired <em>Required</em>}</li> * <li>{@link org.jboss.tools.smooks.model.medi.Field#isTruncatable <em>Truncatable</em>}</li> * </ul> * </p> * * @see org.jboss.tools.smooks.model.medi.MEdiPackage#getField() * @model extendedMetaData="name='Field' kind='elementOnly'" * @generated */ public interface Field extends MappingNode { /** * Returns the value of the '<em><b>Component</b></em>' containment reference list. * The list contents are of type {@link org.jboss.tools.smooks.model.medi.Component}. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Component</em>' containment reference list isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Component</em>' containment reference list. * @see org.jboss.tools.smooks.model.medi.MEdiPackage#getField_Component() * @model containment="true" * extendedMetaData="kind='element' name='component' namespace='##targetNamespace'" * @generated */ EList<Component> getComponent(); /** * Returns the value of the '<em><b>Required</b></em>' attribute. * The default value is <code>"false"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Required</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Required</em>' attribute. * @see #isSetRequired() * @see #unsetRequired() * @see #setRequired(boolean) * @see org.jboss.tools.smooks.model.medi.MEdiPackage#getField_Required() * @model default="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean" * extendedMetaData="kind='attribute' name='required'" * @generated */ boolean isRequired(); /** * Sets the value of the '{@link org.jboss.tools.smooks.model.medi.Field#isRequired <em>Required</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Required</em>' attribute. * @see #isSetRequired() * @see #unsetRequired() * @see #isRequired() * @generated */ void setRequired(boolean value); /** * Unsets the value of the '{@link org.jboss.tools.smooks.model.medi.Field#isRequired <em>Required</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see #isSetRequired() * @see #isRequired() * @see #setRequired(boolean) * @generated */ void unsetRequired(); /** * Returns whether the value of the '{@link org.jboss.tools.smooks.model.medi.Field#isRequired <em>Required</em>}' attribute is set. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return whether the value of the '<em>Required</em>' attribute is set. * @see #unsetRequired() * @see #isRequired() * @see #setRequired(boolean) * @generated */ boolean isSetRequired(); /** * Returns the value of the '<em><b>Truncatable</b></em>' attribute. * The default value is <code>"false"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Truncatable</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Truncatable</em>' attribute. * @see #isSetTruncatable() * @see #unsetTruncatable() * @see #setTruncatable(boolean) * @see org.jboss.tools.smooks.model.medi.MEdiPackage#getField_Truncatable() * @model default="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean" * extendedMetaData="kind='attribute' name='truncatable'" * @generated */ boolean isTruncatable(); /** * Sets the value of the '{@link org.jboss.tools.smooks.model.medi.Field#isTruncatable <em>Truncatable</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Truncatable</em>' attribute. * @see #isSetTruncatable() * @see #unsetTruncatable() * @see #isTruncatable() * @generated */ void setTruncatable(boolean value); /** * Unsets the value of the '{@link org.jboss.tools.smooks.model.medi.Field#isTruncatable <em>Truncatable</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see #isSetTruncatable() * @see #isTruncatable() * @see #setTruncatable(boolean) * @generated */ void unsetTruncatable(); /** * Returns whether the value of the '{@link org.jboss.tools.smooks.model.medi.Field#isTruncatable <em>Truncatable</em>}' attribute is set. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return whether the value of the '<em>Truncatable</em>' attribute is set. * @see #unsetTruncatable() * @see #isTruncatable() * @see #setTruncatable(boolean) * @generated */ boolean isSetTruncatable(); } // Field