/**
* <copyright>
* </copyright>
*
* $Id: SequenceGenerator.java,v 1.5 2011/10/25 13:21:26 mtaal Exp $
*/
package org.eclipse.emf.texo.orm.annotations.model.orm;
import org.eclipse.emf.texo.orm.annotator.BaseOrmAnnotation;
/**
* <!-- begin-user-doc --> A representation of the model object '<em><b>Sequence Generator</b></em>'. <!-- end-user-doc
* -->
*
* <!-- begin-model-doc -->
*
*
* @Target({TYPE, METHOD, FIELD}) @Retention(RUNTIME) public @interface SequenceGenerator { String name(); String
* sequenceName() default ""; String catalog() default ""; String schema() default ""; int initialValue()
* default 1; int allocationSize() default 50; }
*
*
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.SequenceGenerator#getDescription <em>
* Description</em>}</li>
* <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.SequenceGenerator#getAllocationSize <em>
* Allocation Size</em>}</li>
* <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.SequenceGenerator#getCatalog <em>Catalog
* </em>}</li>
* <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.SequenceGenerator#getInitialValue <em>
* Initial Value</em>}</li>
* <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.SequenceGenerator#getName <em>Name</em>}</li>
* <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.SequenceGenerator#getSchema <em>Schema</em>}
* </li>
* <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.SequenceGenerator#getSequenceName <em>
* Sequence Name</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage#getSequenceGenerator()
* @model extendedMetaData="name='sequence-generator' kind='elementOnly'"
* @generated
*/
public interface SequenceGenerator extends BaseOrmAnnotation {
/**
* 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.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage#getSequenceGenerator_Description()
* @model dataType="org.eclipse.emf.ecore.xml.type.String"
* extendedMetaData="kind='element' name='description' namespace='##targetNamespace'"
* @generated
*/
String getDescription();
/**
* Sets the value of the '{@link org.eclipse.emf.texo.orm.annotations.model.orm.SequenceGenerator#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>Allocation Size</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Allocation Size</em>' attribute isn't clear, there really should be more of a
* description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Allocation Size</em>' attribute.
* @see #isSetAllocationSize()
* @see #unsetAllocationSize()
* @see #setAllocationSize(int)
* @see org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage#getSequenceGenerator_AllocationSize()
* @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Int"
* extendedMetaData="kind='attribute' name='allocation-size'"
* @generated
*/
int getAllocationSize();
/**
* Sets the value of the '{@link org.eclipse.emf.texo.orm.annotations.model.orm.SequenceGenerator#getAllocationSize <em>Allocation Size</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @param value the new value of the '<em>Allocation Size</em>' attribute.
* @see #isSetAllocationSize()
* @see #unsetAllocationSize()
* @see #getAllocationSize()
* @generated
*/
void setAllocationSize(int value);
/**
* Unsets the value of the '{@link org.eclipse.emf.texo.orm.annotations.model.orm.SequenceGenerator#getAllocationSize <em>Allocation Size</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #isSetAllocationSize()
* @see #getAllocationSize()
* @see #setAllocationSize(int)
* @generated
*/
void unsetAllocationSize();
/**
* Returns whether the value of the '{@link org.eclipse.emf.texo.orm.annotations.model.orm.SequenceGenerator#getAllocationSize <em>Allocation Size</em>}' attribute is set.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @return whether the value of the '<em>Allocation Size</em>' attribute is set.
* @see #unsetAllocationSize()
* @see #getAllocationSize()
* @see #setAllocationSize(int)
* @generated
*/
boolean isSetAllocationSize();
/**
* Returns the value of the '<em><b>Catalog</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Catalog</em>' attribute isn't clear, there really should be more of a description
* here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Catalog</em>' attribute.
* @see #setCatalog(String)
* @see org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage#getSequenceGenerator_Catalog()
* @model dataType="org.eclipse.emf.ecore.xml.type.String"
* extendedMetaData="kind='attribute' name='catalog'"
* @generated
*/
String getCatalog();
/**
* Sets the value of the '{@link org.eclipse.emf.texo.orm.annotations.model.orm.SequenceGenerator#getCatalog <em>Catalog</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @param value the new value of the '<em>Catalog</em>' attribute.
* @see #getCatalog()
* @generated
*/
void setCatalog(String value);
/**
* Returns the value of the '<em><b>Initial Value</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Initial Value</em>' attribute isn't clear, there really should be more of a description
* here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Initial Value</em>' attribute.
* @see #isSetInitialValue()
* @see #unsetInitialValue()
* @see #setInitialValue(int)
* @see org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage#getSequenceGenerator_InitialValue()
* @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Int"
* extendedMetaData="kind='attribute' name='initial-value'"
* @generated
*/
int getInitialValue();
/**
* Sets the value of the '{@link org.eclipse.emf.texo.orm.annotations.model.orm.SequenceGenerator#getInitialValue <em>Initial Value</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @param value the new value of the '<em>Initial Value</em>' attribute.
* @see #isSetInitialValue()
* @see #unsetInitialValue()
* @see #getInitialValue()
* @generated
*/
void setInitialValue(int value);
/**
* Unsets the value of the '{@link org.eclipse.emf.texo.orm.annotations.model.orm.SequenceGenerator#getInitialValue <em>Initial Value</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #isSetInitialValue()
* @see #getInitialValue()
* @see #setInitialValue(int)
* @generated
*/
void unsetInitialValue();
/**
* Returns whether the value of the '{@link org.eclipse.emf.texo.orm.annotations.model.orm.SequenceGenerator#getInitialValue <em>Initial Value</em>}' attribute is set.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @return whether the value of the '<em>Initial Value</em>' attribute is set.
* @see #unsetInitialValue()
* @see #getInitialValue()
* @see #setInitialValue(int)
* @generated
*/
boolean isSetInitialValue();
/**
* 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.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage#getSequenceGenerator_Name()
* @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
* extendedMetaData="kind='attribute' name='name'"
* @generated
*/
String getName();
/**
* Sets the value of the '{@link org.eclipse.emf.texo.orm.annotations.model.orm.SequenceGenerator#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>Schema</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Schema</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Schema</em>' attribute.
* @see #setSchema(String)
* @see org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage#getSequenceGenerator_Schema()
* @model dataType="org.eclipse.emf.ecore.xml.type.String"
* extendedMetaData="kind='attribute' name='schema'"
* @generated
*/
String getSchema();
/**
* Sets the value of the '{@link org.eclipse.emf.texo.orm.annotations.model.orm.SequenceGenerator#getSchema <em>Schema</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @param value the new value of the '<em>Schema</em>' attribute.
* @see #getSchema()
* @generated
*/
void setSchema(String value);
/**
* Returns the value of the '<em><b>Sequence Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Sequence 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>Sequence Name</em>' attribute.
* @see #setSequenceName(String)
* @see org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage#getSequenceGenerator_SequenceName()
* @model dataType="org.eclipse.emf.ecore.xml.type.String"
* extendedMetaData="kind='attribute' name='sequence-name'"
* @generated
*/
String getSequenceName();
/**
* Sets the value of the '{@link org.eclipse.emf.texo.orm.annotations.model.orm.SequenceGenerator#getSequenceName <em>Sequence Name</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @param value the new value of the '<em>Sequence Name</em>' attribute.
* @see #getSequenceName()
* @generated
*/
void setSequenceName(String value);
} // SequenceGenerator