org.openxma.dsl.dom.model.impl.DomFactoryImpl Maven / Gradle / Ivy
/**
*
*
*
* $Id: DomFactoryImpl.java 10224 2013-01-04 15:48:48Z dschwarz $
*/
package org.openxma.dsl.dom.model.impl;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EDataType;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.impl.EFactoryImpl;
import org.eclipse.emf.ecore.plugin.EcorePlugin;
import org.openxma.dsl.dom.DomFactory;
import org.openxma.dsl.dom.DomPackage;
import org.openxma.dsl.dom.model.*;
import org.openxma.dsl.dom.model.AggregateFunction;
import org.openxma.dsl.dom.model.AliasedExpression;
import org.openxma.dsl.dom.model.AltWhenClause;
import org.openxma.dsl.dom.model.ApplicationSession;
import org.openxma.dsl.dom.model.Attribute;
import org.openxma.dsl.dom.model.AttributeFlag;
import org.openxma.dsl.dom.model.AttributeGroup;
import org.openxma.dsl.dom.model.AttributeProperty;
import org.openxma.dsl.dom.model.AttributeSortOrder;
import org.openxma.dsl.dom.model.AttributeTextProperty;
import org.openxma.dsl.dom.model.AttributeValidationProperty;
import org.openxma.dsl.dom.model.AvailableFlag;
import org.openxma.dsl.dom.model.BetweenExpression;
import org.openxma.dsl.dom.model.BinaryExpression;
import org.openxma.dsl.dom.model.BooleanLiteralValue;
import org.openxma.dsl.dom.model.CallInputParameter;
import org.openxma.dsl.dom.model.CallOutputParameter;
import org.openxma.dsl.dom.model.CallableStatement;
import org.openxma.dsl.dom.model.CaseExpression;
import org.openxma.dsl.dom.model.CastFunction;
import org.openxma.dsl.dom.model.CollectionFunction;
import org.openxma.dsl.dom.model.Column;
import org.openxma.dsl.dom.model.CrudOperationType;
import org.openxma.dsl.dom.model.Dao;
import org.openxma.dsl.dom.model.DaoOperation;
import org.openxma.dsl.dom.model.DataBaseConstraint;
import org.openxma.dsl.dom.model.DataBaseConstraintType;
import org.openxma.dsl.dom.model.DataView;
import org.openxma.dsl.dom.model.DelegateOperation;
import org.openxma.dsl.dom.model.DeleteStatement;
import org.openxma.dsl.dom.model.DerivedFlag;
import org.openxma.dsl.dom.model.EmptyLiteralValue;
import org.openxma.dsl.dom.model.Entity;
import org.openxma.dsl.dom.model.Expression;
import org.openxma.dsl.dom.model.ExpressionFlag;
import org.openxma.dsl.dom.model.FeatureReference;
import org.openxma.dsl.dom.model.FromClass;
import org.openxma.dsl.dom.model.FromRange;
import org.openxma.dsl.dom.model.FunctionCall;
import org.openxma.dsl.dom.model.IElementWithNoName;
import org.openxma.dsl.dom.model.InClass;
import org.openxma.dsl.dom.model.InCollection;
import org.openxma.dsl.dom.model.InCollectionElements;
import org.openxma.dsl.dom.model.InExpression;
import org.openxma.dsl.dom.model.InsertStatement;
import org.openxma.dsl.dom.model.IntegerLiteralValue;
import org.openxma.dsl.dom.model.Join;
import org.openxma.dsl.dom.model.JoinEntity;
import org.openxma.dsl.dom.model.LikeExpression;
import org.openxma.dsl.dom.model.LiteralValue;
import org.openxma.dsl.dom.model.ManyToMany;
import org.openxma.dsl.dom.model.ManyToOne;
import org.openxma.dsl.dom.model.Mapper;
import org.openxma.dsl.dom.model.MemberOfExpression;
import org.openxma.dsl.dom.model.NotExpression;
import org.openxma.dsl.dom.model.NullLiteralValue;
import org.openxma.dsl.dom.model.OneToMany;
import org.openxma.dsl.dom.model.OneToOne;
import org.openxma.dsl.dom.model.Operation;
import org.openxma.dsl.dom.model.Parameter;
import org.openxma.dsl.dom.model.ParenthesizedExpression;
import org.openxma.dsl.dom.model.Property;
import org.openxma.dsl.dom.model.PropertyAssignment;
import org.openxma.dsl.dom.model.PropertyMapping;
import org.openxma.dsl.dom.model.PropertyValue;
import org.openxma.dsl.dom.model.QlStatement;
import org.openxma.dsl.dom.model.QuantifiedExpression;
import org.openxma.dsl.dom.model.QueryOperation;
import org.openxma.dsl.dom.model.QueryParameter;
import org.openxma.dsl.dom.model.QueryParameterReference;
import org.openxma.dsl.dom.model.QueryParameterValue;
import org.openxma.dsl.dom.model.ReadOnlyFlag;
import org.openxma.dsl.dom.model.RealLiteralValue;
import org.openxma.dsl.dom.model.RequiredFlag;
import org.openxma.dsl.dom.model.SelectClass;
import org.openxma.dsl.dom.model.SelectObject;
import org.openxma.dsl.dom.model.SelectProperties;
import org.openxma.dsl.dom.model.SelectStatement;
import org.openxma.dsl.dom.model.Service;
import org.openxma.dsl.dom.model.SortOrderElement;
import org.openxma.dsl.dom.model.StringLiteralValue;
import org.openxma.dsl.dom.model.SubQuery;
import org.openxma.dsl.dom.model.TransientFlag;
import org.openxma.dsl.dom.model.TrimFunction;
import org.openxma.dsl.dom.model.UnaryExpression;
import org.openxma.dsl.dom.model.UpdateStatement;
import org.openxma.dsl.dom.model.ValueObject;
import org.openxma.dsl.dom.model.WhenClause;
/**
*
* An implementation of the model Factory.
*
* @generated
*/
public class DomFactoryImpl extends EFactoryImpl implements DomFactory {
/**
* Creates the default factory implementation.
*
*
* @generated
*/
public static DomFactory init() {
try {
DomFactory theDomFactory = (DomFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.openxma.org/dsl/dom/DomDsl");
if (theDomFactory != null) {
return theDomFactory;
}
}
catch (Exception exception) {
EcorePlugin.INSTANCE.log(exception);
}
return new DomFactoryImpl();
}
/**
* Creates an instance of the factory.
*
*
* @generated
*/
public DomFactoryImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
public EObject create(EClass eClass) {
switch (eClass.getClassifierID()) {
case DomPackage.SERVICE: return createService();
case DomPackage.PROPERTY: return createProperty();
case DomPackage.OPERATION: return createOperation();
case DomPackage.PARAMETER: return createParameter();
case DomPackage.DELEGATE_OPERATION: return createDelegateOperation();
case DomPackage.DAO_OPERATION: return createDaoOperation();
case DomPackage.VALUE_OBJECT: return createValueObject();
case DomPackage.DATA_VIEW: return createDataView();
case DomPackage.FEATURE_REFERENCE: return createFeatureReference();
case DomPackage.MAPPER: return createMapper();
case DomPackage.PROPERTY_MAPPING: return createPropertyMapping();
case DomPackage.ENTITY: return createEntity();
case DomPackage.ATTRIBUTE: return createAttribute();
case DomPackage.ATTRIBUTE_FLAG: return createAttributeFlag();
case DomPackage.EXPRESSION_FLAG: return createExpressionFlag();
case DomPackage.REQUIRED_FLAG: return createRequiredFlag();
case DomPackage.READ_ONLY_FLAG: return createReadOnlyFlag();
case DomPackage.AVAILABLE_FLAG: return createAvailableFlag();
case DomPackage.DERIVED_FLAG: return createDerivedFlag();
case DomPackage.TRANSIENT_FLAG: return createTransientFlag();
case DomPackage.ATTRIBUTE_PROPERTY: return createAttributeProperty();
case DomPackage.ATTRIBUTE_VALIDATION_PROPERTY: return createAttributeValidationProperty();
case DomPackage.ATTRIBUTE_TEXT_PROPERTY: return createAttributeTextProperty();
case DomPackage.ATTRIBUTE_GROUP: return createAttributeGroup();
case DomPackage.ATTRIBUTE_SORT_ORDER: return createAttributeSortOrder();
case DomPackage.DAO: return createDao();
case DomPackage.QUERY_OPERATION: return createQueryOperation();
case DomPackage.QUERY_PARAMETER: return createQueryParameter();
case DomPackage.COLUMN: return createColumn();
case DomPackage.MANY_TO_ONE: return createManyToOne();
case DomPackage.ONE_TO_ONE: return createOneToOne();
case DomPackage.ONE_TO_MANY: return createOneToMany();
case DomPackage.MANY_TO_MANY: return createManyToMany();
case DomPackage.DATA_BASE_CONSTRAINT: return createDataBaseConstraint();
case DomPackage.APPLICATION_SESSION: return createApplicationSession();
case DomPackage.QL_STATEMENT: return createQlStatement();
case DomPackage.CALLABLE_STATEMENT: return createCallableStatement();
case DomPackage.CALL_INPUT_PARAMETER: return createCallInputParameter();
case DomPackage.CALL_OUTPUT_PARAMETER: return createCallOutputParameter();
case DomPackage.INSERT_STATEMENT: return createInsertStatement();
case DomPackage.DELETE_STATEMENT: return createDeleteStatement();
case DomPackage.UPDATE_STATEMENT: return createUpdateStatement();
case DomPackage.PROPERTY_ASSIGNMENT: return createPropertyAssignment();
case DomPackage.SELECT_STATEMENT: return createSelectStatement();
case DomPackage.SORT_ORDER_ELEMENT: return createSortOrderElement();
case DomPackage.SELECT_PROPERTIES: return createSelectProperties();
case DomPackage.SELECT_CLASS: return createSelectClass();
case DomPackage.SELECT_OBJECT: return createSelectObject();
case DomPackage.FROM_RANGE: return createFromRange();
case DomPackage.FROM_CLASS: return createFromClass();
case DomPackage.IN_CLASS: return createInClass();
case DomPackage.IN_COLLECTION: return createInCollection();
case DomPackage.IN_COLLECTION_ELEMENTS: return createInCollectionElements();
case DomPackage.JOIN: return createJoin();
case DomPackage.JOIN_ENTITY: return createJoinEntity();
case DomPackage.EXPRESSION: return createExpression();
case DomPackage.PROPERTY_VALUE: return createPropertyValue();
case DomPackage.FUNCTION_CALL: return createFunctionCall();
case DomPackage.TRIM_FUNCTION: return createTrimFunction();
case DomPackage.CAST_FUNCTION: return createCastFunction();
case DomPackage.AGGREGATE_FUNCTION: return createAggregateFunction();
case DomPackage.QUERY_PARAMETER_REFERENCE: return createQueryParameterReference();
case DomPackage.QUERY_PARAMETER_VALUE: return createQueryParameterValue();
case DomPackage.QUANTIFIED_EXPRESSION: return createQuantifiedExpression();
case DomPackage.CASE_EXPRESSION: return createCaseExpression();
case DomPackage.WHEN_CLAUSE: return createWhenClause();
case DomPackage.ALT_WHEN_CLAUSE: return createAltWhenClause();
case DomPackage.COLLECTION_FUNCTION: return createCollectionFunction();
case DomPackage.SUB_QUERY: return createSubQuery();
case DomPackage.PARENTHESIZED_EXPRESSION: return createParenthesizedExpression();
case DomPackage.LITERAL_VALUE: return createLiteralValue();
case DomPackage.STRING_LITERAL_VALUE: return createStringLiteralValue();
case DomPackage.INTEGER_LITERAL_VALUE: return createIntegerLiteralValue();
case DomPackage.REAL_LITERAL_VALUE: return createRealLiteralValue();
case DomPackage.BOOLEAN_LITERAL_VALUE: return createBooleanLiteralValue();
case DomPackage.NULL_LITERAL_VALUE: return createNullLiteralValue();
case DomPackage.EMPTY_LITERAL_VALUE: return createEmptyLiteralValue();
case DomPackage.IELEMENT_WITH_NO_NAME: return createIElementWithNoName();
case DomPackage.ALIASED_EXPRESSION: return createAliasedExpression();
case DomPackage.BINARY_EXPRESSION: return createBinaryExpression();
case DomPackage.NOT_EXPRESSION: return createNotExpression();
case DomPackage.IN_EXPRESSION: return createInExpression();
case DomPackage.BETWEEN_EXPRESSION: return createBetweenExpression();
case DomPackage.LIKE_EXPRESSION: return createLikeExpression();
case DomPackage.MEMBER_OF_EXPRESSION: return createMemberOfExpression();
case DomPackage.UNARY_EXPRESSION: return createUnaryExpression();
default:
throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}
/**
*
*
* @generated
*/
@Override
public Object createFromString(EDataType eDataType, String initialValue) {
switch (eDataType.getClassifierID()) {
case DomPackage.CRUD_OPERATION_TYPE:
return createCrudOperationTypeFromString(eDataType, initialValue);
case DomPackage.DATA_BASE_CONSTRAINT_TYPE:
return createDataBaseConstraintTypeFromString(eDataType, initialValue);
default:
throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
}
}
/**
*
*
* @generated
*/
@Override
public String convertToString(EDataType eDataType, Object instanceValue) {
switch (eDataType.getClassifierID()) {
case DomPackage.CRUD_OPERATION_TYPE:
return convertCrudOperationTypeToString(eDataType, instanceValue);
case DomPackage.DATA_BASE_CONSTRAINT_TYPE:
return convertDataBaseConstraintTypeToString(eDataType, instanceValue);
default:
throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
}
}
/**
*
*
* @generated
*/
public Service createService() {
ServiceImpl service = new ServiceImpl();
return service;
}
/**
*
*
* @generated
*/
public Operation createOperation() {
OperationImpl operation = new OperationImpl();
return operation;
}
/**
*
*
* @generated
*/
public DelegateOperation createDelegateOperation() {
DelegateOperationImpl delegateOperation = new DelegateOperationImpl();
return delegateOperation;
}
/**
*
*
* @generated
*/
public DaoOperation createDaoOperation() {
DaoOperationImpl daoOperation = new DaoOperationImpl();
return daoOperation;
}
/**
*
*
* @generated
*/
public Parameter createParameter() {
ParameterImpl parameter = new ParameterImpl();
return parameter;
}
/**
*
*
* @generated
*/
public ValueObject createValueObject() {
ValueObjectImpl valueObject = new ValueObjectImpl();
return valueObject;
}
/**
*
*
* @generated
*/
public DataView createDataView() {
DataViewImpl dataView = new DataViewImpl();
return dataView;
}
/**
*
*
* @generated NOT
*/
public DataView createDefaultDataView(Entity entity) {
DataView defaultDataView = createDataView();
defaultDataView.setName(entity.getDefaultDataViewName());
FeatureReference featureReference = DomFactory.eINSTANCE.createFeatureReference();
featureReference.setSource(entity);
featureReference.setAll(true);
defaultDataView.getFeatureReferences().add(featureReference);
return defaultDataView;
}
/**
*
*
* @generated
*/
public FeatureReference createFeatureReference() {
FeatureReferenceImpl featureReference = new FeatureReferenceImpl();
return featureReference;
}
/**
*
*
* @generated
*/
public Mapper createMapper() {
MapperImpl mapper = new MapperImpl();
return mapper;
}
/**
*
*
* @generated
*/
public PropertyMapping createPropertyMapping() {
PropertyMappingImpl propertyMapping = new PropertyMappingImpl();
return propertyMapping;
}
/**
*
*
* @generated
*/
public IElementWithNoName createIElementWithNoName() {
IElementWithNoNameImpl iElementWithNoName = new IElementWithNoNameImpl();
return iElementWithNoName;
}
/**
*
*
* @generated
*/
public AliasedExpression createAliasedExpression() {
AliasedExpressionImpl aliasedExpression = new AliasedExpressionImpl();
return aliasedExpression;
}
/**
*
*
* @generated
*/
public BinaryExpression createBinaryExpression() {
BinaryExpressionImpl binaryExpression = new BinaryExpressionImpl();
return binaryExpression;
}
/**
*
*
* @generated
*/
public NotExpression createNotExpression() {
NotExpressionImpl notExpression = new NotExpressionImpl();
return notExpression;
}
/**
*
*
* @generated
*/
public InExpression createInExpression() {
InExpressionImpl inExpression = new InExpressionImpl();
return inExpression;
}
/**
*
*
* @generated
*/
public BetweenExpression createBetweenExpression() {
BetweenExpressionImpl betweenExpression = new BetweenExpressionImpl();
return betweenExpression;
}
/**
*
*
* @generated
*/
public LikeExpression createLikeExpression() {
LikeExpressionImpl likeExpression = new LikeExpressionImpl();
return likeExpression;
}
/**
*
*
* @generated
*/
public MemberOfExpression createMemberOfExpression() {
MemberOfExpressionImpl memberOfExpression = new MemberOfExpressionImpl();
return memberOfExpression;
}
/**
*
*
* @generated
*/
public UnaryExpression createUnaryExpression() {
UnaryExpressionImpl unaryExpression = new UnaryExpressionImpl();
return unaryExpression;
}
/**
*
*
* @generated
*/
public Entity createEntity() {
EntityImpl entity = new EntityImpl();
return entity;
}
/**
*
*
* @generated
*/
public QlStatement createQlStatement() {
QlStatementImpl qlStatement = new QlStatementImpl();
return qlStatement;
}
/**
*
*
* @generated
*/
public CallableStatement createCallableStatement() {
CallableStatementImpl callableStatement = new CallableStatementImpl();
return callableStatement;
}
/**
*
*
* @generated
*/
public CallInputParameter createCallInputParameter() {
CallInputParameterImpl callInputParameter = new CallInputParameterImpl();
return callInputParameter;
}
/**
*
*
* @generated
*/
public CallOutputParameter createCallOutputParameter() {
CallOutputParameterImpl callOutputParameter = new CallOutputParameterImpl();
return callOutputParameter;
}
/**
*
*
* @generated
*/
public InsertStatement createInsertStatement() {
InsertStatementImpl insertStatement = new InsertStatementImpl();
return insertStatement;
}
/**
*
*
* @generated
*/
public DeleteStatement createDeleteStatement() {
DeleteStatementImpl deleteStatement = new DeleteStatementImpl();
return deleteStatement;
}
/**
*
*
* @generated
*/
public UpdateStatement createUpdateStatement() {
UpdateStatementImpl updateStatement = new UpdateStatementImpl();
return updateStatement;
}
/**
*
*
* @generated
*/
public PropertyAssignment createPropertyAssignment() {
PropertyAssignmentImpl propertyAssignment = new PropertyAssignmentImpl();
return propertyAssignment;
}
/**
*
*
* @generated
*/
public SelectStatement createSelectStatement() {
SelectStatementImpl selectStatement = new SelectStatementImpl();
return selectStatement;
}
/**
*
*
* @generated
*/
public SortOrderElement createSortOrderElement() {
SortOrderElementImpl sortOrderElement = new SortOrderElementImpl();
return sortOrderElement;
}
/**
*
*
* @generated
*/
public SelectProperties createSelectProperties() {
SelectPropertiesImpl selectProperties = new SelectPropertiesImpl();
return selectProperties;
}
/**
*
*
* @generated
*/
public SelectClass createSelectClass() {
SelectClassImpl selectClass = new SelectClassImpl();
return selectClass;
}
/**
*
*
* @generated
*/
public SelectObject createSelectObject() {
SelectObjectImpl selectObject = new SelectObjectImpl();
return selectObject;
}
/**
*
*
* @generated
*/
public FromRange createFromRange() {
FromRangeImpl fromRange = new FromRangeImpl();
return fromRange;
}
/**
*
*
* @generated
*/
public FromClass createFromClass() {
FromClassImpl fromClass = new FromClassImpl();
return fromClass;
}
/**
*
*
* @generated
*/
public InClass createInClass() {
InClassImpl inClass = new InClassImpl();
return inClass;
}
/**
*
*
* @generated
*/
public InCollection createInCollection() {
InCollectionImpl inCollection = new InCollectionImpl();
return inCollection;
}
/**
*
*
* @generated
*/
public InCollectionElements createInCollectionElements() {
InCollectionElementsImpl inCollectionElements = new InCollectionElementsImpl();
return inCollectionElements;
}
/**
*
*
* @generated
*/
public Join createJoin() {
JoinImpl join = new JoinImpl();
return join;
}
/**
*
*
* @generated
*/
public JoinEntity createJoinEntity() {
JoinEntityImpl joinEntity = new JoinEntityImpl();
return joinEntity;
}
/**
*
*
* @generated
*/
public Expression createExpression() {
ExpressionImpl expression = new ExpressionImpl();
return expression;
}
/**
*
*
* @generated
*/
public PropertyValue createPropertyValue() {
PropertyValueImpl propertyValue = new PropertyValueImpl();
return propertyValue;
}
/**
*
*
* @generated
*/
public FunctionCall createFunctionCall() {
FunctionCallImpl functionCall = new FunctionCallImpl();
return functionCall;
}
/**
*
*
* @generated
*/
public TrimFunction createTrimFunction() {
TrimFunctionImpl trimFunction = new TrimFunctionImpl();
return trimFunction;
}
/**
*
*
* @generated
*/
public CastFunction createCastFunction() {
CastFunctionImpl castFunction = new CastFunctionImpl();
return castFunction;
}
/**
*
*
* @generated
*/
public AggregateFunction createAggregateFunction() {
AggregateFunctionImpl aggregateFunction = new AggregateFunctionImpl();
return aggregateFunction;
}
/**
*
*
* @generated
*/
public QueryParameterReference createQueryParameterReference() {
QueryParameterReferenceImpl queryParameterReference = new QueryParameterReferenceImpl();
return queryParameterReference;
}
/**
*
*
* @generated
*/
public QueryParameterValue createQueryParameterValue() {
QueryParameterValueImpl queryParameterValue = new QueryParameterValueImpl();
return queryParameterValue;
}
/**
*
*
* @generated
*/
public QuantifiedExpression createQuantifiedExpression() {
QuantifiedExpressionImpl quantifiedExpression = new QuantifiedExpressionImpl();
return quantifiedExpression;
}
/**
*
*
* @generated
*/
public CaseExpression createCaseExpression() {
CaseExpressionImpl caseExpression = new CaseExpressionImpl();
return caseExpression;
}
/**
*
*
* @generated
*/
public WhenClause createWhenClause() {
WhenClauseImpl whenClause = new WhenClauseImpl();
return whenClause;
}
/**
*
*
* @generated
*/
public AltWhenClause createAltWhenClause() {
AltWhenClauseImpl altWhenClause = new AltWhenClauseImpl();
return altWhenClause;
}
/**
*
*
* @generated
*/
public CollectionFunction createCollectionFunction() {
CollectionFunctionImpl collectionFunction = new CollectionFunctionImpl();
return collectionFunction;
}
/**
*
*
* @generated
*/
public SubQuery createSubQuery() {
SubQueryImpl subQuery = new SubQueryImpl();
return subQuery;
}
/**
*
*
* @generated
*/
public ParenthesizedExpression createParenthesizedExpression() {
ParenthesizedExpressionImpl parenthesizedExpression = new ParenthesizedExpressionImpl();
return parenthesizedExpression;
}
/**
*
*
* @generated
*/
public LiteralValue createLiteralValue() {
LiteralValueImpl literalValue = new LiteralValueImpl();
return literalValue;
}
/**
*
*
* @generated
*/
public StringLiteralValue createStringLiteralValue() {
StringLiteralValueImpl stringLiteralValue = new StringLiteralValueImpl();
return stringLiteralValue;
}
/**
*
*
* @generated
*/
public IntegerLiteralValue createIntegerLiteralValue() {
IntegerLiteralValueImpl integerLiteralValue = new IntegerLiteralValueImpl();
return integerLiteralValue;
}
/**
*
*
* @generated
*/
public RealLiteralValue createRealLiteralValue() {
RealLiteralValueImpl realLiteralValue = new RealLiteralValueImpl();
return realLiteralValue;
}
/**
*
*
* @generated
*/
public BooleanLiteralValue createBooleanLiteralValue() {
BooleanLiteralValueImpl booleanLiteralValue = new BooleanLiteralValueImpl();
return booleanLiteralValue;
}
/**
*
*
* @generated
*/
public NullLiteralValue createNullLiteralValue() {
NullLiteralValueImpl nullLiteralValue = new NullLiteralValueImpl();
return nullLiteralValue;
}
/**
*
*
* @generated
*/
public EmptyLiteralValue createEmptyLiteralValue() {
EmptyLiteralValueImpl emptyLiteralValue = new EmptyLiteralValueImpl();
return emptyLiteralValue;
}
/**
*
*
* @generated
*/
public Dao createDao() {
DaoImpl dao = new DaoImpl();
return dao;
}
/**
*
*
* @generated
*/
public QueryOperation createQueryOperation() {
QueryOperationImpl queryOperation = new QueryOperationImpl();
return queryOperation;
}
/**
*
*
* @generated
*/
public QueryParameter createQueryParameter() {
QueryParameterImpl queryParameter = new QueryParameterImpl();
return queryParameter;
}
/**
*
*
* @generated
*/
public Column createColumn() {
ColumnImpl column = new ColumnImpl();
return column;
}
/**
*
*
* @generated
*/
public ManyToOne createManyToOne() {
ManyToOneImpl manyToOne = new ManyToOneImpl();
return manyToOne;
}
/**
*
*
* @generated
*/
public OneToOne createOneToOne() {
OneToOneImpl oneToOne = new OneToOneImpl();
return oneToOne;
}
/**
*
*
* @generated
*/
public OneToMany createOneToMany() {
OneToManyImpl oneToMany = new OneToManyImpl();
return oneToMany;
}
/**
*
*
* @generated
*/
public ManyToMany createManyToMany() {
ManyToManyImpl manyToMany = new ManyToManyImpl();
return manyToMany;
}
/**
*
*
* @generated
*/
public DataBaseConstraint createDataBaseConstraint() {
DataBaseConstraintImpl dataBaseConstraint = new DataBaseConstraintImpl();
return dataBaseConstraint;
}
/**
*
*
* @generated
*/
public Attribute createAttribute() {
AttributeImpl attribute = new AttributeImpl();
return attribute;
}
/**
*
*
* @generated
*/
public AttributeFlag createAttributeFlag() {
AttributeFlagImpl attributeFlag = new AttributeFlagImpl();
return attributeFlag;
}
/**
*
*
* @generated
*/
public ExpressionFlag createExpressionFlag() {
ExpressionFlagImpl expressionFlag = new ExpressionFlagImpl();
return expressionFlag;
}
/**
*
*
* @generated
*/
public RequiredFlag createRequiredFlag() {
RequiredFlagImpl requiredFlag = new RequiredFlagImpl();
return requiredFlag;
}
/**
*
*
* @generated
*/
public ReadOnlyFlag createReadOnlyFlag() {
ReadOnlyFlagImpl readOnlyFlag = new ReadOnlyFlagImpl();
return readOnlyFlag;
}
/**
*
*
* @generated
*/
public AvailableFlag createAvailableFlag() {
AvailableFlagImpl availableFlag = new AvailableFlagImpl();
return availableFlag;
}
/**
*
*
* @generated
*/
public DerivedFlag createDerivedFlag() {
DerivedFlagImpl derivedFlag = new DerivedFlagImpl();
return derivedFlag;
}
/**
*
*
* @generated
*/
public TransientFlag createTransientFlag() {
TransientFlagImpl transientFlag = new TransientFlagImpl();
return transientFlag;
}
/**
*
*
* @generated
*/
public AttributeProperty createAttributeProperty() {
AttributePropertyImpl attributeProperty = new AttributePropertyImpl();
return attributeProperty;
}
/**
*
*
* @generated
*/
public AttributeValidationProperty createAttributeValidationProperty() {
AttributeValidationPropertyImpl attributeValidationProperty = new AttributeValidationPropertyImpl();
return attributeValidationProperty;
}
/**
*
*
* @generated
*/
public AttributeTextProperty createAttributeTextProperty() {
AttributeTextPropertyImpl attributeTextProperty = new AttributeTextPropertyImpl();
return attributeTextProperty;
}
/**
*
*
* @generated
*/
public AttributeGroup createAttributeGroup() {
AttributeGroupImpl attributeGroup = new AttributeGroupImpl();
return attributeGroup;
}
/**
*
*
* @generated
*/
public AttributeSortOrder createAttributeSortOrder() {
AttributeSortOrderImpl attributeSortOrder = new AttributeSortOrderImpl();
return attributeSortOrder;
}
/**
*
*
* @generated
*/
public Property createProperty() {
PropertyImpl property = new PropertyImpl();
return property;
}
/**
*
*
* @generated
*/
public ApplicationSession createApplicationSession() {
ApplicationSessionImpl applicationSession = new ApplicationSessionImpl();
return applicationSession;
}
/**
*
*
* @generated
*/
public CrudOperationType createCrudOperationTypeFromString(EDataType eDataType, String initialValue) {
CrudOperationType result = CrudOperationType.get(initialValue);
if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
return result;
}
/**
*
*
* @generated
*/
public String convertCrudOperationTypeToString(EDataType eDataType, Object instanceValue) {
return instanceValue == null ? null : instanceValue.toString();
}
/**
*
*
* @generated
*/
public DataBaseConstraintType createDataBaseConstraintTypeFromString(EDataType eDataType, String initialValue) {
DataBaseConstraintType result = DataBaseConstraintType.get(initialValue);
if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
return result;
}
/**
*
*
* @generated
*/
public String convertDataBaseConstraintTypeToString(EDataType eDataType, Object instanceValue) {
return instanceValue == null ? null : instanceValue.toString();
}
/**
*
*
* @generated
*/
public DomPackage getDomPackage() {
return (DomPackage)getEPackage();
}
/**
*
*
* @deprecated
* @generated
*/
@Deprecated
public static DomPackage getPackage() {
return DomPackage.eINSTANCE;
}
} //DomFactoryImpl