/** */ package org.w3.xlink; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.util.FeatureMap; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Resource Type</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link org.w3.xlink.ResourceType#getLabel <em>Label</em>}</li> * <li>{@link org.w3.xlink.ResourceType#getRole <em>Role</em>}</li> * <li>{@link org.w3.xlink.ResourceType#getTitle <em>Title</em>}</li> * <li>{@link org.w3.xlink.ResourceType#getType <em>Type</em>}</li> * <li>{@link org.w3.xlink.ResourceType#getContents <em>Contents</em>}</li> * </ul> * </p> * * @see org.w3.xlink.XlinkPackage#getResourceType() * @model extendedMetaData="name='resourceType' kind='mixed'" * @generated */ public interface ResourceType extends EObject { /** * Returns the value of the '<em><b>Label</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Label</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Label</em>' attribute. * @see #setLabel(String) * @see org.w3.xlink.XlinkPackage#getResourceType_Label() * @model dataType="org.w3.xlink.LabelType" * extendedMetaData="kind='attribute' name='label' namespace='##targetNamespace'" * @generated */ String getLabel(); /** * Sets the value of the '{@link org.w3.xlink.ResourceType#getLabel <em>Label</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Label</em>' attribute. * @see #getLabel() * @generated */ void setLabel(String value); /** * Returns the value of the '<em><b>Role</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Role</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Role</em>' attribute. * @see #setRole(String) * @see org.w3.xlink.XlinkPackage#getResourceType_Role() * @model dataType="org.w3.xlink.RoleType" * extendedMetaData="kind='attribute' name='role' namespace='##targetNamespace'" * @generated */ String getRole(); /** * Sets the value of the '{@link org.w3.xlink.ResourceType#getRole <em>Role</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Role</em>' attribute. * @see #getRole() * @generated */ void setRole(String value); /** * Returns the value of the '<em><b>Title</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Title</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Title</em>' attribute. * @see #setTitle(String) * @see org.w3.xlink.XlinkPackage#getResourceType_Title() * @model dataType="org.w3.xlink.TitleAttrType" * extendedMetaData="kind='attribute' name='title' namespace='##targetNamespace'" * @generated */ String getTitle(); /** * Sets the value of the '{@link org.w3.xlink.ResourceType#getTitle <em>Title</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Title</em>' attribute. * @see #getTitle() * @generated */ void setTitle(String value); /** * Returns the value of the '<em><b>Type</b></em>' attribute. * The default value is <code>"resource"</code>. * The literals are from the enumeration {@link org.w3.xlink.TypeType}. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Type</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Type</em>' attribute. * @see org.w3.xlink.TypeType * @see #isSetType() * @see #unsetType() * @see #setType(TypeType) * @see org.w3.xlink.XlinkPackage#getResourceType_Type() * @model default="resource" unsettable="true" required="true" * extendedMetaData="kind='attribute' name='type' namespace='##targetNamespace'" * @generated */ TypeType getType(); /** * Sets the value of the '{@link org.w3.xlink.ResourceType#getType <em>Type</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Type</em>' attribute. * @see org.w3.xlink.TypeType * @see #isSetType() * @see #unsetType() * @see #getType() * @generated */ void setType(TypeType value); /** * Unsets the value of the '{@link org.w3.xlink.ResourceType#getType <em>Type</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see #isSetType() * @see #getType() * @see #setType(TypeType) * @generated */ void unsetType(); /** * Returns whether the value of the '{@link org.w3.xlink.ResourceType#getType <em>Type</em>}' attribute is set. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return whether the value of the '<em>Type</em>' attribute is set. * @see #unsetType() * @see #getType() * @see #setType(TypeType) * @generated */ boolean isSetType(); /** * @model type="java.lang.Object" containment="false" transient="true" changeable="false" volatile="true" derived="true" * extendedMetaData="kind='element' name='contents' namespace='##targetNamespace' */ EList getContents(); } // ResourceType