/**
* Copyright (c) 2015-2016 Obeo, Inria
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* - William Piers <william.piers@obeo.fr>
* - Philippe Merle <philippe.merle@inria.fr>
*/
package org.occiware.clouddesigner.occi;
import org.eclipse.emf.ecore.EDataType;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Attribute</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.occiware.clouddesigner.occi.Attribute#getName <em>Name</em>}</li>
* <li>{@link org.occiware.clouddesigner.occi.Attribute#isMutable <em>Mutable</em>}</li>
* <li>{@link org.occiware.clouddesigner.occi.Attribute#isRequired <em>Required</em>}</li>
* <li>{@link org.occiware.clouddesigner.occi.Attribute#getDefault <em>Default</em>}</li>
* <li>{@link org.occiware.clouddesigner.occi.Attribute#getDescription <em>Description</em>}</li>
* <li>{@link org.occiware.clouddesigner.occi.Attribute#getType <em>Type</em>}</li>
* <li>{@link org.occiware.clouddesigner.occi.Attribute#isMultiple_values <em>Multiple values</em>}</li>
* </ul>
*
* @see org.occiware.clouddesigner.occi.OCCIPackage#getAttribute()
* @model
* @generated
*/
public interface Attribute extends EObject {
/**
* 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.occiware.clouddesigner.occi.OCCIPackage#getAttribute_Name()
* @model dataType="org.occiware.clouddesigner.occi.String" required="true"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://schemas.ogf.org/occi/core/ecore!Attribute!name'"
* @generated
*/
String getName();
/**
* Sets the value of the '{@link org.occiware.clouddesigner.occi.Attribute#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);
/**
* Returns the value of the '<em><b>Mutable</b></em>' attribute.
* The default value is <code>"true"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Mutable</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Mutable</em>' attribute.
* @see #setMutable(boolean)
* @see org.occiware.clouddesigner.occi.OCCIPackage#getAttribute_Mutable()
* @model default="true" dataType="org.occiware.clouddesigner.occi.Boolean"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://schemas.ogf.org/occi/core/ecore!Attribute!mutable'"
* @generated
*/
boolean isMutable();
/**
* Sets the value of the '{@link org.occiware.clouddesigner.occi.Attribute#isMutable <em>Mutable</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Mutable</em>' attribute.
* @see #isMutable()
* @generated
*/
void setMutable(boolean value);
/**
* Returns the value of the '<em><b>Required</b></em>' attribute.
* <!-- 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 #setRequired(boolean)
* @see org.occiware.clouddesigner.occi.OCCIPackage#getAttribute_Required()
* @model dataType="org.occiware.clouddesigner.occi.Boolean"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://schemas.ogf.org/occi/core/ecore!Attribute!required'"
* @generated
*/
boolean isRequired();
/**
* Sets the value of the '{@link org.occiware.clouddesigner.occi.Attribute#isRequired <em>Required</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Required</em>' attribute.
* @see #isRequired()
* @generated
*/
void setRequired(boolean value);
/**
* Returns the value of the '<em><b>Default</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Default</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Default</em>' attribute.
* @see #setDefault(String)
* @see org.occiware.clouddesigner.occi.OCCIPackage#getAttribute_Default()
* @model dataType="org.occiware.clouddesigner.occi.String"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://schemas.ogf.org/occi/core/ecore!Attribute!default'"
* @generated
*/
String getDefault();
/**
* Sets the value of the '{@link org.occiware.clouddesigner.occi.Attribute#getDefault <em>Default</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Default</em>' attribute.
* @see #getDefault()
* @generated
*/
void setDefault(String value);
/**
* Returns the value of the '<em><b>Description</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Description</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Description</em>' attribute.
* @see #setDescription(String)
* @see org.occiware.clouddesigner.occi.OCCIPackage#getAttribute_Description()
* @model dataType="org.occiware.clouddesigner.occi.String"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://schemas.ogf.org/occi/core/ecore!Attribute!description'"
* @generated
*/
String getDescription();
/**
* Sets the value of the '{@link org.occiware.clouddesigner.occi.Attribute#getDescription <em>Description</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Description</em>' attribute.
* @see #getDescription()
* @generated
*/
void setDescription(String value);
/**
* 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(EDataType)
* @see org.occiware.clouddesigner.occi.OCCIPackage#getAttribute_Type()
* @model annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://schemas.ogf.org/occi/core/ecore!Attribute!type'"
* @generated
*/
EDataType getType();
/**
* Sets the value of the '{@link org.occiware.clouddesigner.occi.Attribute#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(EDataType value);
/**
* Returns the value of the '<em><b>Multiple values</b></em>' attribute.
* The default value is <code>"false"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Multiple values</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Multiple values</em>' attribute.
* @see #setMultiple_values(boolean)
* @see org.occiware.clouddesigner.occi.OCCIPackage#getAttribute_Multiple_values()
* @model default="false" dataType="org.occiware.clouddesigner.occi.Boolean"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://schemas.ogf.org/occi/core/ecore!Attribute!multiple_values'"
* @generated
*/
boolean isMultiple_values();
/**
* Sets the value of the '{@link org.occiware.clouddesigner.occi.Attribute#isMultiple_values <em>Multiple values</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Multiple values</em>' attribute.
* @see #isMultiple_values()
* @generated
*/
void setMultiple_values(boolean value);
} // Attribute