org.openxma.dsl.dom.model.Dao Maven / Gradle / Ivy
/**
*
*
*
* $Id$
*/
package org.openxma.dsl.dom.model;
import java.util.Collection;
import org.eclipse.emf.common.util.EList;
import org.openxma.dsl.core.model.ModelElement;
/**
*
* A representation of the model object 'Dao'.
*
*
*
* The following features are supported:
*
* - {@link org.openxma.dsl.dom.model.Dao#getEntity Entity}
* - {@link org.openxma.dsl.dom.model.Dao#getTableName Table Name}
* - {@link org.openxma.dsl.dom.model.Dao#getDiscriminator Discriminator}
* - {@link org.openxma.dsl.dom.model.Dao#getQualifier Qualifier}
* - {@link org.openxma.dsl.dom.model.Dao#getOperations Operations}
* - {@link org.openxma.dsl.dom.model.Dao#getQueryOperation Query Operation}
* - {@link org.openxma.dsl.dom.model.Dao#getDataBaseConstraints Data Base Constraints}
* - {@link org.openxma.dsl.dom.model.Dao#getColumns Columns}
* - {@link org.openxma.dsl.dom.model.Dao#getManyToOneAssociations Many To One Associations}
* - {@link org.openxma.dsl.dom.model.Dao#getOneToOneAssociations One To One Associations}
* - {@link org.openxma.dsl.dom.model.Dao#getOneToManyAssociations One To Many Associations}
* - {@link org.openxma.dsl.dom.model.Dao#getManyToManyAssociations Many To Many Associations}
* - {@link org.openxma.dsl.dom.model.Dao#getPrimaryKeyColumn Primary Key Column}
* - {@link org.openxma.dsl.dom.model.Dao#getNaturalKeyColumns Natural Key Columns}
* - {@link org.openxma.dsl.dom.model.Dao#getVersionColumn Version Column}
* - {@link org.openxma.dsl.dom.model.Dao#getPrimaryKey Primary Key}
* - {@link org.openxma.dsl.dom.model.Dao#getNaturalKey Natural Key}
*
*
*
* @see org.openxma.dsl.dom.DomPackage#getDao()
* @model
* @generated
*/
public interface Dao extends ModelElement, Dependant {
/**
* Returns the value of the 'Entity' reference.
*
*
* If the meaning of the 'Entity' reference isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Entity' reference.
* @see #setEntity(Entity)
* @see org.openxma.dsl.dom.DomPackage#getDao_Entity()
* @model
* @generated
*/
Entity getEntity();
/**
* Sets the value of the '{@link org.openxma.dsl.dom.model.Dao#getEntity Entity}' reference.
*
*
* @param value the new value of the 'Entity' reference.
* @see #getEntity()
* @generated
*/
void setEntity(Entity value);
/**
* Returns the value of the 'Table Name' attribute.
*
*
* If the meaning of the 'Table Name' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Table Name' attribute.
* @see #setTableName(String)
* @see org.openxma.dsl.dom.DomPackage#getDao_TableName()
* @model
* @generated
*/
String getTableName();
/**
* Sets the value of the '{@link org.openxma.dsl.dom.model.Dao#getTableName Table Name}' attribute.
*
*
* @param value the new value of the 'Table Name' attribute.
* @see #getTableName()
* @generated
*/
void setTableName(String value);
/**
* Returns the value of the 'Discriminator' attribute.
*
*
* If the meaning of the 'Discriminator' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Discriminator' attribute.
* @see #setDiscriminator(String)
* @see org.openxma.dsl.dom.DomPackage#getDao_Discriminator()
* @model
* @generated
*/
String getDiscriminator();
/**
* Sets the value of the '{@link org.openxma.dsl.dom.model.Dao#getDiscriminator Discriminator}' attribute.
*
*
* @param value the new value of the 'Discriminator' attribute.
* @see #getDiscriminator()
* @generated
*/
void setDiscriminator(String value);
/**
* Returns the value of the 'Qualifier' attribute.
*
*
* If the meaning of the 'Qualifier' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Qualifier' attribute.
* @see #setQualifier(String)
* @see org.openxma.dsl.dom.DomPackage#getDao_Qualifier()
* @model
* @generated
*/
String getQualifier();
/**
* Sets the value of the '{@link org.openxma.dsl.dom.model.Dao#getQualifier Qualifier}' attribute.
*
*
* @param value the new value of the 'Qualifier' attribute.
* @see #getQualifier()
* @generated
*/
void setQualifier(String value);
/**
* Returns the value of the 'Data Base Constraints' containment reference list.
* The list contents are of type {@link org.openxma.dsl.dom.model.DataBaseConstraint}.
*
*
* If the meaning of the 'Data Base Constraints' containment reference list isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Data Base Constraints' containment reference list.
* @see org.openxma.dsl.dom.DomPackage#getDao_DataBaseConstraints()
* @model containment="true"
* @generated
*/
EList getDataBaseConstraints();
/**
* Returns the value of the 'Operations' containment reference list.
* The list contents are of type {@link org.openxma.dsl.dom.model.Operation}.
*
*
* If the meaning of the 'Operations' containment reference list isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Operations' containment reference list.
* @see org.openxma.dsl.dom.DomPackage#getDao_Operations()
* @model containment="true"
* @generated
*/
EList getOperations();
/**
* Returns the value of the 'Query Operation' containment reference list.
* The list contents are of type {@link org.openxma.dsl.dom.model.QueryOperation}.
*
*
* If the meaning of the 'Query Operation' containment reference list isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Query Operation' containment reference list.
* @see org.openxma.dsl.dom.DomPackage#getDao_QueryOperation()
* @model containment="true"
* @generated
*/
EList getQueryOperation();
/**
* Returns the value of the 'Columns' containment reference list.
* The list contents are of type {@link org.openxma.dsl.dom.model.Column}.
*
*
* If the meaning of the 'Columns' containment reference list isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Columns' containment reference list.
* @see org.openxma.dsl.dom.DomPackage#getDao_Columns()
* @model containment="true"
* @generated
*/
EList getColumns();
/**
* Returns the value of the 'Many To One Associations' containment reference list.
* The list contents are of type {@link org.openxma.dsl.dom.model.ManyToOne}.
*
*
* If the meaning of the 'Many To One Associations' containment reference list isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Many To One Associations' containment reference list.
* @see org.openxma.dsl.dom.DomPackage#getDao_ManyToOneAssociations()
* @model containment="true"
* @generated
*/
EList getManyToOneAssociations();
/**
* Returns the value of the 'One To One Associations' containment reference list.
* The list contents are of type {@link org.openxma.dsl.dom.model.OneToOne}.
*
*
* If the meaning of the 'One To One Associations' containment reference list isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'One To One Associations' containment reference list.
* @see org.openxma.dsl.dom.DomPackage#getDao_OneToOneAssociations()
* @model containment="true"
* @generated
*/
EList getOneToOneAssociations();
/**
* Returns the value of the 'One To Many Associations' containment reference list.
* The list contents are of type {@link org.openxma.dsl.dom.model.OneToMany}.
*
*
* If the meaning of the 'One To Many Associations' containment reference list isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'One To Many Associations' containment reference list.
* @see org.openxma.dsl.dom.DomPackage#getDao_OneToManyAssociations()
* @model containment="true"
* @generated
*/
EList getOneToManyAssociations();
/**
* Returns the value of the 'Many To Many Associations' containment reference list.
* The list contents are of type {@link org.openxma.dsl.dom.model.ManyToMany}.
*
*
* If the meaning of the 'Many To Many Associations' containment reference list isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Many To Many Associations' containment reference list.
* @see org.openxma.dsl.dom.DomPackage#getDao_ManyToManyAssociations()
* @model containment="true"
* @generated
*/
EList getManyToManyAssociations();
/**
* Returns the value of the 'Primary Key Column' reference.
*
*
* If the meaning of the 'Primary Key Column' reference isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Primary Key Column' reference.
* @see org.openxma.dsl.dom.DomPackage#getDao_PrimaryKeyColumn()
* @model resolveProxies="false" transient="true" changeable="false" volatile="true" derived="true"
* @generated
*/
Column getPrimaryKeyColumn();
/**
* Returns the value of the 'Natural Key Columns' reference list.
* The list contents are of type {@link org.openxma.dsl.dom.model.Column}.
*
*
* If the meaning of the 'Natural Key Columns' reference list isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Natural Key Columns' reference list.
* @see org.openxma.dsl.dom.DomPackage#getDao_NaturalKeyColumns()
* @model resolveProxies="false" transient="true" changeable="false" volatile="true" derived="true"
* @generated
*/
EList getNaturalKeyColumns();
/**
* Returns the value of the 'Version Column' reference.
*
*
* If the meaning of the 'Version Column' reference isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Version Column' reference.
* @see org.openxma.dsl.dom.DomPackage#getDao_VersionColumn()
* @model resolveProxies="false" transient="true" changeable="false" volatile="true" derived="true"
* @generated
*/
Column getVersionColumn();
/**
* Returns the value of the 'Primary Key' reference.
*
*
* If the meaning of the 'Primary Key' reference isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Primary Key' reference.
* @see org.openxma.dsl.dom.DomPackage#getDao_PrimaryKey()
* @model resolveProxies="false" transient="true" changeable="false" volatile="true" derived="true"
* @generated
*/
DataBaseConstraint getPrimaryKey();
/**
* Returns the value of the 'Natural Key' reference.
*
*
* If the meaning of the 'Natural Key' reference isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Natural Key' reference.
* @see org.openxma.dsl.dom.DomPackage#getDao_NaturalKey()
* @model resolveProxies="false" transient="true" changeable="false" volatile="true" derived="true"
* @generated
*/
DataBaseConstraint getNaturalKey();
/**
* @generated NOT
*/
public Column getColumnDefinition(Attribute attribute);
/**
* @generated NOT
*/
public OneToMany getOneToMany(Attribute structuralFeature);
/**
* @generated NOT
*/
public ManyToMany getManyToMany(Attribute structuralFeature);
/**
* @generated NOT
*/
public ManyToOne getManyToOne(Attribute structuralFeature);
/**
* @generated NOT
*/
public OneToOne getOneToOne(Attribute structuralFeature);
/**
* @generated NOT
*/
public Collection getDataBaseConstraintByType(final DataBaseConstraintType type);
} // Dao