blob: c56d38c1d9f061d840d84e9b9d10d4ed16ea7c6d [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2007, 2008 Oracle. 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:
* Oracle - initial API and implementation
******************************************************************************/
package org.eclipse.jpt.core.resource.orm;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Id</b></em>'.
*
* Provisional API: This interface is part of an interim API that is still
* under development and expected to change significantly before reaching
* stability. It is available at this early stage to solicit feedback from
* pioneering adopters on the understanding that any code that uses this API
* will almost certainly be broken (repeatedly) as the API evolves.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.jpt.core.resource.orm.XmlId#getGeneratedValue <em>Generated Value</em>}</li>
* <li>{@link org.eclipse.jpt.core.resource.orm.XmlId#getTemporal <em>Temporal</em>}</li>
* <li>{@link org.eclipse.jpt.core.resource.orm.XmlId#getTableGenerator <em>Table Generator</em>}</li>
* <li>{@link org.eclipse.jpt.core.resource.orm.XmlId#getSequenceGenerator <em>Sequence Generator</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.jpt.core.resource.orm.OrmPackage#getXmlId()
* @model kind="class" interface="true" abstract="true"
* @generated
*/
public interface XmlId extends XmlAttributeMapping, ColumnMapping
{
/**
* Returns the value of the '<em><b>Generated Value</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Generated Value</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Generated Value</em>' containment reference.
* @see #setGeneratedValue(XmlGeneratedValue)
* @see org.eclipse.jpt.core.resource.orm.OrmPackage#getXmlId_GeneratedValue()
* @model containment="true"
* @generated
*/
XmlGeneratedValue getGeneratedValue();
/**
* Sets the value of the '{@link org.eclipse.jpt.core.resource.orm.XmlId#getGeneratedValue <em>Generated Value</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Generated Value</em>' containment reference.
* @see #getGeneratedValue()
* @generated
*/
void setGeneratedValue(XmlGeneratedValue value);
/**
* Returns the value of the '<em><b>Temporal</b></em>' attribute.
* The literals are from the enumeration {@link org.eclipse.jpt.core.resource.orm.TemporalType}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Temporal</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Temporal</em>' attribute.
* @see org.eclipse.jpt.core.resource.orm.TemporalType
* @see #setTemporal(TemporalType)
* @see org.eclipse.jpt.core.resource.orm.OrmPackage#getXmlId_Temporal()
* @model
* @generated
*/
TemporalType getTemporal();
/**
* Sets the value of the '{@link org.eclipse.jpt.core.resource.orm.XmlId#getTemporal <em>Temporal</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Temporal</em>' attribute.
* @see org.eclipse.jpt.core.resource.orm.TemporalType
* @see #getTemporal()
* @generated
*/
void setTemporal(TemporalType value);
/**
* Returns the value of the '<em><b>Table Generator</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Table Generator</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Table Generator</em>' containment reference.
* @see #setTableGenerator(XmlTableGenerator)
* @see org.eclipse.jpt.core.resource.orm.OrmPackage#getXmlId_TableGenerator()
* @model containment="true"
* @generated
*/
XmlTableGenerator getTableGenerator();
/**
* Sets the value of the '{@link org.eclipse.jpt.core.resource.orm.XmlId#getTableGenerator <em>Table Generator</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Table Generator</em>' containment reference.
* @see #getTableGenerator()
* @generated
*/
void setTableGenerator(XmlTableGenerator value);
/**
* Returns the value of the '<em><b>Sequence Generator</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Sequence Generator</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Sequence Generator</em>' containment reference.
* @see #setSequenceGenerator(XmlSequenceGenerator)
* @see org.eclipse.jpt.core.resource.orm.OrmPackage#getXmlId_SequenceGenerator()
* @model containment="true"
* @generated
*/
XmlSequenceGenerator getSequenceGenerator();
/**
* Sets the value of the '{@link org.eclipse.jpt.core.resource.orm.XmlId#getSequenceGenerator <em>Sequence Generator</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Sequence Generator</em>' containment reference.
* @see #getSequenceGenerator()
* @generated
*/
void setSequenceGenerator(XmlSequenceGenerator value);
} // Id