blob: 7a5db618fb32fbcb00d81e9e1bf8ee70bbd15421 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 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.eclipselink.core.resource.elorm;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Xml Basic</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.jpt.eclipselink.core.resource.elorm.XmlBasic#getFetch <em>Fetch</em>}</li>
* <li>{@link org.eclipse.jpt.eclipselink.core.resource.elorm.XmlBasic#getOptional <em>Optional</em>}</li>
* <li>{@link org.eclipse.jpt.eclipselink.core.resource.elorm.XmlBasic#isLob <em>Lob</em>}</li>
* <li>{@link org.eclipse.jpt.eclipselink.core.resource.elorm.XmlBasic#getTemporal <em>Temporal</em>}</li>
* <li>{@link org.eclipse.jpt.eclipselink.core.resource.elorm.XmlBasic#getEnumerated <em>Enumerated</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.jpt.eclipselink.core.resource.elorm.EclipseLinkOrmPackage#getXmlBasic()
* @model kind="class" interface="true" abstract="true"
* @generated
*/
public interface XmlBasic extends XmlAttributeMapping, ColumnMapping
{
/**
* Returns the value of the '<em><b>Fetch</b></em>' attribute.
* The default value is <code>"LAZY"</code>.
* The literals are from the enumeration {@link org.eclipse.jpt.eclipselink.core.resource.elorm.FetchType}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Fetch</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Fetch</em>' attribute.
* @see org.eclipse.jpt.eclipselink.core.resource.elorm.FetchType
* @see #setFetch(FetchType)
* @see org.eclipse.jpt.eclipselink.core.resource.elorm.EclipseLinkOrmPackage#getXmlBasic_Fetch()
* @model default="LAZY"
* @generated
*/
FetchType getFetch();
/**
* Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.elorm.XmlBasic#getFetch <em>Fetch</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Fetch</em>' attribute.
* @see org.eclipse.jpt.eclipselink.core.resource.elorm.FetchType
* @see #getFetch()
* @generated
*/
void setFetch(FetchType value);
/**
* Returns the value of the '<em><b>Optional</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Optional</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Optional</em>' attribute.
* @see #setOptional(Boolean)
* @see org.eclipse.jpt.eclipselink.core.resource.elorm.EclipseLinkOrmPackage#getXmlBasic_Optional()
* @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject"
* @generated
*/
Boolean getOptional();
/**
* Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.elorm.XmlBasic#getOptional <em>Optional</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Optional</em>' attribute.
* @see #getOptional()
* @generated
*/
void setOptional(Boolean value);
/**
* Returns the value of the '<em><b>Lob</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Lob</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Lob</em>' attribute.
* @see #setLob(boolean)
* @see org.eclipse.jpt.eclipselink.core.resource.elorm.EclipseLinkOrmPackage#getXmlBasic_Lob()
* @model dataType="org.eclipse.emf.ecore.xml.type.Boolean"
* @generated
*/
boolean isLob();
/**
* Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.elorm.XmlBasic#isLob <em>Lob</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Lob</em>' attribute.
* @see #isLob()
* @generated
*/
void setLob(boolean value);
/**
* Returns the value of the '<em><b>Temporal</b></em>' attribute.
* The literals are from the enumeration {@link org.eclipse.jpt.eclipselink.core.resource.elorm.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.eclipselink.core.resource.elorm.TemporalType
* @see #setTemporal(TemporalType)
* @see org.eclipse.jpt.eclipselink.core.resource.elorm.EclipseLinkOrmPackage#getXmlBasic_Temporal()
* @model
* @generated
*/
TemporalType getTemporal();
/**
* Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.elorm.XmlBasic#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.eclipselink.core.resource.elorm.TemporalType
* @see #getTemporal()
* @generated
*/
void setTemporal(TemporalType value);
/**
* Returns the value of the '<em><b>Enumerated</b></em>' attribute.
* The literals are from the enumeration {@link org.eclipse.jpt.eclipselink.core.resource.elorm.EnumType}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Enumerated</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Enumerated</em>' attribute.
* @see org.eclipse.jpt.eclipselink.core.resource.elorm.EnumType
* @see #setEnumerated(EnumType)
* @see org.eclipse.jpt.eclipselink.core.resource.elorm.EclipseLinkOrmPackage#getXmlBasic_Enumerated()
* @model
* @generated
*/
EnumType getEnumerated();
/**
* Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.elorm.XmlBasic#getEnumerated <em>Enumerated</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Enumerated</em>' attribute.
* @see org.eclipse.jpt.eclipselink.core.resource.elorm.EnumType
* @see #getEnumerated()
* @generated
*/
void setEnumerated(EnumType value);
} // XmlBasic