diff options
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl')
59 files changed, 15978 insertions, 15978 deletions
diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AccessContext.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AccessContext.java index 97914b12a5a..1751ced3e9d 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AccessContext.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AccessContext.java @@ -1,135 +1,135 @@ -/**
- * <copyright>
- * </copyright>
- *
+/** + * <copyright> + * </copyright> + * - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Access Context</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getSuperAccessContexts <em>Super Access Contexts</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getTypeGuid <em>Type Guid</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getAccessRules <em>Access Rules</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getHierarchyRestrictions <em>Hierarchy Restrictions</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAccessContext()
- * @model
- * @generated
- */
-public interface AccessContext extends EObject
-{
- /**
- * 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.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAccessContext_Name()
- * @model
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#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>Super Access Contexts</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Super Access Contexts</em>' reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Super Access Contexts</em>' reference list.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAccessContext_SuperAccessContexts()
- * @model
- * @generated
- */
- EList<AccessContext> getSuperAccessContexts();
-
- /**
- * Returns the value of the '<em><b>Type Guid</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Type Guid</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Type Guid</em>' attribute.
- * @see #setTypeGuid(String)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAccessContext_TypeGuid()
- * @model
- * @generated
- */
- String getTypeGuid();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getTypeGuid <em>Type Guid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Type Guid</em>' attribute.
- * @see #getTypeGuid()
- * @generated
- */
- void setTypeGuid(String value);
-
- /**
- * Returns the value of the '<em><b>Access Rules</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Access Rules</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Access Rules</em>' containment reference list.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAccessContext_AccessRules()
- * @model containment="true"
- * @generated
- */
- EList<PermissionRule> getAccessRules();
-
- /**
- * Returns the value of the '<em><b>Hierarchy Restrictions</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Hierarchy Restrictions</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Hierarchy Restrictions</em>' containment reference list.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAccessContext_HierarchyRestrictions()
- * @model containment="true"
- * @generated
- */
- EList<HierarchyRestriction> getHierarchyRestrictions();
-
-} // AccessContext
+ */ +package org.eclipse.osee.framework.core.dsl.oseeDsl; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Access Context</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getSuperAccessContexts <em>Super Access Contexts</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getTypeGuid <em>Type Guid</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getAccessRules <em>Access Rules</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getHierarchyRestrictions <em>Hierarchy Restrictions</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAccessContext() + * @model + * @generated + */ +public interface AccessContext extends EObject +{ + /** + * 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.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAccessContext_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#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>Super Access Contexts</b></em>' reference list. + * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Super Access Contexts</em>' reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Super Access Contexts</em>' reference list. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAccessContext_SuperAccessContexts() + * @model + * @generated + */ + EList<AccessContext> getSuperAccessContexts(); + + /** + * Returns the value of the '<em><b>Type Guid</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Type Guid</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Type Guid</em>' attribute. + * @see #setTypeGuid(String) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAccessContext_TypeGuid() + * @model + * @generated + */ + String getTypeGuid(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getTypeGuid <em>Type Guid</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Type Guid</em>' attribute. + * @see #getTypeGuid() + * @generated + */ + void setTypeGuid(String value); + + /** + * Returns the value of the '<em><b>Access Rules</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Access Rules</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Access Rules</em>' containment reference list. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAccessContext_AccessRules() + * @model containment="true" + * @generated + */ + EList<PermissionRule> getAccessRules(); + + /** + * Returns the value of the '<em><b>Hierarchy Restrictions</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Hierarchy Restrictions</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Hierarchy Restrictions</em>' containment reference list. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAccessContext_HierarchyRestrictions() + * @model containment="true" + * @generated + */ + EList<HierarchyRestriction> getHierarchyRestrictions(); + +} // AccessContext diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AccessPermissionEnum.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AccessPermissionEnum.java index cf3583599e9..82c98022f1b 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AccessPermissionEnum.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AccessPermissionEnum.java @@ -1,227 +1,227 @@ -/**
- * <copyright>
- * </copyright>
- *
- - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl;
-
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.emf.common.util.Enumerator;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the literals of the enumeration '<em><b>Access Permission Enum</b></em>',
- * and utility methods for working with them.
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAccessPermissionEnum()
- * @model
- * @generated
- */
-public enum AccessPermissionEnum implements Enumerator
-{
- /**
- * The '<em><b>ALLOW</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #ALLOW_VALUE
- * @generated
- * @ordered
- */
- ALLOW(0, "ALLOW", "ALLOW"),
-
- /**
- * The '<em><b>DENY</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #DENY_VALUE
- * @generated
- * @ordered
- */
- DENY(1, "DENY", "DENY");
-
- /**
- * The '<em><b>ALLOW</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>ALLOW</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #ALLOW
- * @model
- * @generated
- * @ordered
- */
- public static final int ALLOW_VALUE = 0;
-
- /**
- * The '<em><b>DENY</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>DENY</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #DENY
- * @model
- * @generated
- * @ordered
- */
- public static final int DENY_VALUE = 1;
-
- /**
- * An array of all the '<em><b>Access Permission Enum</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static final AccessPermissionEnum[] VALUES_ARRAY =
- new AccessPermissionEnum[]
- {
- ALLOW,
- DENY,
- };
-
- /**
- * A public read-only list of all the '<em><b>Access Permission Enum</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final List<AccessPermissionEnum> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
-
- /**
- * Returns the '<em><b>Access Permission Enum</b></em>' literal with the specified literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static AccessPermissionEnum get(String literal)
- {
- for (int i = 0; i < VALUES_ARRAY.length; ++i)
- {
- AccessPermissionEnum result = VALUES_ARRAY[i];
- if (result.toString().equals(literal))
- {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Access Permission Enum</b></em>' literal with the specified name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static AccessPermissionEnum getByName(String name)
- {
- for (int i = 0; i < VALUES_ARRAY.length; ++i)
- {
- AccessPermissionEnum result = VALUES_ARRAY[i];
- if (result.getName().equals(name))
- {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Access Permission Enum</b></em>' literal with the specified integer value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static AccessPermissionEnum get(int value)
- {
- switch (value)
- {
- case ALLOW_VALUE: return ALLOW;
- case DENY_VALUE: return DENY;
- }
- return null;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final int value;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final String name;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final String literal;
-
- /**
- * Only this class can construct instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private AccessPermissionEnum(int value, String name, String literal)
- {
- this.value = value;
- this.name = name;
- this.literal = literal;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public int getValue()
- {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName()
- {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getLiteral()
- {
- return literal;
- }
-
- /**
- * Returns the literal value of the enumerator, which is its string representation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- return literal;
- }
-
-} //AccessPermissionEnum
+/** + * <copyright> + * </copyright> + * + + */ +package org.eclipse.osee.framework.core.dsl.oseeDsl; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; + +import org.eclipse.emf.common.util.Enumerator; + +/** + * <!-- begin-user-doc --> + * A representation of the literals of the enumeration '<em><b>Access Permission Enum</b></em>', + * and utility methods for working with them. + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAccessPermissionEnum() + * @model + * @generated + */ +public enum AccessPermissionEnum implements Enumerator +{ + /** + * The '<em><b>ALLOW</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #ALLOW_VALUE + * @generated + * @ordered + */ + ALLOW(0, "ALLOW", "ALLOW"), + + /** + * The '<em><b>DENY</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #DENY_VALUE + * @generated + * @ordered + */ + DENY(1, "DENY", "DENY"); + + /** + * The '<em><b>ALLOW</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>ALLOW</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #ALLOW + * @model + * @generated + * @ordered + */ + public static final int ALLOW_VALUE = 0; + + /** + * The '<em><b>DENY</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>DENY</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #DENY + * @model + * @generated + * @ordered + */ + public static final int DENY_VALUE = 1; + + /** + * An array of all the '<em><b>Access Permission Enum</b></em>' enumerators. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private static final AccessPermissionEnum[] VALUES_ARRAY = + new AccessPermissionEnum[] + { + ALLOW, + DENY, + }; + + /** + * A public read-only list of all the '<em><b>Access Permission Enum</b></em>' enumerators. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final List<AccessPermissionEnum> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the '<em><b>Access Permission Enum</b></em>' literal with the specified literal value. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static AccessPermissionEnum get(String literal) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + AccessPermissionEnum result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) + { + return result; + } + } + return null; + } + + /** + * Returns the '<em><b>Access Permission Enum</b></em>' literal with the specified name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static AccessPermissionEnum getByName(String name) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + AccessPermissionEnum result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) + { + return result; + } + } + return null; + } + + /** + * Returns the '<em><b>Access Permission Enum</b></em>' literal with the specified integer value. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static AccessPermissionEnum get(int value) + { + switch (value) + { + case ALLOW_VALUE: return ALLOW; + case DENY_VALUE: return DENY; + } + return null; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private final int value; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private final String name; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private final String literal; + + /** + * Only this class can construct instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private AccessPermissionEnum(int value, String name, String literal) + { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public int getValue() + { + return value; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getName() + { + return name; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getLiteral() + { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() + { + return literal; + } + +} //AccessPermissionEnum diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AddEnum.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AddEnum.java index 14425f472a7..6a76948e61a 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AddEnum.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AddEnum.java @@ -1,108 +1,108 @@ -/**
- * <copyright>
- * </copyright>
- *
+/** + * <copyright> + * </copyright> + * - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Add Enum</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getEnumEntry <em>Enum Entry</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getOrdinal <em>Ordinal</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getEntryGuid <em>Entry Guid</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAddEnum()
- * @model
- * @generated
- */
-public interface AddEnum extends OverrideOption
-{
- /**
- * Returns the value of the '<em><b>Enum Entry</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Enum Entry</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Enum Entry</em>' attribute.
- * @see #setEnumEntry(String)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAddEnum_EnumEntry()
- * @model
- * @generated
- */
- String getEnumEntry();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getEnumEntry <em>Enum Entry</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Enum Entry</em>' attribute.
- * @see #getEnumEntry()
- * @generated
- */
- void setEnumEntry(String value);
-
- /**
- * Returns the value of the '<em><b>Ordinal</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Ordinal</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Ordinal</em>' attribute.
- * @see #setOrdinal(String)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAddEnum_Ordinal()
- * @model
- * @generated
- */
- String getOrdinal();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getOrdinal <em>Ordinal</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Ordinal</em>' attribute.
- * @see #getOrdinal()
- * @generated
- */
- void setOrdinal(String value);
-
- /**
- * Returns the value of the '<em><b>Entry Guid</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Entry Guid</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Entry Guid</em>' attribute.
- * @see #setEntryGuid(String)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAddEnum_EntryGuid()
- * @model
- * @generated
- */
- String getEntryGuid();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getEntryGuid <em>Entry Guid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Entry Guid</em>' attribute.
- * @see #getEntryGuid()
- * @generated
- */
- void setEntryGuid(String value);
-
-} // AddEnum
+ */ +package org.eclipse.osee.framework.core.dsl.oseeDsl; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Add Enum</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getEnumEntry <em>Enum Entry</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getOrdinal <em>Ordinal</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getEntryGuid <em>Entry Guid</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAddEnum() + * @model + * @generated + */ +public interface AddEnum extends OverrideOption +{ + /** + * Returns the value of the '<em><b>Enum Entry</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Enum Entry</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Enum Entry</em>' attribute. + * @see #setEnumEntry(String) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAddEnum_EnumEntry() + * @model + * @generated + */ + String getEnumEntry(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getEnumEntry <em>Enum Entry</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Enum Entry</em>' attribute. + * @see #getEnumEntry() + * @generated + */ + void setEnumEntry(String value); + + /** + * Returns the value of the '<em><b>Ordinal</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Ordinal</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Ordinal</em>' attribute. + * @see #setOrdinal(String) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAddEnum_Ordinal() + * @model + * @generated + */ + String getOrdinal(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getOrdinal <em>Ordinal</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Ordinal</em>' attribute. + * @see #getOrdinal() + * @generated + */ + void setOrdinal(String value); + + /** + * Returns the value of the '<em><b>Entry Guid</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Entry Guid</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Entry Guid</em>' attribute. + * @see #setEntryGuid(String) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAddEnum_EntryGuid() + * @model + * @generated + */ + String getEntryGuid(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getEntryGuid <em>Entry Guid</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Entry Guid</em>' attribute. + * @see #getEntryGuid() + * @generated + */ + void setEntryGuid(String value); + +} // AddEnum diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/ArtifactInstanceRestriction.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/ArtifactInstanceRestriction.java index 462abf99289..ae1a5ee1a32 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/ArtifactInstanceRestriction.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/ArtifactInstanceRestriction.java @@ -1,54 +1,54 @@ -/**
- * <copyright>
- * </copyright>
- *
+/** + * <copyright> + * </copyright> + * - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Artifact Instance Restriction</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactInstanceRestriction#getArtifactName <em>Artifact Name</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getArtifactInstanceRestriction()
- * @model
- * @generated
- */
-public interface ArtifactInstanceRestriction extends ObjectRestriction
-{
- /**
- * Returns the value of the '<em><b>Artifact Name</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Artifact Name</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Artifact Name</em>' reference.
- * @see #setArtifactName(XArtifactRef)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getArtifactInstanceRestriction_ArtifactName()
- * @model
- * @generated
- */
- XArtifactRef getArtifactName();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactInstanceRestriction#getArtifactName <em>Artifact Name</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Artifact Name</em>' reference.
- * @see #getArtifactName()
- * @generated
- */
- void setArtifactName(XArtifactRef value);
-
-} // ArtifactInstanceRestriction
+ */ +package org.eclipse.osee.framework.core.dsl.oseeDsl; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Artifact Instance Restriction</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactInstanceRestriction#getArtifactName <em>Artifact Name</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getArtifactInstanceRestriction() + * @model + * @generated + */ +public interface ArtifactInstanceRestriction extends ObjectRestriction +{ + /** + * Returns the value of the '<em><b>Artifact Name</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Artifact Name</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Artifact Name</em>' reference. + * @see #setArtifactName(XArtifactRef) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getArtifactInstanceRestriction_ArtifactName() + * @model + * @generated + */ + XArtifactRef getArtifactName(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactInstanceRestriction#getArtifactName <em>Artifact Name</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Artifact Name</em>' reference. + * @see #getArtifactName() + * @generated + */ + void setArtifactName(XArtifactRef value); + +} // ArtifactInstanceRestriction diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/ArtifactTypeRestriction.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/ArtifactTypeRestriction.java index 2d88ea4716f..ac1e6c77ae1 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/ArtifactTypeRestriction.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/ArtifactTypeRestriction.java @@ -1,54 +1,54 @@ -/**
- * <copyright>
- * </copyright>
- *
+/** + * <copyright> + * </copyright> + * - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Artifact Type Restriction</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction#getArtifactType <em>Artifact Type</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getArtifactTypeRestriction()
- * @model
- * @generated
- */
-public interface ArtifactTypeRestriction extends ObjectRestriction
-{
- /**
- * Returns the value of the '<em><b>Artifact Type</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Artifact Type</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Artifact Type</em>' reference.
- * @see #setArtifactType(XArtifactType)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getArtifactTypeRestriction_ArtifactType()
- * @model
- * @generated
- */
- XArtifactType getArtifactType();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction#getArtifactType <em>Artifact Type</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Artifact Type</em>' reference.
- * @see #getArtifactType()
- * @generated
- */
- void setArtifactType(XArtifactType value);
-
-} // ArtifactTypeRestriction
+ */ +package org.eclipse.osee.framework.core.dsl.oseeDsl; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Artifact Type Restriction</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction#getArtifactType <em>Artifact Type</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getArtifactTypeRestriction() + * @model + * @generated + */ +public interface ArtifactTypeRestriction extends ObjectRestriction +{ + /** + * Returns the value of the '<em><b>Artifact Type</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Artifact Type</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Artifact Type</em>' reference. + * @see #setArtifactType(XArtifactType) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getArtifactTypeRestriction_ArtifactType() + * @model + * @generated + */ + XArtifactType getArtifactType(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction#getArtifactType <em>Artifact Type</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Artifact Type</em>' reference. + * @see #getArtifactType() + * @generated + */ + void setArtifactType(XArtifactType value); + +} // ArtifactTypeRestriction diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AttributeTypeOfArtifactTypeRestriction.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AttributeTypeOfArtifactTypeRestriction.java index 5b274aec538..004aa18a836 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AttributeTypeOfArtifactTypeRestriction.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AttributeTypeOfArtifactTypeRestriction.java @@ -1,81 +1,81 @@ -/**
- * <copyright>
- * </copyright>
- *
+/** + * <copyright> + * </copyright> + * - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Attribute Type Of Artifact Type Restriction</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction#getAttributeType <em>Attribute Type</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction#getArtifactType <em>Artifact Type</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAttributeTypeOfArtifactTypeRestriction()
- * @model
- * @generated
- */
-public interface AttributeTypeOfArtifactTypeRestriction extends ObjectRestriction
-{
- /**
- * Returns the value of the '<em><b>Attribute Type</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Attribute Type</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Attribute Type</em>' reference.
- * @see #setAttributeType(XAttributeType)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAttributeTypeOfArtifactTypeRestriction_AttributeType()
- * @model
- * @generated
- */
- XAttributeType getAttributeType();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction#getAttributeType <em>Attribute Type</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Attribute Type</em>' reference.
- * @see #getAttributeType()
- * @generated
- */
- void setAttributeType(XAttributeType value);
-
- /**
- * Returns the value of the '<em><b>Artifact Type</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Artifact Type</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Artifact Type</em>' reference.
- * @see #setArtifactType(XArtifactType)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAttributeTypeOfArtifactTypeRestriction_ArtifactType()
- * @model
- * @generated
- */
- XArtifactType getArtifactType();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction#getArtifactType <em>Artifact Type</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Artifact Type</em>' reference.
- * @see #getArtifactType()
- * @generated
- */
- void setArtifactType(XArtifactType value);
-
-} // AttributeTypeOfArtifactTypeRestriction
+ */ +package org.eclipse.osee.framework.core.dsl.oseeDsl; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Attribute Type Of Artifact Type Restriction</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction#getAttributeType <em>Attribute Type</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction#getArtifactType <em>Artifact Type</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAttributeTypeOfArtifactTypeRestriction() + * @model + * @generated + */ +public interface AttributeTypeOfArtifactTypeRestriction extends ObjectRestriction +{ + /** + * Returns the value of the '<em><b>Attribute Type</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Attribute Type</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Attribute Type</em>' reference. + * @see #setAttributeType(XAttributeType) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAttributeTypeOfArtifactTypeRestriction_AttributeType() + * @model + * @generated + */ + XAttributeType getAttributeType(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction#getAttributeType <em>Attribute Type</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Attribute Type</em>' reference. + * @see #getAttributeType() + * @generated + */ + void setAttributeType(XAttributeType value); + + /** + * Returns the value of the '<em><b>Artifact Type</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Artifact Type</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Artifact Type</em>' reference. + * @see #setArtifactType(XArtifactType) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAttributeTypeOfArtifactTypeRestriction_ArtifactType() + * @model + * @generated + */ + XArtifactType getArtifactType(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction#getArtifactType <em>Artifact Type</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Artifact Type</em>' reference. + * @see #getArtifactType() + * @generated + */ + void setArtifactType(XArtifactType value); + +} // AttributeTypeOfArtifactTypeRestriction diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AttributeTypeRestriction.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AttributeTypeRestriction.java index 99b59cabc10..4df32c40769 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AttributeTypeRestriction.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AttributeTypeRestriction.java @@ -1,54 +1,54 @@ -/**
- * <copyright>
- * </copyright>
- *
+/** + * <copyright> + * </copyright> + * - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Attribute Type Restriction</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction#getAttributeType <em>Attribute Type</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAttributeTypeRestriction()
- * @model
- * @generated
- */
-public interface AttributeTypeRestriction extends ObjectRestriction
-{
- /**
- * Returns the value of the '<em><b>Attribute Type</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Attribute Type</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Attribute Type</em>' reference.
- * @see #setAttributeType(XAttributeType)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAttributeTypeRestriction_AttributeType()
- * @model
- * @generated
- */
- XAttributeType getAttributeType();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction#getAttributeType <em>Attribute Type</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Attribute Type</em>' reference.
- * @see #getAttributeType()
- * @generated
- */
- void setAttributeType(XAttributeType value);
-
-} // AttributeTypeRestriction
+ */ +package org.eclipse.osee.framework.core.dsl.oseeDsl; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Attribute Type Restriction</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction#getAttributeType <em>Attribute Type</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAttributeTypeRestriction() + * @model + * @generated + */ +public interface AttributeTypeRestriction extends ObjectRestriction +{ + /** + * Returns the value of the '<em><b>Attribute Type</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Attribute Type</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Attribute Type</em>' reference. + * @see #setAttributeType(XAttributeType) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getAttributeTypeRestriction_AttributeType() + * @model + * @generated + */ + XAttributeType getAttributeType(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction#getAttributeType <em>Attribute Type</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Attribute Type</em>' reference. + * @see #getAttributeType() + * @generated + */ + void setAttributeType(XAttributeType value); + +} // AttributeTypeRestriction diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/HierarchyRestriction.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/HierarchyRestriction.java index 7a84b6d140b..e0bc4e57efa 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/HierarchyRestriction.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/HierarchyRestriction.java @@ -1,74 +1,74 @@ -/**
- * <copyright>
- * </copyright>
- *
+/** + * <copyright> + * </copyright> + * - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Hierarchy Restriction</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction#getArtifact <em>Artifact</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction#getAccessRules <em>Access Rules</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getHierarchyRestriction()
- * @model
- * @generated
- */
-public interface HierarchyRestriction extends EObject
-{
- /**
- * Returns the value of the '<em><b>Artifact</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Artifact</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Artifact</em>' reference.
- * @see #setArtifact(XArtifactRef)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getHierarchyRestriction_Artifact()
- * @model
- * @generated
- */
- XArtifactRef getArtifact();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction#getArtifact <em>Artifact</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Artifact</em>' reference.
- * @see #getArtifact()
- * @generated
- */
- void setArtifact(XArtifactRef value);
-
- /**
- * Returns the value of the '<em><b>Access Rules</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Access Rules</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Access Rules</em>' containment reference list.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getHierarchyRestriction_AccessRules()
- * @model containment="true"
- * @generated
- */
- EList<PermissionRule> getAccessRules();
-
-} // HierarchyRestriction
+ */ +package org.eclipse.osee.framework.core.dsl.oseeDsl; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Hierarchy Restriction</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction#getArtifact <em>Artifact</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction#getAccessRules <em>Access Rules</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getHierarchyRestriction() + * @model + * @generated + */ +public interface HierarchyRestriction extends EObject +{ + /** + * Returns the value of the '<em><b>Artifact</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Artifact</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Artifact</em>' reference. + * @see #setArtifact(XArtifactRef) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getHierarchyRestriction_Artifact() + * @model + * @generated + */ + XArtifactRef getArtifact(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction#getArtifact <em>Artifact</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Artifact</em>' reference. + * @see #getArtifact() + * @generated + */ + void setArtifact(XArtifactRef value); + + /** + * Returns the value of the '<em><b>Access Rules</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Access Rules</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Access Rules</em>' containment reference list. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getHierarchyRestriction_AccessRules() + * @model containment="true" + * @generated + */ + EList<PermissionRule> getAccessRules(); + +} // HierarchyRestriction diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/Import.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/Import.java index 0df896f2bcc..019b2f34337 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/Import.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/Import.java @@ -1,55 +1,55 @@ -/**
- * <copyright>
- * </copyright>
- *
+/** + * <copyright> + * </copyright> + * - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Import</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.Import#getImportURI <em>Import URI</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getImport()
- * @model
- * @generated
- */
-public interface Import extends EObject
-{
- /**
- * Returns the value of the '<em><b>Import URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Import URI</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Import URI</em>' attribute.
- * @see #setImportURI(String)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getImport_ImportURI()
- * @model
- * @generated
- */
- String getImportURI();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.Import#getImportURI <em>Import URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Import URI</em>' attribute.
- * @see #getImportURI()
- * @generated
- */
- void setImportURI(String value);
-
-} // Import
+ */ +package org.eclipse.osee.framework.core.dsl.oseeDsl; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Import</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.Import#getImportURI <em>Import URI</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getImport() + * @model + * @generated + */ +public interface Import extends EObject +{ + /** + * Returns the value of the '<em><b>Import URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Import URI</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Import URI</em>' attribute. + * @see #setImportURI(String) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getImport_ImportURI() + * @model + * @generated + */ + String getImportURI(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.Import#getImportURI <em>Import URI</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Import URI</em>' attribute. + * @see #getImportURI() + * @generated + */ + void setImportURI(String value); + +} // Import diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/ObjectRestriction.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/ObjectRestriction.java index 4256a518b63..ff51ddd590c 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/ObjectRestriction.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/ObjectRestriction.java @@ -1,23 +1,23 @@ -/**
- * <copyright>
- * </copyright>
- *
+/** + * <copyright> + * </copyright> + * - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Object Restriction</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getObjectRestriction()
- * @model
- * @generated
- */
-public interface ObjectRestriction extends EObject
-{
-} // ObjectRestriction
+ */ +package org.eclipse.osee.framework.core.dsl.oseeDsl; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Object Restriction</b></em>'. + * <!-- end-user-doc --> + * + * + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getObjectRestriction() + * @model + * @generated + */ +public interface ObjectRestriction extends EObject +{ +} // ObjectRestriction diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OseeDsl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OseeDsl.java index 23ae70945df..f4150eb414f 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OseeDsl.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OseeDsl.java @@ -1,183 +1,183 @@ -/**
- * <copyright>
- * </copyright>
- *
+/** + * <copyright> + * </copyright> + * - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Osee Dsl</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getImports <em>Imports</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getArtifactTypes <em>Artifact Types</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getRelationTypes <em>Relation Types</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getAttributeTypes <em>Attribute Types</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getEnumTypes <em>Enum Types</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getEnumOverrides <em>Enum Overrides</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getBranchRefs <em>Branch Refs</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getArtifactRefs <em>Artifact Refs</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getAccessDeclarations <em>Access Declarations</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl()
- * @model
- * @generated
- */
-public interface OseeDsl extends EObject
-{
- /**
- * Returns the value of the '<em><b>Imports</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.Import}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Imports</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Imports</em>' containment reference list.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_Imports()
- * @model containment="true"
- * @generated
- */
- EList<Import> getImports();
-
- /**
- * Returns the value of the '<em><b>Artifact Types</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Artifact Types</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Artifact Types</em>' containment reference list.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_ArtifactTypes()
- * @model containment="true"
- * @generated
- */
- EList<XArtifactType> getArtifactTypes();
-
- /**
- * Returns the value of the '<em><b>Relation Types</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Relation Types</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Relation Types</em>' containment reference list.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_RelationTypes()
- * @model containment="true"
- * @generated
- */
- EList<XRelationType> getRelationTypes();
-
- /**
- * Returns the value of the '<em><b>Attribute Types</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Attribute Types</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Attribute Types</em>' containment reference list.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_AttributeTypes()
- * @model containment="true"
- * @generated
- */
- EList<XAttributeType> getAttributeTypes();
-
- /**
- * Returns the value of the '<em><b>Enum Types</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Enum Types</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Enum Types</em>' containment reference list.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_EnumTypes()
- * @model containment="true"
- * @generated
- */
- EList<XOseeEnumType> getEnumTypes();
-
- /**
- * Returns the value of the '<em><b>Enum Overrides</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Enum Overrides</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Enum Overrides</em>' containment reference list.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_EnumOverrides()
- * @model containment="true"
- * @generated
- */
- EList<XOseeEnumOverride> getEnumOverrides();
-
- /**
- * Returns the value of the '<em><b>Branch Refs</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Branch Refs</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Branch Refs</em>' containment reference list.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_BranchRefs()
- * @model containment="true"
- * @generated
- */
- EList<XBranchRef> getBranchRefs();
-
- /**
- * Returns the value of the '<em><b>Artifact Refs</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Artifact Refs</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Artifact Refs</em>' containment reference list.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_ArtifactRefs()
- * @model containment="true"
- * @generated
- */
- EList<XArtifactRef> getArtifactRefs();
-
- /**
- * Returns the value of the '<em><b>Access Declarations</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Access Declarations</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Access Declarations</em>' containment reference list.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_AccessDeclarations()
- * @model containment="true"
- * @generated
- */
- EList<AccessContext> getAccessDeclarations();
-
-} // OseeDsl
+ */ +package org.eclipse.osee.framework.core.dsl.oseeDsl; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Osee Dsl</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getImports <em>Imports</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getArtifactTypes <em>Artifact Types</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getRelationTypes <em>Relation Types</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getAttributeTypes <em>Attribute Types</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getEnumTypes <em>Enum Types</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getEnumOverrides <em>Enum Overrides</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getBranchRefs <em>Branch Refs</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getArtifactRefs <em>Artifact Refs</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getAccessDeclarations <em>Access Declarations</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl() + * @model + * @generated + */ +public interface OseeDsl extends EObject +{ + /** + * Returns the value of the '<em><b>Imports</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.Import}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Imports</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Imports</em>' containment reference list. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_Imports() + * @model containment="true" + * @generated + */ + EList<Import> getImports(); + + /** + * Returns the value of the '<em><b>Artifact Types</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Artifact Types</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Artifact Types</em>' containment reference list. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_ArtifactTypes() + * @model containment="true" + * @generated + */ + EList<XArtifactType> getArtifactTypes(); + + /** + * Returns the value of the '<em><b>Relation Types</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Relation Types</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Relation Types</em>' containment reference list. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_RelationTypes() + * @model containment="true" + * @generated + */ + EList<XRelationType> getRelationTypes(); + + /** + * Returns the value of the '<em><b>Attribute Types</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Attribute Types</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Attribute Types</em>' containment reference list. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_AttributeTypes() + * @model containment="true" + * @generated + */ + EList<XAttributeType> getAttributeTypes(); + + /** + * Returns the value of the '<em><b>Enum Types</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Enum Types</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Enum Types</em>' containment reference list. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_EnumTypes() + * @model containment="true" + * @generated + */ + EList<XOseeEnumType> getEnumTypes(); + + /** + * Returns the value of the '<em><b>Enum Overrides</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Enum Overrides</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Enum Overrides</em>' containment reference list. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_EnumOverrides() + * @model containment="true" + * @generated + */ + EList<XOseeEnumOverride> getEnumOverrides(); + + /** + * Returns the value of the '<em><b>Branch Refs</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Branch Refs</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Branch Refs</em>' containment reference list. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_BranchRefs() + * @model containment="true" + * @generated + */ + EList<XBranchRef> getBranchRefs(); + + /** + * Returns the value of the '<em><b>Artifact Refs</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Artifact Refs</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Artifact Refs</em>' containment reference list. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_ArtifactRefs() + * @model containment="true" + * @generated + */ + EList<XArtifactRef> getArtifactRefs(); + + /** + * Returns the value of the '<em><b>Access Declarations</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Access Declarations</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Access Declarations</em>' containment reference list. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeDsl_AccessDeclarations() + * @model containment="true" + * @generated + */ + EList<AccessContext> getAccessDeclarations(); + +} // OseeDsl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OseeDslFactory.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OseeDslFactory.java index e9df5c404d7..8fc2722a857 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OseeDslFactory.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OseeDslFactory.java @@ -1,263 +1,263 @@ -/**
- * <copyright>
- * </copyright>
- *
+/** + * <copyright> + * </copyright> + * - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl;
-
-import org.eclipse.emf.ecore.EFactory;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Factory</b> for the model.
- * It provides a create method for each non-abstract class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage
- * @generated
- */
-public interface OseeDslFactory extends EFactory
-{
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- OseeDslFactory eINSTANCE = org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslFactoryImpl.init();
-
- /**
- * Returns a new object of class '<em>Osee Dsl</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Osee Dsl</em>'.
- * @generated
- */
- OseeDsl createOseeDsl();
-
- /**
- * Returns a new object of class '<em>Import</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Import</em>'.
- * @generated
- */
- Import createImport();
-
- /**
- * Returns a new object of class '<em>Osee Element</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Osee Element</em>'.
- * @generated
- */
- OseeElement createOseeElement();
-
- /**
- * Returns a new object of class '<em>Osee Type</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Osee Type</em>'.
- * @generated
- */
- OseeType createOseeType();
-
- /**
- * Returns a new object of class '<em>XArtifact Type</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>XArtifact Type</em>'.
- * @generated
- */
- XArtifactType createXArtifactType();
-
- /**
- * Returns a new object of class '<em>XAttribute Type Ref</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>XAttribute Type Ref</em>'.
- * @generated
- */
- XAttributeTypeRef createXAttributeTypeRef();
-
- /**
- * Returns a new object of class '<em>XAttribute Type</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>XAttribute Type</em>'.
- * @generated
- */
- XAttributeType createXAttributeType();
-
- /**
- * Returns a new object of class '<em>XOsee Enum Type</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>XOsee Enum Type</em>'.
- * @generated
- */
- XOseeEnumType createXOseeEnumType();
-
- /**
- * Returns a new object of class '<em>XOsee Enum Entry</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>XOsee Enum Entry</em>'.
- * @generated
- */
- XOseeEnumEntry createXOseeEnumEntry();
-
- /**
- * Returns a new object of class '<em>XOsee Enum Override</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>XOsee Enum Override</em>'.
- * @generated
- */
- XOseeEnumOverride createXOseeEnumOverride();
-
- /**
- * Returns a new object of class '<em>Override Option</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Override Option</em>'.
- * @generated
- */
- OverrideOption createOverrideOption();
-
- /**
- * Returns a new object of class '<em>Add Enum</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Add Enum</em>'.
- * @generated
- */
- AddEnum createAddEnum();
-
- /**
- * Returns a new object of class '<em>Remove Enum</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Remove Enum</em>'.
- * @generated
- */
- RemoveEnum createRemoveEnum();
-
- /**
- * Returns a new object of class '<em>XRelation Type</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>XRelation Type</em>'.
- * @generated
- */
- XRelationType createXRelationType();
-
- /**
- * Returns a new object of class '<em>XArtifact Ref</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>XArtifact Ref</em>'.
- * @generated
- */
- XArtifactRef createXArtifactRef();
-
- /**
- * Returns a new object of class '<em>XBranch Ref</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>XBranch Ref</em>'.
- * @generated
- */
- XBranchRef createXBranchRef();
-
- /**
- * Returns a new object of class '<em>Access Context</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Access Context</em>'.
- * @generated
- */
- AccessContext createAccessContext();
-
- /**
- * Returns a new object of class '<em>Hierarchy Restriction</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Hierarchy Restriction</em>'.
- * @generated
- */
- HierarchyRestriction createHierarchyRestriction();
-
- /**
- * Returns a new object of class '<em>Permission Rule</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Permission Rule</em>'.
- * @generated
- */
- PermissionRule createPermissionRule();
-
- /**
- * Returns a new object of class '<em>Object Restriction</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Object Restriction</em>'.
- * @generated
- */
- ObjectRestriction createObjectRestriction();
-
- /**
- * Returns a new object of class '<em>Artifact Instance Restriction</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Artifact Instance Restriction</em>'.
- * @generated
- */
- ArtifactInstanceRestriction createArtifactInstanceRestriction();
-
- /**
- * Returns a new object of class '<em>Artifact Type Restriction</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Artifact Type Restriction</em>'.
- * @generated
- */
- ArtifactTypeRestriction createArtifactTypeRestriction();
-
- /**
- * Returns a new object of class '<em>Relation Type Restriction</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Relation Type Restriction</em>'.
- * @generated
- */
- RelationTypeRestriction createRelationTypeRestriction();
-
- /**
- * Returns a new object of class '<em>Attribute Type Restriction</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Attribute Type Restriction</em>'.
- * @generated
- */
- AttributeTypeRestriction createAttributeTypeRestriction();
-
- /**
- * Returns a new object of class '<em>Attribute Type Of Artifact Type Restriction</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Attribute Type Of Artifact Type Restriction</em>'.
- * @generated
- */
- AttributeTypeOfArtifactTypeRestriction createAttributeTypeOfArtifactTypeRestriction();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated
- */
- OseeDslPackage getOseeDslPackage();
-
-} //OseeDslFactory
+ */ +package org.eclipse.osee.framework.core.dsl.oseeDsl; + +import org.eclipse.emf.ecore.EFactory; + +/** + * <!-- begin-user-doc --> + * The <b>Factory</b> for the model. + * It provides a create method for each non-abstract class of the model. + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage + * @generated + */ +public interface OseeDslFactory extends EFactory +{ + /** + * The singleton instance of the factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + OseeDslFactory eINSTANCE = org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslFactoryImpl.init(); + + /** + * Returns a new object of class '<em>Osee Dsl</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Osee Dsl</em>'. + * @generated + */ + OseeDsl createOseeDsl(); + + /** + * Returns a new object of class '<em>Import</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Import</em>'. + * @generated + */ + Import createImport(); + + /** + * Returns a new object of class '<em>Osee Element</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Osee Element</em>'. + * @generated + */ + OseeElement createOseeElement(); + + /** + * Returns a new object of class '<em>Osee Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Osee Type</em>'. + * @generated + */ + OseeType createOseeType(); + + /** + * Returns a new object of class '<em>XArtifact Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>XArtifact Type</em>'. + * @generated + */ + XArtifactType createXArtifactType(); + + /** + * Returns a new object of class '<em>XAttribute Type Ref</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>XAttribute Type Ref</em>'. + * @generated + */ + XAttributeTypeRef createXAttributeTypeRef(); + + /** + * Returns a new object of class '<em>XAttribute Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>XAttribute Type</em>'. + * @generated + */ + XAttributeType createXAttributeType(); + + /** + * Returns a new object of class '<em>XOsee Enum Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>XOsee Enum Type</em>'. + * @generated + */ + XOseeEnumType createXOseeEnumType(); + + /** + * Returns a new object of class '<em>XOsee Enum Entry</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>XOsee Enum Entry</em>'. + * @generated + */ + XOseeEnumEntry createXOseeEnumEntry(); + + /** + * Returns a new object of class '<em>XOsee Enum Override</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>XOsee Enum Override</em>'. + * @generated + */ + XOseeEnumOverride createXOseeEnumOverride(); + + /** + * Returns a new object of class '<em>Override Option</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Override Option</em>'. + * @generated + */ + OverrideOption createOverrideOption(); + + /** + * Returns a new object of class '<em>Add Enum</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Add Enum</em>'. + * @generated + */ + AddEnum createAddEnum(); + + /** + * Returns a new object of class '<em>Remove Enum</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Remove Enum</em>'. + * @generated + */ + RemoveEnum createRemoveEnum(); + + /** + * Returns a new object of class '<em>XRelation Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>XRelation Type</em>'. + * @generated + */ + XRelationType createXRelationType(); + + /** + * Returns a new object of class '<em>XArtifact Ref</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>XArtifact Ref</em>'. + * @generated + */ + XArtifactRef createXArtifactRef(); + + /** + * Returns a new object of class '<em>XBranch Ref</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>XBranch Ref</em>'. + * @generated + */ + XBranchRef createXBranchRef(); + + /** + * Returns a new object of class '<em>Access Context</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Access Context</em>'. + * @generated + */ + AccessContext createAccessContext(); + + /** + * Returns a new object of class '<em>Hierarchy Restriction</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Hierarchy Restriction</em>'. + * @generated + */ + HierarchyRestriction createHierarchyRestriction(); + + /** + * Returns a new object of class '<em>Permission Rule</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Permission Rule</em>'. + * @generated + */ + PermissionRule createPermissionRule(); + + /** + * Returns a new object of class '<em>Object Restriction</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Object Restriction</em>'. + * @generated + */ + ObjectRestriction createObjectRestriction(); + + /** + * Returns a new object of class '<em>Artifact Instance Restriction</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Artifact Instance Restriction</em>'. + * @generated + */ + ArtifactInstanceRestriction createArtifactInstanceRestriction(); + + /** + * Returns a new object of class '<em>Artifact Type Restriction</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Artifact Type Restriction</em>'. + * @generated + */ + ArtifactTypeRestriction createArtifactTypeRestriction(); + + /** + * Returns a new object of class '<em>Relation Type Restriction</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Relation Type Restriction</em>'. + * @generated + */ + RelationTypeRestriction createRelationTypeRestriction(); + + /** + * Returns a new object of class '<em>Attribute Type Restriction</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Attribute Type Restriction</em>'. + * @generated + */ + AttributeTypeRestriction createAttributeTypeRestriction(); + + /** + * Returns a new object of class '<em>Attribute Type Of Artifact Type Restriction</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Attribute Type Of Artifact Type Restriction</em>'. + * @generated + */ + AttributeTypeOfArtifactTypeRestriction createAttributeTypeOfArtifactTypeRestriction(); + + /** + * Returns the package supported by this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the package supported by this factory. + * @generated + */ + OseeDslPackage getOseeDslPackage(); + +} //OseeDslFactory diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OseeDslPackage.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OseeDslPackage.java index 818f34adeb8..1446a1deb4b 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OseeDslPackage.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OseeDslPackage.java @@ -1,3019 +1,3019 @@ -/**
- * <copyright>
- * </copyright>
- *
- - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EEnum;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Package</b> for the model.
- * It contains accessors for the meta objects to represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslFactory
- * @model kind="package"
- * @generated
- */
-public interface OseeDslPackage extends EPackage
-{
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNAME = "oseeDsl";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_URI = "http://www.eclipse.org/osee/framework/core/dsl/OseeDsl";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_PREFIX = "oseeDsl";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- OseeDslPackage eINSTANCE = org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl <em>Osee Dsl</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getOseeDsl()
- * @generated
- */
- int OSEE_DSL = 0;
-
- /**
- * The feature id for the '<em><b>Imports</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OSEE_DSL__IMPORTS = 0;
-
- /**
- * The feature id for the '<em><b>Artifact Types</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OSEE_DSL__ARTIFACT_TYPES = 1;
-
- /**
- * The feature id for the '<em><b>Relation Types</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OSEE_DSL__RELATION_TYPES = 2;
-
- /**
- * The feature id for the '<em><b>Attribute Types</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OSEE_DSL__ATTRIBUTE_TYPES = 3;
-
- /**
- * The feature id for the '<em><b>Enum Types</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OSEE_DSL__ENUM_TYPES = 4;
-
- /**
- * The feature id for the '<em><b>Enum Overrides</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OSEE_DSL__ENUM_OVERRIDES = 5;
-
- /**
- * The feature id for the '<em><b>Branch Refs</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OSEE_DSL__BRANCH_REFS = 6;
-
- /**
- * The feature id for the '<em><b>Artifact Refs</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OSEE_DSL__ARTIFACT_REFS = 7;
-
- /**
- * The feature id for the '<em><b>Access Declarations</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OSEE_DSL__ACCESS_DECLARATIONS = 8;
-
- /**
- * The number of structural features of the '<em>Osee Dsl</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OSEE_DSL_FEATURE_COUNT = 9;
-
- /**
- * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ImportImpl <em>Import</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ImportImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getImport()
- * @generated
- */
- int IMPORT = 1;
-
- /**
- * The feature id for the '<em><b>Import URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IMPORT__IMPORT_URI = 0;
-
- /**
- * The number of structural features of the '<em>Import</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IMPORT_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeElementImpl <em>Osee Element</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeElementImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getOseeElement()
- * @generated
- */
- int OSEE_ELEMENT = 2;
-
- /**
- * The number of structural features of the '<em>Osee Element</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OSEE_ELEMENT_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeTypeImpl <em>Osee Type</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeTypeImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getOseeType()
- * @generated
- */
- int OSEE_TYPE = 3;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OSEE_TYPE__NAME = OSEE_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Type Guid</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OSEE_TYPE__TYPE_GUID = OSEE_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the '<em>Osee Type</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OSEE_TYPE_FEATURE_COUNT = OSEE_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactTypeImpl <em>XArtifact Type</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactTypeImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXArtifactType()
- * @generated
- */
- int XARTIFACT_TYPE = 4;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XARTIFACT_TYPE__NAME = OSEE_TYPE__NAME;
-
- /**
- * The feature id for the '<em><b>Type Guid</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XARTIFACT_TYPE__TYPE_GUID = OSEE_TYPE__TYPE_GUID;
-
- /**
- * The feature id for the '<em><b>Abstract</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XARTIFACT_TYPE__ABSTRACT = OSEE_TYPE_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Super Artifact Types</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XARTIFACT_TYPE__SUPER_ARTIFACT_TYPES = OSEE_TYPE_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Valid Attribute Types</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES = OSEE_TYPE_FEATURE_COUNT + 2;
-
- /**
- * The number of structural features of the '<em>XArtifact Type</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XARTIFACT_TYPE_FEATURE_COUNT = OSEE_TYPE_FEATURE_COUNT + 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeRefImpl <em>XAttribute Type Ref</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeRefImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXAttributeTypeRef()
- * @generated
- */
- int XATTRIBUTE_TYPE_REF = 5;
-
- /**
- * The feature id for the '<em><b>Valid Attribute Type</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XATTRIBUTE_TYPE_REF__VALID_ATTRIBUTE_TYPE = 0;
-
- /**
- * The feature id for the '<em><b>Branch Guid</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XATTRIBUTE_TYPE_REF__BRANCH_GUID = 1;
-
- /**
- * The number of structural features of the '<em>XAttribute Type Ref</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XATTRIBUTE_TYPE_REF_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl <em>XAttribute Type</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXAttributeType()
- * @generated
- */
- int XATTRIBUTE_TYPE = 6;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XATTRIBUTE_TYPE__NAME = OSEE_TYPE__NAME;
-
- /**
- * The feature id for the '<em><b>Type Guid</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XATTRIBUTE_TYPE__TYPE_GUID = OSEE_TYPE__TYPE_GUID;
-
- /**
- * The feature id for the '<em><b>Base Attribute Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XATTRIBUTE_TYPE__BASE_ATTRIBUTE_TYPE = OSEE_TYPE_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Override</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XATTRIBUTE_TYPE__OVERRIDE = OSEE_TYPE_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Data Provider</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XATTRIBUTE_TYPE__DATA_PROVIDER = OSEE_TYPE_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Min</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XATTRIBUTE_TYPE__MIN = OSEE_TYPE_FEATURE_COUNT + 3;
-
- /**
- * The feature id for the '<em><b>Max</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XATTRIBUTE_TYPE__MAX = OSEE_TYPE_FEATURE_COUNT + 4;
-
- /**
- * The feature id for the '<em><b>Tagger Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XATTRIBUTE_TYPE__TAGGER_ID = OSEE_TYPE_FEATURE_COUNT + 5;
-
- /**
- * The feature id for the '<em><b>Enum Type</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XATTRIBUTE_TYPE__ENUM_TYPE = OSEE_TYPE_FEATURE_COUNT + 6;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XATTRIBUTE_TYPE__DESCRIPTION = OSEE_TYPE_FEATURE_COUNT + 7;
-
- /**
- * The feature id for the '<em><b>Default Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XATTRIBUTE_TYPE__DEFAULT_VALUE = OSEE_TYPE_FEATURE_COUNT + 8;
-
- /**
- * The feature id for the '<em><b>File Extension</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XATTRIBUTE_TYPE__FILE_EXTENSION = OSEE_TYPE_FEATURE_COUNT + 9;
-
- /**
- * The number of structural features of the '<em>XAttribute Type</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XATTRIBUTE_TYPE_FEATURE_COUNT = OSEE_TYPE_FEATURE_COUNT + 10;
-
- /**
- * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumTypeImpl <em>XOsee Enum Type</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumTypeImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXOseeEnumType()
- * @generated
- */
- int XOSEE_ENUM_TYPE = 7;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XOSEE_ENUM_TYPE__NAME = OSEE_TYPE__NAME;
-
- /**
- * The feature id for the '<em><b>Type Guid</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XOSEE_ENUM_TYPE__TYPE_GUID = OSEE_TYPE__TYPE_GUID;
-
- /**
- * The feature id for the '<em><b>Enum Entries</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XOSEE_ENUM_TYPE__ENUM_ENTRIES = OSEE_TYPE_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>XOsee Enum Type</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XOSEE_ENUM_TYPE_FEATURE_COUNT = OSEE_TYPE_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumEntryImpl <em>XOsee Enum Entry</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumEntryImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXOseeEnumEntry()
- * @generated
- */
- int XOSEE_ENUM_ENTRY = 8;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XOSEE_ENUM_ENTRY__NAME = 0;
-
- /**
- * The feature id for the '<em><b>Ordinal</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XOSEE_ENUM_ENTRY__ORDINAL = 1;
-
- /**
- * The feature id for the '<em><b>Entry Guid</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XOSEE_ENUM_ENTRY__ENTRY_GUID = 2;
-
- /**
- * The number of structural features of the '<em>XOsee Enum Entry</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XOSEE_ENUM_ENTRY_FEATURE_COUNT = 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumOverrideImpl <em>XOsee Enum Override</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumOverrideImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXOseeEnumOverride()
- * @generated
- */
- int XOSEE_ENUM_OVERRIDE = 9;
-
- /**
- * The feature id for the '<em><b>Overriden Enum Type</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XOSEE_ENUM_OVERRIDE__OVERRIDEN_ENUM_TYPE = OSEE_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Inherit All</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XOSEE_ENUM_OVERRIDE__INHERIT_ALL = OSEE_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Override Options</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS = OSEE_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The number of structural features of the '<em>XOsee Enum Override</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XOSEE_ENUM_OVERRIDE_FEATURE_COUNT = OSEE_ELEMENT_FEATURE_COUNT + 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OverrideOptionImpl <em>Override Option</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OverrideOptionImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getOverrideOption()
- * @generated
- */
- int OVERRIDE_OPTION = 10;
-
- /**
- * The number of structural features of the '<em>Override Option</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OVERRIDE_OPTION_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AddEnumImpl <em>Add Enum</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AddEnumImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getAddEnum()
- * @generated
- */
- int ADD_ENUM = 11;
-
- /**
- * The feature id for the '<em><b>Enum Entry</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADD_ENUM__ENUM_ENTRY = OVERRIDE_OPTION_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Ordinal</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADD_ENUM__ORDINAL = OVERRIDE_OPTION_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Entry Guid</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADD_ENUM__ENTRY_GUID = OVERRIDE_OPTION_FEATURE_COUNT + 2;
-
- /**
- * The number of structural features of the '<em>Add Enum</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADD_ENUM_FEATURE_COUNT = OVERRIDE_OPTION_FEATURE_COUNT + 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RemoveEnumImpl <em>Remove Enum</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RemoveEnumImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getRemoveEnum()
- * @generated
- */
- int REMOVE_ENUM = 12;
-
- /**
- * The feature id for the '<em><b>Enum Entry</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int REMOVE_ENUM__ENUM_ENTRY = OVERRIDE_OPTION_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Remove Enum</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int REMOVE_ENUM_FEATURE_COUNT = OVERRIDE_OPTION_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl <em>XRelation Type</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXRelationType()
- * @generated
- */
- int XRELATION_TYPE = 13;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XRELATION_TYPE__NAME = OSEE_TYPE__NAME;
-
- /**
- * The feature id for the '<em><b>Type Guid</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XRELATION_TYPE__TYPE_GUID = OSEE_TYPE__TYPE_GUID;
-
- /**
- * The feature id for the '<em><b>Side AName</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XRELATION_TYPE__SIDE_ANAME = OSEE_TYPE_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Side AArtifact Type</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XRELATION_TYPE__SIDE_AARTIFACT_TYPE = OSEE_TYPE_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Side BName</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XRELATION_TYPE__SIDE_BNAME = OSEE_TYPE_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Side BArtifact Type</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XRELATION_TYPE__SIDE_BARTIFACT_TYPE = OSEE_TYPE_FEATURE_COUNT + 3;
-
- /**
- * The feature id for the '<em><b>Default Order Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XRELATION_TYPE__DEFAULT_ORDER_TYPE = OSEE_TYPE_FEATURE_COUNT + 4;
-
- /**
- * The feature id for the '<em><b>Multiplicity</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XRELATION_TYPE__MULTIPLICITY = OSEE_TYPE_FEATURE_COUNT + 5;
-
- /**
- * The number of structural features of the '<em>XRelation Type</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XRELATION_TYPE_FEATURE_COUNT = OSEE_TYPE_FEATURE_COUNT + 6;
-
- /**
- * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactRefImpl <em>XArtifact Ref</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactRefImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXArtifactRef()
- * @generated
- */
- int XARTIFACT_REF = 14;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XARTIFACT_REF__NAME = 0;
-
- /**
- * The feature id for the '<em><b>Guid</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XARTIFACT_REF__GUID = 1;
-
- /**
- * The number of structural features of the '<em>XArtifact Ref</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XARTIFACT_REF_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XBranchRefImpl <em>XBranch Ref</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XBranchRefImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXBranchRef()
- * @generated
- */
- int XBRANCH_REF = 15;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XBRANCH_REF__NAME = 0;
-
- /**
- * The feature id for the '<em><b>Guid</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XBRANCH_REF__GUID = 1;
-
- /**
- * The number of structural features of the '<em>XBranch Ref</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XBRANCH_REF_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AccessContextImpl <em>Access Context</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AccessContextImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getAccessContext()
- * @generated
- */
- int ACCESS_CONTEXT = 16;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ACCESS_CONTEXT__NAME = 0;
-
- /**
- * The feature id for the '<em><b>Super Access Contexts</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ACCESS_CONTEXT__SUPER_ACCESS_CONTEXTS = 1;
-
- /**
- * The feature id for the '<em><b>Type Guid</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ACCESS_CONTEXT__TYPE_GUID = 2;
-
- /**
- * The feature id for the '<em><b>Access Rules</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ACCESS_CONTEXT__ACCESS_RULES = 3;
-
- /**
- * The feature id for the '<em><b>Hierarchy Restrictions</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ACCESS_CONTEXT__HIERARCHY_RESTRICTIONS = 4;
-
- /**
- * The number of structural features of the '<em>Access Context</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ACCESS_CONTEXT_FEATURE_COUNT = 5;
-
- /**
- * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.HierarchyRestrictionImpl <em>Hierarchy Restriction</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.HierarchyRestrictionImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getHierarchyRestriction()
- * @generated
- */
- int HIERARCHY_RESTRICTION = 17;
-
- /**
- * The feature id for the '<em><b>Artifact</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int HIERARCHY_RESTRICTION__ARTIFACT = 0;
-
- /**
- * The feature id for the '<em><b>Access Rules</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int HIERARCHY_RESTRICTION__ACCESS_RULES = 1;
-
- /**
- * The number of structural features of the '<em>Hierarchy Restriction</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int HIERARCHY_RESTRICTION_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.PermissionRuleImpl <em>Permission Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.PermissionRuleImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getPermissionRule()
- * @generated
- */
- int PERMISSION_RULE = 18;
-
- /**
- * The feature id for the '<em><b>Permission</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PERMISSION_RULE__PERMISSION = 0;
-
- /**
- * The feature id for the '<em><b>Object Restriction</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PERMISSION_RULE__OBJECT_RESTRICTION = 1;
-
- /**
- * The number of structural features of the '<em>Permission Rule</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PERMISSION_RULE_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ObjectRestrictionImpl <em>Object Restriction</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ObjectRestrictionImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getObjectRestriction()
- * @generated
- */
- int OBJECT_RESTRICTION = 19;
-
- /**
- * The number of structural features of the '<em>Object Restriction</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OBJECT_RESTRICTION_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactInstanceRestrictionImpl <em>Artifact Instance Restriction</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactInstanceRestrictionImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getArtifactInstanceRestriction()
- * @generated
- */
- int ARTIFACT_INSTANCE_RESTRICTION = 20;
-
- /**
- * The feature id for the '<em><b>Artifact Name</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_NAME = OBJECT_RESTRICTION_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Artifact Instance Restriction</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ARTIFACT_INSTANCE_RESTRICTION_FEATURE_COUNT = OBJECT_RESTRICTION_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactTypeRestrictionImpl <em>Artifact Type Restriction</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactTypeRestrictionImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getArtifactTypeRestriction()
- * @generated
- */
- int ARTIFACT_TYPE_RESTRICTION = 21;
-
- /**
- * The feature id for the '<em><b>Artifact Type</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE = OBJECT_RESTRICTION_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Artifact Type Restriction</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ARTIFACT_TYPE_RESTRICTION_FEATURE_COUNT = OBJECT_RESTRICTION_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypeRestrictionImpl <em>Relation Type Restriction</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypeRestrictionImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getRelationTypeRestriction()
- * @generated
- */
- int RELATION_TYPE_RESTRICTION = 22;
-
- /**
- * The feature id for the '<em><b>Relation Type</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int RELATION_TYPE_RESTRICTION__RELATION_TYPE = OBJECT_RESTRICTION_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Restricted To</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int RELATION_TYPE_RESTRICTION__RESTRICTED_TO = OBJECT_RESTRICTION_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the '<em>Relation Type Restriction</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int RELATION_TYPE_RESTRICTION_FEATURE_COUNT = OBJECT_RESTRICTION_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeTypeRestrictionImpl <em>Attribute Type Restriction</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeTypeRestrictionImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getAttributeTypeRestriction()
- * @generated
- */
- int ATTRIBUTE_TYPE_RESTRICTION = 23;
-
- /**
- * The feature id for the '<em><b>Attribute Type</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE = OBJECT_RESTRICTION_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Attribute Type Restriction</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ATTRIBUTE_TYPE_RESTRICTION_FEATURE_COUNT = OBJECT_RESTRICTION_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeTypeOfArtifactTypeRestrictionImpl <em>Attribute Type Of Artifact Type Restriction</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeTypeOfArtifactTypeRestrictionImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getAttributeTypeOfArtifactTypeRestriction()
- * @generated
- */
- int ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION = 24;
-
- /**
- * The feature id for the '<em><b>Attribute Type</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ATTRIBUTE_TYPE = OBJECT_RESTRICTION_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Artifact Type</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE = OBJECT_RESTRICTION_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the '<em>Attribute Type Of Artifact Type Restriction</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION_FEATURE_COUNT = OBJECT_RESTRICTION_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum <em>Relation Multiplicity Enum</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getRelationMultiplicityEnum()
- * @generated
- */
- int RELATION_MULTIPLICITY_ENUM = 25;
-
- /**
- * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum <em>Access Permission Enum</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getAccessPermissionEnum()
- * @generated
- */
- int ACCESS_PERMISSION_ENUM = 26;
-
- /**
- * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeSideRestriction <em>Relation Type Side Restriction</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeSideRestriction
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getRelationTypeSideRestriction()
- * @generated
- */
- int RELATION_TYPE_SIDE_RESTRICTION = 27;
-
-
- /**
- * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl <em>Osee Dsl</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Osee Dsl</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl
- * @generated
- */
- EClass getOseeDsl();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getImports <em>Imports</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Imports</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getImports()
- * @see #getOseeDsl()
- * @generated
- */
- EReference getOseeDsl_Imports();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getArtifactTypes <em>Artifact Types</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Artifact Types</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getArtifactTypes()
- * @see #getOseeDsl()
- * @generated
- */
- EReference getOseeDsl_ArtifactTypes();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getRelationTypes <em>Relation Types</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Relation Types</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getRelationTypes()
- * @see #getOseeDsl()
- * @generated
- */
- EReference getOseeDsl_RelationTypes();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getAttributeTypes <em>Attribute Types</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Attribute Types</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getAttributeTypes()
- * @see #getOseeDsl()
- * @generated
- */
- EReference getOseeDsl_AttributeTypes();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getEnumTypes <em>Enum Types</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Enum Types</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getEnumTypes()
- * @see #getOseeDsl()
- * @generated
- */
- EReference getOseeDsl_EnumTypes();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getEnumOverrides <em>Enum Overrides</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Enum Overrides</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getEnumOverrides()
- * @see #getOseeDsl()
- * @generated
- */
- EReference getOseeDsl_EnumOverrides();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getBranchRefs <em>Branch Refs</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Branch Refs</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getBranchRefs()
- * @see #getOseeDsl()
- * @generated
- */
- EReference getOseeDsl_BranchRefs();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getArtifactRefs <em>Artifact Refs</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Artifact Refs</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getArtifactRefs()
- * @see #getOseeDsl()
- * @generated
- */
- EReference getOseeDsl_ArtifactRefs();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getAccessDeclarations <em>Access Declarations</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Access Declarations</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getAccessDeclarations()
- * @see #getOseeDsl()
- * @generated
- */
- EReference getOseeDsl_AccessDeclarations();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.Import <em>Import</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Import</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.Import
- * @generated
- */
- EClass getImport();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.Import#getImportURI <em>Import URI</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Import URI</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.Import#getImportURI()
- * @see #getImport()
- * @generated
- */
- EAttribute getImport_ImportURI();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeElement <em>Osee Element</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Osee Element</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeElement
- * @generated
- */
- EClass getOseeElement();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType <em>Osee Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Osee Type</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType
- * @generated
- */
- EClass getOseeType();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType#getName()
- * @see #getOseeType()
- * @generated
- */
- EAttribute getOseeType_Name();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType#getTypeGuid <em>Type Guid</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Type Guid</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType#getTypeGuid()
- * @see #getOseeType()
- * @generated
- */
- EAttribute getOseeType_TypeGuid();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType <em>XArtifact Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>XArtifact Type</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType
- * @generated
- */
- EClass getXArtifactType();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#isAbstract <em>Abstract</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Abstract</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#isAbstract()
- * @see #getXArtifactType()
- * @generated
- */
- EAttribute getXArtifactType_Abstract();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#getSuperArtifactTypes <em>Super Artifact Types</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference list '<em>Super Artifact Types</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#getSuperArtifactTypes()
- * @see #getXArtifactType()
- * @generated
- */
- EReference getXArtifactType_SuperArtifactTypes();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#getValidAttributeTypes <em>Valid Attribute Types</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Valid Attribute Types</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#getValidAttributeTypes()
- * @see #getXArtifactType()
- * @generated
- */
- EReference getXArtifactType_ValidAttributeTypes();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef <em>XAttribute Type Ref</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>XAttribute Type Ref</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef
- * @generated
- */
- EClass getXAttributeTypeRef();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef#getValidAttributeType <em>Valid Attribute Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Valid Attribute Type</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef#getValidAttributeType()
- * @see #getXAttributeTypeRef()
- * @generated
- */
- EReference getXAttributeTypeRef_ValidAttributeType();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef#getBranchGuid <em>Branch Guid</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Branch Guid</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef#getBranchGuid()
- * @see #getXAttributeTypeRef()
- * @generated
- */
- EAttribute getXAttributeTypeRef_BranchGuid();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType <em>XAttribute Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>XAttribute Type</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType
- * @generated
- */
- EClass getXAttributeType();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getBaseAttributeType <em>Base Attribute Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Base Attribute Type</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getBaseAttributeType()
- * @see #getXAttributeType()
- * @generated
- */
- EAttribute getXAttributeType_BaseAttributeType();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getOverride <em>Override</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Override</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getOverride()
- * @see #getXAttributeType()
- * @generated
- */
- EReference getXAttributeType_Override();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDataProvider <em>Data Provider</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Data Provider</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDataProvider()
- * @see #getXAttributeType()
- * @generated
- */
- EAttribute getXAttributeType_DataProvider();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getMin <em>Min</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Min</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getMin()
- * @see #getXAttributeType()
- * @generated
- */
- EAttribute getXAttributeType_Min();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getMax <em>Max</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Max</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getMax()
- * @see #getXAttributeType()
- * @generated
- */
- EAttribute getXAttributeType_Max();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getTaggerId <em>Tagger Id</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Tagger Id</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getTaggerId()
- * @see #getXAttributeType()
- * @generated
- */
- EAttribute getXAttributeType_TaggerId();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getEnumType <em>Enum Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Enum Type</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getEnumType()
- * @see #getXAttributeType()
- * @generated
- */
- EReference getXAttributeType_EnumType();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDescription <em>Description</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Description</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDescription()
- * @see #getXAttributeType()
- * @generated
- */
- EAttribute getXAttributeType_Description();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDefaultValue <em>Default Value</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Default Value</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDefaultValue()
- * @see #getXAttributeType()
- * @generated
- */
- EAttribute getXAttributeType_DefaultValue();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getFileExtension <em>File Extension</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>File Extension</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getFileExtension()
- * @see #getXAttributeType()
- * @generated
- */
- EAttribute getXAttributeType_FileExtension();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType <em>XOsee Enum Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>XOsee Enum Type</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType
- * @generated
- */
- EClass getXOseeEnumType();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType#getEnumEntries <em>Enum Entries</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Enum Entries</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType#getEnumEntries()
- * @see #getXOseeEnumType()
- * @generated
- */
- EReference getXOseeEnumType_EnumEntries();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry <em>XOsee Enum Entry</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>XOsee Enum Entry</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry
- * @generated
- */
- EClass getXOseeEnumEntry();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getName()
- * @see #getXOseeEnumEntry()
- * @generated
- */
- EAttribute getXOseeEnumEntry_Name();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getOrdinal <em>Ordinal</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Ordinal</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getOrdinal()
- * @see #getXOseeEnumEntry()
- * @generated
- */
- EAttribute getXOseeEnumEntry_Ordinal();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getEntryGuid <em>Entry Guid</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Entry Guid</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getEntryGuid()
- * @see #getXOseeEnumEntry()
- * @generated
- */
- EAttribute getXOseeEnumEntry_EntryGuid();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride <em>XOsee Enum Override</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>XOsee Enum Override</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride
- * @generated
- */
- EClass getXOseeEnumOverride();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#getOverridenEnumType <em>Overriden Enum Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Overriden Enum Type</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#getOverridenEnumType()
- * @see #getXOseeEnumOverride()
- * @generated
- */
- EReference getXOseeEnumOverride_OverridenEnumType();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#isInheritAll <em>Inherit All</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Inherit All</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#isInheritAll()
- * @see #getXOseeEnumOverride()
- * @generated
- */
- EAttribute getXOseeEnumOverride_InheritAll();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#getOverrideOptions <em>Override Options</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Override Options</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#getOverrideOptions()
- * @see #getXOseeEnumOverride()
- * @generated
- */
- EReference getXOseeEnumOverride_OverrideOptions();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OverrideOption <em>Override Option</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Override Option</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OverrideOption
- * @generated
- */
- EClass getOverrideOption();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum <em>Add Enum</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Add Enum</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum
- * @generated
- */
- EClass getAddEnum();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getEnumEntry <em>Enum Entry</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Enum Entry</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getEnumEntry()
- * @see #getAddEnum()
- * @generated
- */
- EAttribute getAddEnum_EnumEntry();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getOrdinal <em>Ordinal</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Ordinal</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getOrdinal()
- * @see #getAddEnum()
- * @generated
- */
- EAttribute getAddEnum_Ordinal();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getEntryGuid <em>Entry Guid</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Entry Guid</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getEntryGuid()
- * @see #getAddEnum()
- * @generated
- */
- EAttribute getAddEnum_EntryGuid();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum <em>Remove Enum</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Remove Enum</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum
- * @generated
- */
- EClass getRemoveEnum();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum#getEnumEntry <em>Enum Entry</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Enum Entry</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum#getEnumEntry()
- * @see #getRemoveEnum()
- * @generated
- */
- EReference getRemoveEnum_EnumEntry();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType <em>XRelation Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>XRelation Type</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType
- * @generated
- */
- EClass getXRelationType();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideAName <em>Side AName</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Side AName</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideAName()
- * @see #getXRelationType()
- * @generated
- */
- EAttribute getXRelationType_SideAName();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideAArtifactType <em>Side AArtifact Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Side AArtifact Type</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideAArtifactType()
- * @see #getXRelationType()
- * @generated
- */
- EReference getXRelationType_SideAArtifactType();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideBName <em>Side BName</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Side BName</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideBName()
- * @see #getXRelationType()
- * @generated
- */
- EAttribute getXRelationType_SideBName();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideBArtifactType <em>Side BArtifact Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Side BArtifact Type</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideBArtifactType()
- * @see #getXRelationType()
- * @generated
- */
- EReference getXRelationType_SideBArtifactType();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getDefaultOrderType <em>Default Order Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Default Order Type</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getDefaultOrderType()
- * @see #getXRelationType()
- * @generated
- */
- EAttribute getXRelationType_DefaultOrderType();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getMultiplicity <em>Multiplicity</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Multiplicity</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getMultiplicity()
- * @see #getXRelationType()
- * @generated
- */
- EAttribute getXRelationType_Multiplicity();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef <em>XArtifact Ref</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>XArtifact Ref</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef
- * @generated
- */
- EClass getXArtifactRef();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef#getName()
- * @see #getXArtifactRef()
- * @generated
- */
- EAttribute getXArtifactRef_Name();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef#getGuid <em>Guid</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Guid</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef#getGuid()
- * @see #getXArtifactRef()
- * @generated
- */
- EAttribute getXArtifactRef_Guid();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef <em>XBranch Ref</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>XBranch Ref</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef
- * @generated
- */
- EClass getXBranchRef();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef#getName()
- * @see #getXBranchRef()
- * @generated
- */
- EAttribute getXBranchRef_Name();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef#getGuid <em>Guid</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Guid</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef#getGuid()
- * @see #getXBranchRef()
- * @generated
- */
- EAttribute getXBranchRef_Guid();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext <em>Access Context</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Access Context</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext
- * @generated
- */
- EClass getAccessContext();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getName()
- * @see #getAccessContext()
- * @generated
- */
- EAttribute getAccessContext_Name();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getSuperAccessContexts <em>Super Access Contexts</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference list '<em>Super Access Contexts</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getSuperAccessContexts()
- * @see #getAccessContext()
- * @generated
- */
- EReference getAccessContext_SuperAccessContexts();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getTypeGuid <em>Type Guid</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Type Guid</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getTypeGuid()
- * @see #getAccessContext()
- * @generated
- */
- EAttribute getAccessContext_TypeGuid();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getAccessRules <em>Access Rules</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Access Rules</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getAccessRules()
- * @see #getAccessContext()
- * @generated
- */
- EReference getAccessContext_AccessRules();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getHierarchyRestrictions <em>Hierarchy Restrictions</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Hierarchy Restrictions</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getHierarchyRestrictions()
- * @see #getAccessContext()
- * @generated
- */
- EReference getAccessContext_HierarchyRestrictions();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction <em>Hierarchy Restriction</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Hierarchy Restriction</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction
- * @generated
- */
- EClass getHierarchyRestriction();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction#getArtifact <em>Artifact</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Artifact</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction#getArtifact()
- * @see #getHierarchyRestriction()
- * @generated
- */
- EReference getHierarchyRestriction_Artifact();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction#getAccessRules <em>Access Rules</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Access Rules</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction#getAccessRules()
- * @see #getHierarchyRestriction()
- * @generated
- */
- EReference getHierarchyRestriction_AccessRules();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule <em>Permission Rule</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Permission Rule</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule
- * @generated
- */
- EClass getPermissionRule();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule#getPermission <em>Permission</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Permission</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule#getPermission()
- * @see #getPermissionRule()
- * @generated
- */
- EAttribute getPermissionRule_Permission();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule#getObjectRestriction <em>Object Restriction</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Object Restriction</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule#getObjectRestriction()
- * @see #getPermissionRule()
- * @generated
- */
- EReference getPermissionRule_ObjectRestriction();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ObjectRestriction <em>Object Restriction</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Object Restriction</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.ObjectRestriction
- * @generated
- */
- EClass getObjectRestriction();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactInstanceRestriction <em>Artifact Instance Restriction</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Artifact Instance Restriction</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactInstanceRestriction
- * @generated
- */
- EClass getArtifactInstanceRestriction();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactInstanceRestriction#getArtifactName <em>Artifact Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Artifact Name</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactInstanceRestriction#getArtifactName()
- * @see #getArtifactInstanceRestriction()
- * @generated
- */
- EReference getArtifactInstanceRestriction_ArtifactName();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction <em>Artifact Type Restriction</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Artifact Type Restriction</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction
- * @generated
- */
- EClass getArtifactTypeRestriction();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction#getArtifactType <em>Artifact Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Artifact Type</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction#getArtifactType()
- * @see #getArtifactTypeRestriction()
- * @generated
- */
- EReference getArtifactTypeRestriction_ArtifactType();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction <em>Relation Type Restriction</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Relation Type Restriction</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction
- * @generated
- */
- EClass getRelationTypeRestriction();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#getRelationType <em>Relation Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Relation Type</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#getRelationType()
- * @see #getRelationTypeRestriction()
- * @generated
- */
- EReference getRelationTypeRestriction_RelationType();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#getRestrictedTo <em>Restricted To</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute list '<em>Restricted To</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#getRestrictedTo()
- * @see #getRelationTypeRestriction()
- * @generated
- */
- EAttribute getRelationTypeRestriction_RestrictedTo();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction <em>Attribute Type Restriction</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Attribute Type Restriction</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction
- * @generated
- */
- EClass getAttributeTypeRestriction();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction#getAttributeType <em>Attribute Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Attribute Type</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction#getAttributeType()
- * @see #getAttributeTypeRestriction()
- * @generated
- */
- EReference getAttributeTypeRestriction_AttributeType();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction <em>Attribute Type Of Artifact Type Restriction</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Attribute Type Of Artifact Type Restriction</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction
- * @generated
- */
- EClass getAttributeTypeOfArtifactTypeRestriction();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction#getAttributeType <em>Attribute Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Attribute Type</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction#getAttributeType()
- * @see #getAttributeTypeOfArtifactTypeRestriction()
- * @generated
- */
- EReference getAttributeTypeOfArtifactTypeRestriction_AttributeType();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction#getArtifactType <em>Artifact Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Artifact Type</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction#getArtifactType()
- * @see #getAttributeTypeOfArtifactTypeRestriction()
- * @generated
- */
- EReference getAttributeTypeOfArtifactTypeRestriction_ArtifactType();
-
- /**
- * Returns the meta object for enum '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum <em>Relation Multiplicity Enum</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for enum '<em>Relation Multiplicity Enum</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum
- * @generated
- */
- EEnum getRelationMultiplicityEnum();
-
- /**
- * Returns the meta object for enum '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum <em>Access Permission Enum</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for enum '<em>Access Permission Enum</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum
- * @generated
- */
- EEnum getAccessPermissionEnum();
-
- /**
- * Returns the meta object for enum '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeSideRestriction <em>Relation Type Side Restriction</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for enum '<em>Relation Type Side Restriction</em>'.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeSideRestriction
- * @generated
- */
- EEnum getRelationTypeSideRestriction();
-
- /**
- * Returns the factory that creates the instances of the model.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the factory that creates the instances of the model.
- * @generated
- */
- OseeDslFactory getOseeDslFactory();
-
- /**
- * <!-- begin-user-doc -->
- * Defines literals for the meta objects that represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * @generated
- */
- interface Literals
- {
- /**
- * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl <em>Osee Dsl</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getOseeDsl()
- * @generated
- */
- EClass OSEE_DSL = eINSTANCE.getOseeDsl();
-
- /**
- * The meta object literal for the '<em><b>Imports</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference OSEE_DSL__IMPORTS = eINSTANCE.getOseeDsl_Imports();
-
- /**
- * The meta object literal for the '<em><b>Artifact Types</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference OSEE_DSL__ARTIFACT_TYPES = eINSTANCE.getOseeDsl_ArtifactTypes();
-
- /**
- * The meta object literal for the '<em><b>Relation Types</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference OSEE_DSL__RELATION_TYPES = eINSTANCE.getOseeDsl_RelationTypes();
-
- /**
- * The meta object literal for the '<em><b>Attribute Types</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference OSEE_DSL__ATTRIBUTE_TYPES = eINSTANCE.getOseeDsl_AttributeTypes();
-
- /**
- * The meta object literal for the '<em><b>Enum Types</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference OSEE_DSL__ENUM_TYPES = eINSTANCE.getOseeDsl_EnumTypes();
-
- /**
- * The meta object literal for the '<em><b>Enum Overrides</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference OSEE_DSL__ENUM_OVERRIDES = eINSTANCE.getOseeDsl_EnumOverrides();
-
- /**
- * The meta object literal for the '<em><b>Branch Refs</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference OSEE_DSL__BRANCH_REFS = eINSTANCE.getOseeDsl_BranchRefs();
-
- /**
- * The meta object literal for the '<em><b>Artifact Refs</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference OSEE_DSL__ARTIFACT_REFS = eINSTANCE.getOseeDsl_ArtifactRefs();
-
- /**
- * The meta object literal for the '<em><b>Access Declarations</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference OSEE_DSL__ACCESS_DECLARATIONS = eINSTANCE.getOseeDsl_AccessDeclarations();
-
- /**
- * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ImportImpl <em>Import</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ImportImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getImport()
- * @generated
- */
- EClass IMPORT = eINSTANCE.getImport();
-
- /**
- * The meta object literal for the '<em><b>Import URI</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute IMPORT__IMPORT_URI = eINSTANCE.getImport_ImportURI();
-
- /**
- * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeElementImpl <em>Osee Element</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeElementImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getOseeElement()
- * @generated
- */
- EClass OSEE_ELEMENT = eINSTANCE.getOseeElement();
-
- /**
- * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeTypeImpl <em>Osee Type</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeTypeImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getOseeType()
- * @generated
- */
- EClass OSEE_TYPE = eINSTANCE.getOseeType();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute OSEE_TYPE__NAME = eINSTANCE.getOseeType_Name();
-
- /**
- * The meta object literal for the '<em><b>Type Guid</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute OSEE_TYPE__TYPE_GUID = eINSTANCE.getOseeType_TypeGuid();
-
- /**
- * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactTypeImpl <em>XArtifact Type</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactTypeImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXArtifactType()
- * @generated
- */
- EClass XARTIFACT_TYPE = eINSTANCE.getXArtifactType();
-
- /**
- * The meta object literal for the '<em><b>Abstract</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute XARTIFACT_TYPE__ABSTRACT = eINSTANCE.getXArtifactType_Abstract();
-
- /**
- * The meta object literal for the '<em><b>Super Artifact Types</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference XARTIFACT_TYPE__SUPER_ARTIFACT_TYPES = eINSTANCE.getXArtifactType_SuperArtifactTypes();
-
- /**
- * The meta object literal for the '<em><b>Valid Attribute Types</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES = eINSTANCE.getXArtifactType_ValidAttributeTypes();
-
- /**
- * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeRefImpl <em>XAttribute Type Ref</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeRefImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXAttributeTypeRef()
- * @generated
- */
- EClass XATTRIBUTE_TYPE_REF = eINSTANCE.getXAttributeTypeRef();
-
- /**
- * The meta object literal for the '<em><b>Valid Attribute Type</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference XATTRIBUTE_TYPE_REF__VALID_ATTRIBUTE_TYPE = eINSTANCE.getXAttributeTypeRef_ValidAttributeType();
-
- /**
- * The meta object literal for the '<em><b>Branch Guid</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute XATTRIBUTE_TYPE_REF__BRANCH_GUID = eINSTANCE.getXAttributeTypeRef_BranchGuid();
-
- /**
- * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl <em>XAttribute Type</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXAttributeType()
- * @generated
- */
- EClass XATTRIBUTE_TYPE = eINSTANCE.getXAttributeType();
-
- /**
- * The meta object literal for the '<em><b>Base Attribute Type</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute XATTRIBUTE_TYPE__BASE_ATTRIBUTE_TYPE = eINSTANCE.getXAttributeType_BaseAttributeType();
-
- /**
- * The meta object literal for the '<em><b>Override</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference XATTRIBUTE_TYPE__OVERRIDE = eINSTANCE.getXAttributeType_Override();
-
- /**
- * The meta object literal for the '<em><b>Data Provider</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute XATTRIBUTE_TYPE__DATA_PROVIDER = eINSTANCE.getXAttributeType_DataProvider();
-
- /**
- * The meta object literal for the '<em><b>Min</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute XATTRIBUTE_TYPE__MIN = eINSTANCE.getXAttributeType_Min();
-
- /**
- * The meta object literal for the '<em><b>Max</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute XATTRIBUTE_TYPE__MAX = eINSTANCE.getXAttributeType_Max();
-
- /**
- * The meta object literal for the '<em><b>Tagger Id</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute XATTRIBUTE_TYPE__TAGGER_ID = eINSTANCE.getXAttributeType_TaggerId();
-
- /**
- * The meta object literal for the '<em><b>Enum Type</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference XATTRIBUTE_TYPE__ENUM_TYPE = eINSTANCE.getXAttributeType_EnumType();
-
- /**
- * The meta object literal for the '<em><b>Description</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute XATTRIBUTE_TYPE__DESCRIPTION = eINSTANCE.getXAttributeType_Description();
-
- /**
- * The meta object literal for the '<em><b>Default Value</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute XATTRIBUTE_TYPE__DEFAULT_VALUE = eINSTANCE.getXAttributeType_DefaultValue();
-
- /**
- * The meta object literal for the '<em><b>File Extension</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute XATTRIBUTE_TYPE__FILE_EXTENSION = eINSTANCE.getXAttributeType_FileExtension();
-
- /**
- * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumTypeImpl <em>XOsee Enum Type</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumTypeImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXOseeEnumType()
- * @generated
- */
- EClass XOSEE_ENUM_TYPE = eINSTANCE.getXOseeEnumType();
-
- /**
- * The meta object literal for the '<em><b>Enum Entries</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference XOSEE_ENUM_TYPE__ENUM_ENTRIES = eINSTANCE.getXOseeEnumType_EnumEntries();
-
- /**
- * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumEntryImpl <em>XOsee Enum Entry</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumEntryImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXOseeEnumEntry()
- * @generated
- */
- EClass XOSEE_ENUM_ENTRY = eINSTANCE.getXOseeEnumEntry();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute XOSEE_ENUM_ENTRY__NAME = eINSTANCE.getXOseeEnumEntry_Name();
-
- /**
- * The meta object literal for the '<em><b>Ordinal</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute XOSEE_ENUM_ENTRY__ORDINAL = eINSTANCE.getXOseeEnumEntry_Ordinal();
-
- /**
- * The meta object literal for the '<em><b>Entry Guid</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute XOSEE_ENUM_ENTRY__ENTRY_GUID = eINSTANCE.getXOseeEnumEntry_EntryGuid();
-
- /**
- * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumOverrideImpl <em>XOsee Enum Override</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumOverrideImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXOseeEnumOverride()
- * @generated
- */
- EClass XOSEE_ENUM_OVERRIDE = eINSTANCE.getXOseeEnumOverride();
-
- /**
- * The meta object literal for the '<em><b>Overriden Enum Type</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference XOSEE_ENUM_OVERRIDE__OVERRIDEN_ENUM_TYPE = eINSTANCE.getXOseeEnumOverride_OverridenEnumType();
-
- /**
- * The meta object literal for the '<em><b>Inherit All</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute XOSEE_ENUM_OVERRIDE__INHERIT_ALL = eINSTANCE.getXOseeEnumOverride_InheritAll();
-
- /**
- * The meta object literal for the '<em><b>Override Options</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS = eINSTANCE.getXOseeEnumOverride_OverrideOptions();
-
- /**
- * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OverrideOptionImpl <em>Override Option</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OverrideOptionImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getOverrideOption()
- * @generated
- */
- EClass OVERRIDE_OPTION = eINSTANCE.getOverrideOption();
-
- /**
- * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AddEnumImpl <em>Add Enum</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AddEnumImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getAddEnum()
- * @generated
- */
- EClass ADD_ENUM = eINSTANCE.getAddEnum();
-
- /**
- * The meta object literal for the '<em><b>Enum Entry</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ADD_ENUM__ENUM_ENTRY = eINSTANCE.getAddEnum_EnumEntry();
-
- /**
- * The meta object literal for the '<em><b>Ordinal</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ADD_ENUM__ORDINAL = eINSTANCE.getAddEnum_Ordinal();
-
- /**
- * The meta object literal for the '<em><b>Entry Guid</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ADD_ENUM__ENTRY_GUID = eINSTANCE.getAddEnum_EntryGuid();
-
- /**
- * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RemoveEnumImpl <em>Remove Enum</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RemoveEnumImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getRemoveEnum()
- * @generated
- */
- EClass REMOVE_ENUM = eINSTANCE.getRemoveEnum();
-
- /**
- * The meta object literal for the '<em><b>Enum Entry</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference REMOVE_ENUM__ENUM_ENTRY = eINSTANCE.getRemoveEnum_EnumEntry();
-
- /**
- * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl <em>XRelation Type</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXRelationType()
- * @generated
- */
- EClass XRELATION_TYPE = eINSTANCE.getXRelationType();
-
- /**
- * The meta object literal for the '<em><b>Side AName</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute XRELATION_TYPE__SIDE_ANAME = eINSTANCE.getXRelationType_SideAName();
-
- /**
- * The meta object literal for the '<em><b>Side AArtifact Type</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference XRELATION_TYPE__SIDE_AARTIFACT_TYPE = eINSTANCE.getXRelationType_SideAArtifactType();
-
- /**
- * The meta object literal for the '<em><b>Side BName</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute XRELATION_TYPE__SIDE_BNAME = eINSTANCE.getXRelationType_SideBName();
-
- /**
- * The meta object literal for the '<em><b>Side BArtifact Type</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference XRELATION_TYPE__SIDE_BARTIFACT_TYPE = eINSTANCE.getXRelationType_SideBArtifactType();
-
- /**
- * The meta object literal for the '<em><b>Default Order Type</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute XRELATION_TYPE__DEFAULT_ORDER_TYPE = eINSTANCE.getXRelationType_DefaultOrderType();
-
- /**
- * The meta object literal for the '<em><b>Multiplicity</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute XRELATION_TYPE__MULTIPLICITY = eINSTANCE.getXRelationType_Multiplicity();
-
- /**
- * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactRefImpl <em>XArtifact Ref</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactRefImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXArtifactRef()
- * @generated
- */
- EClass XARTIFACT_REF = eINSTANCE.getXArtifactRef();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute XARTIFACT_REF__NAME = eINSTANCE.getXArtifactRef_Name();
-
- /**
- * The meta object literal for the '<em><b>Guid</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute XARTIFACT_REF__GUID = eINSTANCE.getXArtifactRef_Guid();
-
- /**
- * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XBranchRefImpl <em>XBranch Ref</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XBranchRefImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXBranchRef()
- * @generated
- */
- EClass XBRANCH_REF = eINSTANCE.getXBranchRef();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute XBRANCH_REF__NAME = eINSTANCE.getXBranchRef_Name();
-
- /**
- * The meta object literal for the '<em><b>Guid</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute XBRANCH_REF__GUID = eINSTANCE.getXBranchRef_Guid();
-
- /**
- * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AccessContextImpl <em>Access Context</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AccessContextImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getAccessContext()
- * @generated
- */
- EClass ACCESS_CONTEXT = eINSTANCE.getAccessContext();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ACCESS_CONTEXT__NAME = eINSTANCE.getAccessContext_Name();
-
- /**
- * The meta object literal for the '<em><b>Super Access Contexts</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference ACCESS_CONTEXT__SUPER_ACCESS_CONTEXTS = eINSTANCE.getAccessContext_SuperAccessContexts();
-
- /**
- * The meta object literal for the '<em><b>Type Guid</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ACCESS_CONTEXT__TYPE_GUID = eINSTANCE.getAccessContext_TypeGuid();
-
- /**
- * The meta object literal for the '<em><b>Access Rules</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference ACCESS_CONTEXT__ACCESS_RULES = eINSTANCE.getAccessContext_AccessRules();
-
- /**
- * The meta object literal for the '<em><b>Hierarchy Restrictions</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference ACCESS_CONTEXT__HIERARCHY_RESTRICTIONS = eINSTANCE.getAccessContext_HierarchyRestrictions();
-
- /**
- * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.HierarchyRestrictionImpl <em>Hierarchy Restriction</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.HierarchyRestrictionImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getHierarchyRestriction()
- * @generated
- */
- EClass HIERARCHY_RESTRICTION = eINSTANCE.getHierarchyRestriction();
-
- /**
- * The meta object literal for the '<em><b>Artifact</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference HIERARCHY_RESTRICTION__ARTIFACT = eINSTANCE.getHierarchyRestriction_Artifact();
-
- /**
- * The meta object literal for the '<em><b>Access Rules</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference HIERARCHY_RESTRICTION__ACCESS_RULES = eINSTANCE.getHierarchyRestriction_AccessRules();
-
- /**
- * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.PermissionRuleImpl <em>Permission Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.PermissionRuleImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getPermissionRule()
- * @generated
- */
- EClass PERMISSION_RULE = eINSTANCE.getPermissionRule();
-
- /**
- * The meta object literal for the '<em><b>Permission</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute PERMISSION_RULE__PERMISSION = eINSTANCE.getPermissionRule_Permission();
-
- /**
- * The meta object literal for the '<em><b>Object Restriction</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PERMISSION_RULE__OBJECT_RESTRICTION = eINSTANCE.getPermissionRule_ObjectRestriction();
-
- /**
- * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ObjectRestrictionImpl <em>Object Restriction</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ObjectRestrictionImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getObjectRestriction()
- * @generated
- */
- EClass OBJECT_RESTRICTION = eINSTANCE.getObjectRestriction();
-
- /**
- * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactInstanceRestrictionImpl <em>Artifact Instance Restriction</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactInstanceRestrictionImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getArtifactInstanceRestriction()
- * @generated
- */
- EClass ARTIFACT_INSTANCE_RESTRICTION = eINSTANCE.getArtifactInstanceRestriction();
-
- /**
- * The meta object literal for the '<em><b>Artifact Name</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_NAME = eINSTANCE.getArtifactInstanceRestriction_ArtifactName();
-
- /**
- * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactTypeRestrictionImpl <em>Artifact Type Restriction</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactTypeRestrictionImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getArtifactTypeRestriction()
- * @generated
- */
- EClass ARTIFACT_TYPE_RESTRICTION = eINSTANCE.getArtifactTypeRestriction();
-
- /**
- * The meta object literal for the '<em><b>Artifact Type</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE = eINSTANCE.getArtifactTypeRestriction_ArtifactType();
-
- /**
- * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypeRestrictionImpl <em>Relation Type Restriction</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypeRestrictionImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getRelationTypeRestriction()
- * @generated
- */
- EClass RELATION_TYPE_RESTRICTION = eINSTANCE.getRelationTypeRestriction();
-
- /**
- * The meta object literal for the '<em><b>Relation Type</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference RELATION_TYPE_RESTRICTION__RELATION_TYPE = eINSTANCE.getRelationTypeRestriction_RelationType();
-
- /**
- * The meta object literal for the '<em><b>Restricted To</b></em>' attribute list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute RELATION_TYPE_RESTRICTION__RESTRICTED_TO = eINSTANCE.getRelationTypeRestriction_RestrictedTo();
-
- /**
- * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeTypeRestrictionImpl <em>Attribute Type Restriction</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeTypeRestrictionImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getAttributeTypeRestriction()
- * @generated
- */
- EClass ATTRIBUTE_TYPE_RESTRICTION = eINSTANCE.getAttributeTypeRestriction();
-
- /**
- * The meta object literal for the '<em><b>Attribute Type</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE = eINSTANCE.getAttributeTypeRestriction_AttributeType();
-
- /**
- * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeTypeOfArtifactTypeRestrictionImpl <em>Attribute Type Of Artifact Type Restriction</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeTypeOfArtifactTypeRestrictionImpl
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getAttributeTypeOfArtifactTypeRestriction()
- * @generated
- */
- EClass ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION = eINSTANCE.getAttributeTypeOfArtifactTypeRestriction();
-
- /**
- * The meta object literal for the '<em><b>Attribute Type</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ATTRIBUTE_TYPE = eINSTANCE.getAttributeTypeOfArtifactTypeRestriction_AttributeType();
-
- /**
- * The meta object literal for the '<em><b>Artifact Type</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE = eINSTANCE.getAttributeTypeOfArtifactTypeRestriction_ArtifactType();
-
- /**
- * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum <em>Relation Multiplicity Enum</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getRelationMultiplicityEnum()
- * @generated
- */
- EEnum RELATION_MULTIPLICITY_ENUM = eINSTANCE.getRelationMultiplicityEnum();
-
- /**
- * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum <em>Access Permission Enum</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getAccessPermissionEnum()
- * @generated
- */
- EEnum ACCESS_PERMISSION_ENUM = eINSTANCE.getAccessPermissionEnum();
-
- /**
- * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeSideRestriction <em>Relation Type Side Restriction</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeSideRestriction
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getRelationTypeSideRestriction()
- * @generated
- */
- EEnum RELATION_TYPE_SIDE_RESTRICTION = eINSTANCE.getRelationTypeSideRestriction();
-
- }
-
-} //OseeDslPackage
+/** + * <copyright> + * </copyright> + * + + */ +package org.eclipse.osee.framework.core.dsl.oseeDsl; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +/** + * <!-- begin-user-doc --> + * The <b>Package</b> for the model. + * It contains accessors for the meta objects to represent + * <ul> + * <li>each class,</li> + * <li>each feature of each class,</li> + * <li>each enum,</li> + * <li>and each data type</li> + * </ul> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslFactory + * @model kind="package" + * @generated + */ +public interface OseeDslPackage extends EPackage +{ + /** + * The package name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNAME = "oseeDsl"; + + /** + * The package namespace URI. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNS_URI = "http://www.eclipse.org/osee/framework/core/dsl/OseeDsl"; + + /** + * The package namespace name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNS_PREFIX = "oseeDsl"; + + /** + * The singleton instance of the package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + OseeDslPackage eINSTANCE = org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl.init(); + + /** + * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl <em>Osee Dsl</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getOseeDsl() + * @generated + */ + int OSEE_DSL = 0; + + /** + * The feature id for the '<em><b>Imports</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OSEE_DSL__IMPORTS = 0; + + /** + * The feature id for the '<em><b>Artifact Types</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OSEE_DSL__ARTIFACT_TYPES = 1; + + /** + * The feature id for the '<em><b>Relation Types</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OSEE_DSL__RELATION_TYPES = 2; + + /** + * The feature id for the '<em><b>Attribute Types</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OSEE_DSL__ATTRIBUTE_TYPES = 3; + + /** + * The feature id for the '<em><b>Enum Types</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OSEE_DSL__ENUM_TYPES = 4; + + /** + * The feature id for the '<em><b>Enum Overrides</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OSEE_DSL__ENUM_OVERRIDES = 5; + + /** + * The feature id for the '<em><b>Branch Refs</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OSEE_DSL__BRANCH_REFS = 6; + + /** + * The feature id for the '<em><b>Artifact Refs</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OSEE_DSL__ARTIFACT_REFS = 7; + + /** + * The feature id for the '<em><b>Access Declarations</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OSEE_DSL__ACCESS_DECLARATIONS = 8; + + /** + * The number of structural features of the '<em>Osee Dsl</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OSEE_DSL_FEATURE_COUNT = 9; + + /** + * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ImportImpl <em>Import</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ImportImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getImport() + * @generated + */ + int IMPORT = 1; + + /** + * The feature id for the '<em><b>Import URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IMPORT__IMPORT_URI = 0; + + /** + * The number of structural features of the '<em>Import</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IMPORT_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeElementImpl <em>Osee Element</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeElementImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getOseeElement() + * @generated + */ + int OSEE_ELEMENT = 2; + + /** + * The number of structural features of the '<em>Osee Element</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OSEE_ELEMENT_FEATURE_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeTypeImpl <em>Osee Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeTypeImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getOseeType() + * @generated + */ + int OSEE_TYPE = 3; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OSEE_TYPE__NAME = OSEE_ELEMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Type Guid</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OSEE_TYPE__TYPE_GUID = OSEE_ELEMENT_FEATURE_COUNT + 1; + + /** + * The number of structural features of the '<em>Osee Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OSEE_TYPE_FEATURE_COUNT = OSEE_ELEMENT_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactTypeImpl <em>XArtifact Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactTypeImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXArtifactType() + * @generated + */ + int XARTIFACT_TYPE = 4; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XARTIFACT_TYPE__NAME = OSEE_TYPE__NAME; + + /** + * The feature id for the '<em><b>Type Guid</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XARTIFACT_TYPE__TYPE_GUID = OSEE_TYPE__TYPE_GUID; + + /** + * The feature id for the '<em><b>Abstract</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XARTIFACT_TYPE__ABSTRACT = OSEE_TYPE_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Super Artifact Types</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XARTIFACT_TYPE__SUPER_ARTIFACT_TYPES = OSEE_TYPE_FEATURE_COUNT + 1; + + /** + * The feature id for the '<em><b>Valid Attribute Types</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES = OSEE_TYPE_FEATURE_COUNT + 2; + + /** + * The number of structural features of the '<em>XArtifact Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XARTIFACT_TYPE_FEATURE_COUNT = OSEE_TYPE_FEATURE_COUNT + 3; + + /** + * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeRefImpl <em>XAttribute Type Ref</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeRefImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXAttributeTypeRef() + * @generated + */ + int XATTRIBUTE_TYPE_REF = 5; + + /** + * The feature id for the '<em><b>Valid Attribute Type</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XATTRIBUTE_TYPE_REF__VALID_ATTRIBUTE_TYPE = 0; + + /** + * The feature id for the '<em><b>Branch Guid</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XATTRIBUTE_TYPE_REF__BRANCH_GUID = 1; + + /** + * The number of structural features of the '<em>XAttribute Type Ref</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XATTRIBUTE_TYPE_REF_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl <em>XAttribute Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXAttributeType() + * @generated + */ + int XATTRIBUTE_TYPE = 6; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XATTRIBUTE_TYPE__NAME = OSEE_TYPE__NAME; + + /** + * The feature id for the '<em><b>Type Guid</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XATTRIBUTE_TYPE__TYPE_GUID = OSEE_TYPE__TYPE_GUID; + + /** + * The feature id for the '<em><b>Base Attribute Type</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XATTRIBUTE_TYPE__BASE_ATTRIBUTE_TYPE = OSEE_TYPE_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Override</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XATTRIBUTE_TYPE__OVERRIDE = OSEE_TYPE_FEATURE_COUNT + 1; + + /** + * The feature id for the '<em><b>Data Provider</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XATTRIBUTE_TYPE__DATA_PROVIDER = OSEE_TYPE_FEATURE_COUNT + 2; + + /** + * The feature id for the '<em><b>Min</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XATTRIBUTE_TYPE__MIN = OSEE_TYPE_FEATURE_COUNT + 3; + + /** + * The feature id for the '<em><b>Max</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XATTRIBUTE_TYPE__MAX = OSEE_TYPE_FEATURE_COUNT + 4; + + /** + * The feature id for the '<em><b>Tagger Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XATTRIBUTE_TYPE__TAGGER_ID = OSEE_TYPE_FEATURE_COUNT + 5; + + /** + * The feature id for the '<em><b>Enum Type</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XATTRIBUTE_TYPE__ENUM_TYPE = OSEE_TYPE_FEATURE_COUNT + 6; + + /** + * The feature id for the '<em><b>Description</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XATTRIBUTE_TYPE__DESCRIPTION = OSEE_TYPE_FEATURE_COUNT + 7; + + /** + * The feature id for the '<em><b>Default Value</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XATTRIBUTE_TYPE__DEFAULT_VALUE = OSEE_TYPE_FEATURE_COUNT + 8; + + /** + * The feature id for the '<em><b>File Extension</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XATTRIBUTE_TYPE__FILE_EXTENSION = OSEE_TYPE_FEATURE_COUNT + 9; + + /** + * The number of structural features of the '<em>XAttribute Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XATTRIBUTE_TYPE_FEATURE_COUNT = OSEE_TYPE_FEATURE_COUNT + 10; + + /** + * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumTypeImpl <em>XOsee Enum Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumTypeImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXOseeEnumType() + * @generated + */ + int XOSEE_ENUM_TYPE = 7; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XOSEE_ENUM_TYPE__NAME = OSEE_TYPE__NAME; + + /** + * The feature id for the '<em><b>Type Guid</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XOSEE_ENUM_TYPE__TYPE_GUID = OSEE_TYPE__TYPE_GUID; + + /** + * The feature id for the '<em><b>Enum Entries</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XOSEE_ENUM_TYPE__ENUM_ENTRIES = OSEE_TYPE_FEATURE_COUNT + 0; + + /** + * The number of structural features of the '<em>XOsee Enum Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XOSEE_ENUM_TYPE_FEATURE_COUNT = OSEE_TYPE_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumEntryImpl <em>XOsee Enum Entry</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumEntryImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXOseeEnumEntry() + * @generated + */ + int XOSEE_ENUM_ENTRY = 8; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XOSEE_ENUM_ENTRY__NAME = 0; + + /** + * The feature id for the '<em><b>Ordinal</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XOSEE_ENUM_ENTRY__ORDINAL = 1; + + /** + * The feature id for the '<em><b>Entry Guid</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XOSEE_ENUM_ENTRY__ENTRY_GUID = 2; + + /** + * The number of structural features of the '<em>XOsee Enum Entry</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XOSEE_ENUM_ENTRY_FEATURE_COUNT = 3; + + /** + * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumOverrideImpl <em>XOsee Enum Override</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumOverrideImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXOseeEnumOverride() + * @generated + */ + int XOSEE_ENUM_OVERRIDE = 9; + + /** + * The feature id for the '<em><b>Overriden Enum Type</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XOSEE_ENUM_OVERRIDE__OVERRIDEN_ENUM_TYPE = OSEE_ELEMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Inherit All</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XOSEE_ENUM_OVERRIDE__INHERIT_ALL = OSEE_ELEMENT_FEATURE_COUNT + 1; + + /** + * The feature id for the '<em><b>Override Options</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS = OSEE_ELEMENT_FEATURE_COUNT + 2; + + /** + * The number of structural features of the '<em>XOsee Enum Override</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XOSEE_ENUM_OVERRIDE_FEATURE_COUNT = OSEE_ELEMENT_FEATURE_COUNT + 3; + + /** + * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OverrideOptionImpl <em>Override Option</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OverrideOptionImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getOverrideOption() + * @generated + */ + int OVERRIDE_OPTION = 10; + + /** + * The number of structural features of the '<em>Override Option</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OVERRIDE_OPTION_FEATURE_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AddEnumImpl <em>Add Enum</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AddEnumImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getAddEnum() + * @generated + */ + int ADD_ENUM = 11; + + /** + * The feature id for the '<em><b>Enum Entry</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ADD_ENUM__ENUM_ENTRY = OVERRIDE_OPTION_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Ordinal</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ADD_ENUM__ORDINAL = OVERRIDE_OPTION_FEATURE_COUNT + 1; + + /** + * The feature id for the '<em><b>Entry Guid</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ADD_ENUM__ENTRY_GUID = OVERRIDE_OPTION_FEATURE_COUNT + 2; + + /** + * The number of structural features of the '<em>Add Enum</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ADD_ENUM_FEATURE_COUNT = OVERRIDE_OPTION_FEATURE_COUNT + 3; + + /** + * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RemoveEnumImpl <em>Remove Enum</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RemoveEnumImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getRemoveEnum() + * @generated + */ + int REMOVE_ENUM = 12; + + /** + * The feature id for the '<em><b>Enum Entry</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REMOVE_ENUM__ENUM_ENTRY = OVERRIDE_OPTION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the '<em>Remove Enum</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REMOVE_ENUM_FEATURE_COUNT = OVERRIDE_OPTION_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl <em>XRelation Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXRelationType() + * @generated + */ + int XRELATION_TYPE = 13; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XRELATION_TYPE__NAME = OSEE_TYPE__NAME; + + /** + * The feature id for the '<em><b>Type Guid</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XRELATION_TYPE__TYPE_GUID = OSEE_TYPE__TYPE_GUID; + + /** + * The feature id for the '<em><b>Side AName</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XRELATION_TYPE__SIDE_ANAME = OSEE_TYPE_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Side AArtifact Type</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XRELATION_TYPE__SIDE_AARTIFACT_TYPE = OSEE_TYPE_FEATURE_COUNT + 1; + + /** + * The feature id for the '<em><b>Side BName</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XRELATION_TYPE__SIDE_BNAME = OSEE_TYPE_FEATURE_COUNT + 2; + + /** + * The feature id for the '<em><b>Side BArtifact Type</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XRELATION_TYPE__SIDE_BARTIFACT_TYPE = OSEE_TYPE_FEATURE_COUNT + 3; + + /** + * The feature id for the '<em><b>Default Order Type</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XRELATION_TYPE__DEFAULT_ORDER_TYPE = OSEE_TYPE_FEATURE_COUNT + 4; + + /** + * The feature id for the '<em><b>Multiplicity</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XRELATION_TYPE__MULTIPLICITY = OSEE_TYPE_FEATURE_COUNT + 5; + + /** + * The number of structural features of the '<em>XRelation Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XRELATION_TYPE_FEATURE_COUNT = OSEE_TYPE_FEATURE_COUNT + 6; + + /** + * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactRefImpl <em>XArtifact Ref</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactRefImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXArtifactRef() + * @generated + */ + int XARTIFACT_REF = 14; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XARTIFACT_REF__NAME = 0; + + /** + * The feature id for the '<em><b>Guid</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XARTIFACT_REF__GUID = 1; + + /** + * The number of structural features of the '<em>XArtifact Ref</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XARTIFACT_REF_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XBranchRefImpl <em>XBranch Ref</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XBranchRefImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXBranchRef() + * @generated + */ + int XBRANCH_REF = 15; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XBRANCH_REF__NAME = 0; + + /** + * The feature id for the '<em><b>Guid</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XBRANCH_REF__GUID = 1; + + /** + * The number of structural features of the '<em>XBranch Ref</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int XBRANCH_REF_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AccessContextImpl <em>Access Context</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AccessContextImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getAccessContext() + * @generated + */ + int ACCESS_CONTEXT = 16; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ACCESS_CONTEXT__NAME = 0; + + /** + * The feature id for the '<em><b>Super Access Contexts</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ACCESS_CONTEXT__SUPER_ACCESS_CONTEXTS = 1; + + /** + * The feature id for the '<em><b>Type Guid</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ACCESS_CONTEXT__TYPE_GUID = 2; + + /** + * The feature id for the '<em><b>Access Rules</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ACCESS_CONTEXT__ACCESS_RULES = 3; + + /** + * The feature id for the '<em><b>Hierarchy Restrictions</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ACCESS_CONTEXT__HIERARCHY_RESTRICTIONS = 4; + + /** + * The number of structural features of the '<em>Access Context</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ACCESS_CONTEXT_FEATURE_COUNT = 5; + + /** + * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.HierarchyRestrictionImpl <em>Hierarchy Restriction</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.HierarchyRestrictionImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getHierarchyRestriction() + * @generated + */ + int HIERARCHY_RESTRICTION = 17; + + /** + * The feature id for the '<em><b>Artifact</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int HIERARCHY_RESTRICTION__ARTIFACT = 0; + + /** + * The feature id for the '<em><b>Access Rules</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int HIERARCHY_RESTRICTION__ACCESS_RULES = 1; + + /** + * The number of structural features of the '<em>Hierarchy Restriction</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int HIERARCHY_RESTRICTION_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.PermissionRuleImpl <em>Permission Rule</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.PermissionRuleImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getPermissionRule() + * @generated + */ + int PERMISSION_RULE = 18; + + /** + * The feature id for the '<em><b>Permission</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PERMISSION_RULE__PERMISSION = 0; + + /** + * The feature id for the '<em><b>Object Restriction</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PERMISSION_RULE__OBJECT_RESTRICTION = 1; + + /** + * The number of structural features of the '<em>Permission Rule</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PERMISSION_RULE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ObjectRestrictionImpl <em>Object Restriction</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ObjectRestrictionImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getObjectRestriction() + * @generated + */ + int OBJECT_RESTRICTION = 19; + + /** + * The number of structural features of the '<em>Object Restriction</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OBJECT_RESTRICTION_FEATURE_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactInstanceRestrictionImpl <em>Artifact Instance Restriction</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactInstanceRestrictionImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getArtifactInstanceRestriction() + * @generated + */ + int ARTIFACT_INSTANCE_RESTRICTION = 20; + + /** + * The feature id for the '<em><b>Artifact Name</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_NAME = OBJECT_RESTRICTION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the '<em>Artifact Instance Restriction</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ARTIFACT_INSTANCE_RESTRICTION_FEATURE_COUNT = OBJECT_RESTRICTION_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactTypeRestrictionImpl <em>Artifact Type Restriction</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactTypeRestrictionImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getArtifactTypeRestriction() + * @generated + */ + int ARTIFACT_TYPE_RESTRICTION = 21; + + /** + * The feature id for the '<em><b>Artifact Type</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE = OBJECT_RESTRICTION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the '<em>Artifact Type Restriction</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ARTIFACT_TYPE_RESTRICTION_FEATURE_COUNT = OBJECT_RESTRICTION_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypeRestrictionImpl <em>Relation Type Restriction</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypeRestrictionImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getRelationTypeRestriction() + * @generated + */ + int RELATION_TYPE_RESTRICTION = 22; + + /** + * The feature id for the '<em><b>Relation Type</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RELATION_TYPE_RESTRICTION__RELATION_TYPE = OBJECT_RESTRICTION_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Restricted To</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RELATION_TYPE_RESTRICTION__RESTRICTED_TO = OBJECT_RESTRICTION_FEATURE_COUNT + 1; + + /** + * The number of structural features of the '<em>Relation Type Restriction</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RELATION_TYPE_RESTRICTION_FEATURE_COUNT = OBJECT_RESTRICTION_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeTypeRestrictionImpl <em>Attribute Type Restriction</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeTypeRestrictionImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getAttributeTypeRestriction() + * @generated + */ + int ATTRIBUTE_TYPE_RESTRICTION = 23; + + /** + * The feature id for the '<em><b>Attribute Type</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE = OBJECT_RESTRICTION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the '<em>Attribute Type Restriction</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ATTRIBUTE_TYPE_RESTRICTION_FEATURE_COUNT = OBJECT_RESTRICTION_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeTypeOfArtifactTypeRestrictionImpl <em>Attribute Type Of Artifact Type Restriction</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeTypeOfArtifactTypeRestrictionImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getAttributeTypeOfArtifactTypeRestriction() + * @generated + */ + int ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION = 24; + + /** + * The feature id for the '<em><b>Attribute Type</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ATTRIBUTE_TYPE = OBJECT_RESTRICTION_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Artifact Type</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE = OBJECT_RESTRICTION_FEATURE_COUNT + 1; + + /** + * The number of structural features of the '<em>Attribute Type Of Artifact Type Restriction</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION_FEATURE_COUNT = OBJECT_RESTRICTION_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum <em>Relation Multiplicity Enum</em>}' enum. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getRelationMultiplicityEnum() + * @generated + */ + int RELATION_MULTIPLICITY_ENUM = 25; + + /** + * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum <em>Access Permission Enum</em>}' enum. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getAccessPermissionEnum() + * @generated + */ + int ACCESS_PERMISSION_ENUM = 26; + + /** + * The meta object id for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeSideRestriction <em>Relation Type Side Restriction</em>}' enum. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeSideRestriction + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getRelationTypeSideRestriction() + * @generated + */ + int RELATION_TYPE_SIDE_RESTRICTION = 27; + + + /** + * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl <em>Osee Dsl</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Osee Dsl</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl + * @generated + */ + EClass getOseeDsl(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getImports <em>Imports</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Imports</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getImports() + * @see #getOseeDsl() + * @generated + */ + EReference getOseeDsl_Imports(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getArtifactTypes <em>Artifact Types</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Artifact Types</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getArtifactTypes() + * @see #getOseeDsl() + * @generated + */ + EReference getOseeDsl_ArtifactTypes(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getRelationTypes <em>Relation Types</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Relation Types</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getRelationTypes() + * @see #getOseeDsl() + * @generated + */ + EReference getOseeDsl_RelationTypes(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getAttributeTypes <em>Attribute Types</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Attribute Types</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getAttributeTypes() + * @see #getOseeDsl() + * @generated + */ + EReference getOseeDsl_AttributeTypes(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getEnumTypes <em>Enum Types</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Enum Types</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getEnumTypes() + * @see #getOseeDsl() + * @generated + */ + EReference getOseeDsl_EnumTypes(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getEnumOverrides <em>Enum Overrides</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Enum Overrides</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getEnumOverrides() + * @see #getOseeDsl() + * @generated + */ + EReference getOseeDsl_EnumOverrides(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getBranchRefs <em>Branch Refs</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Branch Refs</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getBranchRefs() + * @see #getOseeDsl() + * @generated + */ + EReference getOseeDsl_BranchRefs(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getArtifactRefs <em>Artifact Refs</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Artifact Refs</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getArtifactRefs() + * @see #getOseeDsl() + * @generated + */ + EReference getOseeDsl_ArtifactRefs(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getAccessDeclarations <em>Access Declarations</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Access Declarations</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl#getAccessDeclarations() + * @see #getOseeDsl() + * @generated + */ + EReference getOseeDsl_AccessDeclarations(); + + /** + * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.Import <em>Import</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Import</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.Import + * @generated + */ + EClass getImport(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.Import#getImportURI <em>Import URI</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Import URI</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.Import#getImportURI() + * @see #getImport() + * @generated + */ + EAttribute getImport_ImportURI(); + + /** + * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeElement <em>Osee Element</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Osee Element</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeElement + * @generated + */ + EClass getOseeElement(); + + /** + * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType <em>Osee Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Osee Type</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType + * @generated + */ + EClass getOseeType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType#getName <em>Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Name</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType#getName() + * @see #getOseeType() + * @generated + */ + EAttribute getOseeType_Name(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType#getTypeGuid <em>Type Guid</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Type Guid</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType#getTypeGuid() + * @see #getOseeType() + * @generated + */ + EAttribute getOseeType_TypeGuid(); + + /** + * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType <em>XArtifact Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>XArtifact Type</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType + * @generated + */ + EClass getXArtifactType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#isAbstract <em>Abstract</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Abstract</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#isAbstract() + * @see #getXArtifactType() + * @generated + */ + EAttribute getXArtifactType_Abstract(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#getSuperArtifactTypes <em>Super Artifact Types</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference list '<em>Super Artifact Types</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#getSuperArtifactTypes() + * @see #getXArtifactType() + * @generated + */ + EReference getXArtifactType_SuperArtifactTypes(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#getValidAttributeTypes <em>Valid Attribute Types</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Valid Attribute Types</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#getValidAttributeTypes() + * @see #getXArtifactType() + * @generated + */ + EReference getXArtifactType_ValidAttributeTypes(); + + /** + * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef <em>XAttribute Type Ref</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>XAttribute Type Ref</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef + * @generated + */ + EClass getXAttributeTypeRef(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef#getValidAttributeType <em>Valid Attribute Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Valid Attribute Type</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef#getValidAttributeType() + * @see #getXAttributeTypeRef() + * @generated + */ + EReference getXAttributeTypeRef_ValidAttributeType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef#getBranchGuid <em>Branch Guid</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Branch Guid</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef#getBranchGuid() + * @see #getXAttributeTypeRef() + * @generated + */ + EAttribute getXAttributeTypeRef_BranchGuid(); + + /** + * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType <em>XAttribute Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>XAttribute Type</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType + * @generated + */ + EClass getXAttributeType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getBaseAttributeType <em>Base Attribute Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Base Attribute Type</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getBaseAttributeType() + * @see #getXAttributeType() + * @generated + */ + EAttribute getXAttributeType_BaseAttributeType(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getOverride <em>Override</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Override</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getOverride() + * @see #getXAttributeType() + * @generated + */ + EReference getXAttributeType_Override(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDataProvider <em>Data Provider</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Data Provider</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDataProvider() + * @see #getXAttributeType() + * @generated + */ + EAttribute getXAttributeType_DataProvider(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getMin <em>Min</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Min</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getMin() + * @see #getXAttributeType() + * @generated + */ + EAttribute getXAttributeType_Min(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getMax <em>Max</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Max</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getMax() + * @see #getXAttributeType() + * @generated + */ + EAttribute getXAttributeType_Max(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getTaggerId <em>Tagger Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Tagger Id</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getTaggerId() + * @see #getXAttributeType() + * @generated + */ + EAttribute getXAttributeType_TaggerId(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getEnumType <em>Enum Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Enum Type</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getEnumType() + * @see #getXAttributeType() + * @generated + */ + EReference getXAttributeType_EnumType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDescription <em>Description</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Description</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDescription() + * @see #getXAttributeType() + * @generated + */ + EAttribute getXAttributeType_Description(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDefaultValue <em>Default Value</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Default Value</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDefaultValue() + * @see #getXAttributeType() + * @generated + */ + EAttribute getXAttributeType_DefaultValue(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getFileExtension <em>File Extension</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>File Extension</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getFileExtension() + * @see #getXAttributeType() + * @generated + */ + EAttribute getXAttributeType_FileExtension(); + + /** + * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType <em>XOsee Enum Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>XOsee Enum Type</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType + * @generated + */ + EClass getXOseeEnumType(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType#getEnumEntries <em>Enum Entries</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Enum Entries</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType#getEnumEntries() + * @see #getXOseeEnumType() + * @generated + */ + EReference getXOseeEnumType_EnumEntries(); + + /** + * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry <em>XOsee Enum Entry</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>XOsee Enum Entry</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry + * @generated + */ + EClass getXOseeEnumEntry(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getName <em>Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Name</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getName() + * @see #getXOseeEnumEntry() + * @generated + */ + EAttribute getXOseeEnumEntry_Name(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getOrdinal <em>Ordinal</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Ordinal</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getOrdinal() + * @see #getXOseeEnumEntry() + * @generated + */ + EAttribute getXOseeEnumEntry_Ordinal(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getEntryGuid <em>Entry Guid</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Entry Guid</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getEntryGuid() + * @see #getXOseeEnumEntry() + * @generated + */ + EAttribute getXOseeEnumEntry_EntryGuid(); + + /** + * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride <em>XOsee Enum Override</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>XOsee Enum Override</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride + * @generated + */ + EClass getXOseeEnumOverride(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#getOverridenEnumType <em>Overriden Enum Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Overriden Enum Type</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#getOverridenEnumType() + * @see #getXOseeEnumOverride() + * @generated + */ + EReference getXOseeEnumOverride_OverridenEnumType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#isInheritAll <em>Inherit All</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Inherit All</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#isInheritAll() + * @see #getXOseeEnumOverride() + * @generated + */ + EAttribute getXOseeEnumOverride_InheritAll(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#getOverrideOptions <em>Override Options</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Override Options</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#getOverrideOptions() + * @see #getXOseeEnumOverride() + * @generated + */ + EReference getXOseeEnumOverride_OverrideOptions(); + + /** + * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OverrideOption <em>Override Option</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Override Option</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OverrideOption + * @generated + */ + EClass getOverrideOption(); + + /** + * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum <em>Add Enum</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Add Enum</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum + * @generated + */ + EClass getAddEnum(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getEnumEntry <em>Enum Entry</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Enum Entry</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getEnumEntry() + * @see #getAddEnum() + * @generated + */ + EAttribute getAddEnum_EnumEntry(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getOrdinal <em>Ordinal</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Ordinal</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getOrdinal() + * @see #getAddEnum() + * @generated + */ + EAttribute getAddEnum_Ordinal(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getEntryGuid <em>Entry Guid</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Entry Guid</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum#getEntryGuid() + * @see #getAddEnum() + * @generated + */ + EAttribute getAddEnum_EntryGuid(); + + /** + * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum <em>Remove Enum</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Remove Enum</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum + * @generated + */ + EClass getRemoveEnum(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum#getEnumEntry <em>Enum Entry</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Enum Entry</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum#getEnumEntry() + * @see #getRemoveEnum() + * @generated + */ + EReference getRemoveEnum_EnumEntry(); + + /** + * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType <em>XRelation Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>XRelation Type</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType + * @generated + */ + EClass getXRelationType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideAName <em>Side AName</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Side AName</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideAName() + * @see #getXRelationType() + * @generated + */ + EAttribute getXRelationType_SideAName(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideAArtifactType <em>Side AArtifact Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Side AArtifact Type</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideAArtifactType() + * @see #getXRelationType() + * @generated + */ + EReference getXRelationType_SideAArtifactType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideBName <em>Side BName</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Side BName</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideBName() + * @see #getXRelationType() + * @generated + */ + EAttribute getXRelationType_SideBName(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideBArtifactType <em>Side BArtifact Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Side BArtifact Type</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideBArtifactType() + * @see #getXRelationType() + * @generated + */ + EReference getXRelationType_SideBArtifactType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getDefaultOrderType <em>Default Order Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Default Order Type</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getDefaultOrderType() + * @see #getXRelationType() + * @generated + */ + EAttribute getXRelationType_DefaultOrderType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getMultiplicity <em>Multiplicity</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Multiplicity</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getMultiplicity() + * @see #getXRelationType() + * @generated + */ + EAttribute getXRelationType_Multiplicity(); + + /** + * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef <em>XArtifact Ref</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>XArtifact Ref</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef + * @generated + */ + EClass getXArtifactRef(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef#getName <em>Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Name</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef#getName() + * @see #getXArtifactRef() + * @generated + */ + EAttribute getXArtifactRef_Name(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef#getGuid <em>Guid</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Guid</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef#getGuid() + * @see #getXArtifactRef() + * @generated + */ + EAttribute getXArtifactRef_Guid(); + + /** + * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef <em>XBranch Ref</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>XBranch Ref</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef + * @generated + */ + EClass getXBranchRef(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef#getName <em>Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Name</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef#getName() + * @see #getXBranchRef() + * @generated + */ + EAttribute getXBranchRef_Name(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef#getGuid <em>Guid</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Guid</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef#getGuid() + * @see #getXBranchRef() + * @generated + */ + EAttribute getXBranchRef_Guid(); + + /** + * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext <em>Access Context</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Access Context</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext + * @generated + */ + EClass getAccessContext(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getName <em>Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Name</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getName() + * @see #getAccessContext() + * @generated + */ + EAttribute getAccessContext_Name(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getSuperAccessContexts <em>Super Access Contexts</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference list '<em>Super Access Contexts</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getSuperAccessContexts() + * @see #getAccessContext() + * @generated + */ + EReference getAccessContext_SuperAccessContexts(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getTypeGuid <em>Type Guid</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Type Guid</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getTypeGuid() + * @see #getAccessContext() + * @generated + */ + EAttribute getAccessContext_TypeGuid(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getAccessRules <em>Access Rules</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Access Rules</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getAccessRules() + * @see #getAccessContext() + * @generated + */ + EReference getAccessContext_AccessRules(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getHierarchyRestrictions <em>Hierarchy Restrictions</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Hierarchy Restrictions</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext#getHierarchyRestrictions() + * @see #getAccessContext() + * @generated + */ + EReference getAccessContext_HierarchyRestrictions(); + + /** + * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction <em>Hierarchy Restriction</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Hierarchy Restriction</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction + * @generated + */ + EClass getHierarchyRestriction(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction#getArtifact <em>Artifact</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Artifact</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction#getArtifact() + * @see #getHierarchyRestriction() + * @generated + */ + EReference getHierarchyRestriction_Artifact(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction#getAccessRules <em>Access Rules</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Access Rules</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction#getAccessRules() + * @see #getHierarchyRestriction() + * @generated + */ + EReference getHierarchyRestriction_AccessRules(); + + /** + * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule <em>Permission Rule</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Permission Rule</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule + * @generated + */ + EClass getPermissionRule(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule#getPermission <em>Permission</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Permission</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule#getPermission() + * @see #getPermissionRule() + * @generated + */ + EAttribute getPermissionRule_Permission(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule#getObjectRestriction <em>Object Restriction</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Object Restriction</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule#getObjectRestriction() + * @see #getPermissionRule() + * @generated + */ + EReference getPermissionRule_ObjectRestriction(); + + /** + * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ObjectRestriction <em>Object Restriction</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Object Restriction</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.ObjectRestriction + * @generated + */ + EClass getObjectRestriction(); + + /** + * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactInstanceRestriction <em>Artifact Instance Restriction</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Artifact Instance Restriction</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactInstanceRestriction + * @generated + */ + EClass getArtifactInstanceRestriction(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactInstanceRestriction#getArtifactName <em>Artifact Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Artifact Name</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactInstanceRestriction#getArtifactName() + * @see #getArtifactInstanceRestriction() + * @generated + */ + EReference getArtifactInstanceRestriction_ArtifactName(); + + /** + * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction <em>Artifact Type Restriction</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Artifact Type Restriction</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction + * @generated + */ + EClass getArtifactTypeRestriction(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction#getArtifactType <em>Artifact Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Artifact Type</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction#getArtifactType() + * @see #getArtifactTypeRestriction() + * @generated + */ + EReference getArtifactTypeRestriction_ArtifactType(); + + /** + * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction <em>Relation Type Restriction</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Relation Type Restriction</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction + * @generated + */ + EClass getRelationTypeRestriction(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#getRelationType <em>Relation Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Relation Type</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#getRelationType() + * @see #getRelationTypeRestriction() + * @generated + */ + EReference getRelationTypeRestriction_RelationType(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#getRestrictedTo <em>Restricted To</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute list '<em>Restricted To</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#getRestrictedTo() + * @see #getRelationTypeRestriction() + * @generated + */ + EAttribute getRelationTypeRestriction_RestrictedTo(); + + /** + * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction <em>Attribute Type Restriction</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Attribute Type Restriction</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction + * @generated + */ + EClass getAttributeTypeRestriction(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction#getAttributeType <em>Attribute Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Attribute Type</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction#getAttributeType() + * @see #getAttributeTypeRestriction() + * @generated + */ + EReference getAttributeTypeRestriction_AttributeType(); + + /** + * Returns the meta object for class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction <em>Attribute Type Of Artifact Type Restriction</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Attribute Type Of Artifact Type Restriction</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction + * @generated + */ + EClass getAttributeTypeOfArtifactTypeRestriction(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction#getAttributeType <em>Attribute Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Attribute Type</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction#getAttributeType() + * @see #getAttributeTypeOfArtifactTypeRestriction() + * @generated + */ + EReference getAttributeTypeOfArtifactTypeRestriction_AttributeType(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction#getArtifactType <em>Artifact Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Artifact Type</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction#getArtifactType() + * @see #getAttributeTypeOfArtifactTypeRestriction() + * @generated + */ + EReference getAttributeTypeOfArtifactTypeRestriction_ArtifactType(); + + /** + * Returns the meta object for enum '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum <em>Relation Multiplicity Enum</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for enum '<em>Relation Multiplicity Enum</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum + * @generated + */ + EEnum getRelationMultiplicityEnum(); + + /** + * Returns the meta object for enum '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum <em>Access Permission Enum</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for enum '<em>Access Permission Enum</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum + * @generated + */ + EEnum getAccessPermissionEnum(); + + /** + * Returns the meta object for enum '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeSideRestriction <em>Relation Type Side Restriction</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for enum '<em>Relation Type Side Restriction</em>'. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeSideRestriction + * @generated + */ + EEnum getRelationTypeSideRestriction(); + + /** + * Returns the factory that creates the instances of the model. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the factory that creates the instances of the model. + * @generated + */ + OseeDslFactory getOseeDslFactory(); + + /** + * <!-- begin-user-doc --> + * Defines literals for the meta objects that represent + * <ul> + * <li>each class,</li> + * <li>each feature of each class,</li> + * <li>each enum,</li> + * <li>and each data type</li> + * </ul> + * <!-- end-user-doc --> + * @generated + */ + interface Literals + { + /** + * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl <em>Osee Dsl</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getOseeDsl() + * @generated + */ + EClass OSEE_DSL = eINSTANCE.getOseeDsl(); + + /** + * The meta object literal for the '<em><b>Imports</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference OSEE_DSL__IMPORTS = eINSTANCE.getOseeDsl_Imports(); + + /** + * The meta object literal for the '<em><b>Artifact Types</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference OSEE_DSL__ARTIFACT_TYPES = eINSTANCE.getOseeDsl_ArtifactTypes(); + + /** + * The meta object literal for the '<em><b>Relation Types</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference OSEE_DSL__RELATION_TYPES = eINSTANCE.getOseeDsl_RelationTypes(); + + /** + * The meta object literal for the '<em><b>Attribute Types</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference OSEE_DSL__ATTRIBUTE_TYPES = eINSTANCE.getOseeDsl_AttributeTypes(); + + /** + * The meta object literal for the '<em><b>Enum Types</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference OSEE_DSL__ENUM_TYPES = eINSTANCE.getOseeDsl_EnumTypes(); + + /** + * The meta object literal for the '<em><b>Enum Overrides</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference OSEE_DSL__ENUM_OVERRIDES = eINSTANCE.getOseeDsl_EnumOverrides(); + + /** + * The meta object literal for the '<em><b>Branch Refs</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference OSEE_DSL__BRANCH_REFS = eINSTANCE.getOseeDsl_BranchRefs(); + + /** + * The meta object literal for the '<em><b>Artifact Refs</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference OSEE_DSL__ARTIFACT_REFS = eINSTANCE.getOseeDsl_ArtifactRefs(); + + /** + * The meta object literal for the '<em><b>Access Declarations</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference OSEE_DSL__ACCESS_DECLARATIONS = eINSTANCE.getOseeDsl_AccessDeclarations(); + + /** + * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ImportImpl <em>Import</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ImportImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getImport() + * @generated + */ + EClass IMPORT = eINSTANCE.getImport(); + + /** + * The meta object literal for the '<em><b>Import URI</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute IMPORT__IMPORT_URI = eINSTANCE.getImport_ImportURI(); + + /** + * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeElementImpl <em>Osee Element</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeElementImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getOseeElement() + * @generated + */ + EClass OSEE_ELEMENT = eINSTANCE.getOseeElement(); + + /** + * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeTypeImpl <em>Osee Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeTypeImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getOseeType() + * @generated + */ + EClass OSEE_TYPE = eINSTANCE.getOseeType(); + + /** + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute OSEE_TYPE__NAME = eINSTANCE.getOseeType_Name(); + + /** + * The meta object literal for the '<em><b>Type Guid</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute OSEE_TYPE__TYPE_GUID = eINSTANCE.getOseeType_TypeGuid(); + + /** + * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactTypeImpl <em>XArtifact Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactTypeImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXArtifactType() + * @generated + */ + EClass XARTIFACT_TYPE = eINSTANCE.getXArtifactType(); + + /** + * The meta object literal for the '<em><b>Abstract</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute XARTIFACT_TYPE__ABSTRACT = eINSTANCE.getXArtifactType_Abstract(); + + /** + * The meta object literal for the '<em><b>Super Artifact Types</b></em>' reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference XARTIFACT_TYPE__SUPER_ARTIFACT_TYPES = eINSTANCE.getXArtifactType_SuperArtifactTypes(); + + /** + * The meta object literal for the '<em><b>Valid Attribute Types</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES = eINSTANCE.getXArtifactType_ValidAttributeTypes(); + + /** + * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeRefImpl <em>XAttribute Type Ref</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeRefImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXAttributeTypeRef() + * @generated + */ + EClass XATTRIBUTE_TYPE_REF = eINSTANCE.getXAttributeTypeRef(); + + /** + * The meta object literal for the '<em><b>Valid Attribute Type</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference XATTRIBUTE_TYPE_REF__VALID_ATTRIBUTE_TYPE = eINSTANCE.getXAttributeTypeRef_ValidAttributeType(); + + /** + * The meta object literal for the '<em><b>Branch Guid</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute XATTRIBUTE_TYPE_REF__BRANCH_GUID = eINSTANCE.getXAttributeTypeRef_BranchGuid(); + + /** + * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl <em>XAttribute Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXAttributeType() + * @generated + */ + EClass XATTRIBUTE_TYPE = eINSTANCE.getXAttributeType(); + + /** + * The meta object literal for the '<em><b>Base Attribute Type</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute XATTRIBUTE_TYPE__BASE_ATTRIBUTE_TYPE = eINSTANCE.getXAttributeType_BaseAttributeType(); + + /** + * The meta object literal for the '<em><b>Override</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference XATTRIBUTE_TYPE__OVERRIDE = eINSTANCE.getXAttributeType_Override(); + + /** + * The meta object literal for the '<em><b>Data Provider</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute XATTRIBUTE_TYPE__DATA_PROVIDER = eINSTANCE.getXAttributeType_DataProvider(); + + /** + * The meta object literal for the '<em><b>Min</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute XATTRIBUTE_TYPE__MIN = eINSTANCE.getXAttributeType_Min(); + + /** + * The meta object literal for the '<em><b>Max</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute XATTRIBUTE_TYPE__MAX = eINSTANCE.getXAttributeType_Max(); + + /** + * The meta object literal for the '<em><b>Tagger Id</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute XATTRIBUTE_TYPE__TAGGER_ID = eINSTANCE.getXAttributeType_TaggerId(); + + /** + * The meta object literal for the '<em><b>Enum Type</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference XATTRIBUTE_TYPE__ENUM_TYPE = eINSTANCE.getXAttributeType_EnumType(); + + /** + * The meta object literal for the '<em><b>Description</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute XATTRIBUTE_TYPE__DESCRIPTION = eINSTANCE.getXAttributeType_Description(); + + /** + * The meta object literal for the '<em><b>Default Value</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute XATTRIBUTE_TYPE__DEFAULT_VALUE = eINSTANCE.getXAttributeType_DefaultValue(); + + /** + * The meta object literal for the '<em><b>File Extension</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute XATTRIBUTE_TYPE__FILE_EXTENSION = eINSTANCE.getXAttributeType_FileExtension(); + + /** + * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumTypeImpl <em>XOsee Enum Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumTypeImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXOseeEnumType() + * @generated + */ + EClass XOSEE_ENUM_TYPE = eINSTANCE.getXOseeEnumType(); + + /** + * The meta object literal for the '<em><b>Enum Entries</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference XOSEE_ENUM_TYPE__ENUM_ENTRIES = eINSTANCE.getXOseeEnumType_EnumEntries(); + + /** + * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumEntryImpl <em>XOsee Enum Entry</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumEntryImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXOseeEnumEntry() + * @generated + */ + EClass XOSEE_ENUM_ENTRY = eINSTANCE.getXOseeEnumEntry(); + + /** + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute XOSEE_ENUM_ENTRY__NAME = eINSTANCE.getXOseeEnumEntry_Name(); + + /** + * The meta object literal for the '<em><b>Ordinal</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute XOSEE_ENUM_ENTRY__ORDINAL = eINSTANCE.getXOseeEnumEntry_Ordinal(); + + /** + * The meta object literal for the '<em><b>Entry Guid</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute XOSEE_ENUM_ENTRY__ENTRY_GUID = eINSTANCE.getXOseeEnumEntry_EntryGuid(); + + /** + * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumOverrideImpl <em>XOsee Enum Override</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumOverrideImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXOseeEnumOverride() + * @generated + */ + EClass XOSEE_ENUM_OVERRIDE = eINSTANCE.getXOseeEnumOverride(); + + /** + * The meta object literal for the '<em><b>Overriden Enum Type</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference XOSEE_ENUM_OVERRIDE__OVERRIDEN_ENUM_TYPE = eINSTANCE.getXOseeEnumOverride_OverridenEnumType(); + + /** + * The meta object literal for the '<em><b>Inherit All</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute XOSEE_ENUM_OVERRIDE__INHERIT_ALL = eINSTANCE.getXOseeEnumOverride_InheritAll(); + + /** + * The meta object literal for the '<em><b>Override Options</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS = eINSTANCE.getXOseeEnumOverride_OverrideOptions(); + + /** + * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OverrideOptionImpl <em>Override Option</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OverrideOptionImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getOverrideOption() + * @generated + */ + EClass OVERRIDE_OPTION = eINSTANCE.getOverrideOption(); + + /** + * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AddEnumImpl <em>Add Enum</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AddEnumImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getAddEnum() + * @generated + */ + EClass ADD_ENUM = eINSTANCE.getAddEnum(); + + /** + * The meta object literal for the '<em><b>Enum Entry</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute ADD_ENUM__ENUM_ENTRY = eINSTANCE.getAddEnum_EnumEntry(); + + /** + * The meta object literal for the '<em><b>Ordinal</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute ADD_ENUM__ORDINAL = eINSTANCE.getAddEnum_Ordinal(); + + /** + * The meta object literal for the '<em><b>Entry Guid</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute ADD_ENUM__ENTRY_GUID = eINSTANCE.getAddEnum_EntryGuid(); + + /** + * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RemoveEnumImpl <em>Remove Enum</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RemoveEnumImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getRemoveEnum() + * @generated + */ + EClass REMOVE_ENUM = eINSTANCE.getRemoveEnum(); + + /** + * The meta object literal for the '<em><b>Enum Entry</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference REMOVE_ENUM__ENUM_ENTRY = eINSTANCE.getRemoveEnum_EnumEntry(); + + /** + * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl <em>XRelation Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXRelationType() + * @generated + */ + EClass XRELATION_TYPE = eINSTANCE.getXRelationType(); + + /** + * The meta object literal for the '<em><b>Side AName</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute XRELATION_TYPE__SIDE_ANAME = eINSTANCE.getXRelationType_SideAName(); + + /** + * The meta object literal for the '<em><b>Side AArtifact Type</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference XRELATION_TYPE__SIDE_AARTIFACT_TYPE = eINSTANCE.getXRelationType_SideAArtifactType(); + + /** + * The meta object literal for the '<em><b>Side BName</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute XRELATION_TYPE__SIDE_BNAME = eINSTANCE.getXRelationType_SideBName(); + + /** + * The meta object literal for the '<em><b>Side BArtifact Type</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference XRELATION_TYPE__SIDE_BARTIFACT_TYPE = eINSTANCE.getXRelationType_SideBArtifactType(); + + /** + * The meta object literal for the '<em><b>Default Order Type</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute XRELATION_TYPE__DEFAULT_ORDER_TYPE = eINSTANCE.getXRelationType_DefaultOrderType(); + + /** + * The meta object literal for the '<em><b>Multiplicity</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute XRELATION_TYPE__MULTIPLICITY = eINSTANCE.getXRelationType_Multiplicity(); + + /** + * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactRefImpl <em>XArtifact Ref</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactRefImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXArtifactRef() + * @generated + */ + EClass XARTIFACT_REF = eINSTANCE.getXArtifactRef(); + + /** + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute XARTIFACT_REF__NAME = eINSTANCE.getXArtifactRef_Name(); + + /** + * The meta object literal for the '<em><b>Guid</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute XARTIFACT_REF__GUID = eINSTANCE.getXArtifactRef_Guid(); + + /** + * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XBranchRefImpl <em>XBranch Ref</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XBranchRefImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getXBranchRef() + * @generated + */ + EClass XBRANCH_REF = eINSTANCE.getXBranchRef(); + + /** + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute XBRANCH_REF__NAME = eINSTANCE.getXBranchRef_Name(); + + /** + * The meta object literal for the '<em><b>Guid</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute XBRANCH_REF__GUID = eINSTANCE.getXBranchRef_Guid(); + + /** + * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AccessContextImpl <em>Access Context</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AccessContextImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getAccessContext() + * @generated + */ + EClass ACCESS_CONTEXT = eINSTANCE.getAccessContext(); + + /** + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute ACCESS_CONTEXT__NAME = eINSTANCE.getAccessContext_Name(); + + /** + * The meta object literal for the '<em><b>Super Access Contexts</b></em>' reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ACCESS_CONTEXT__SUPER_ACCESS_CONTEXTS = eINSTANCE.getAccessContext_SuperAccessContexts(); + + /** + * The meta object literal for the '<em><b>Type Guid</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute ACCESS_CONTEXT__TYPE_GUID = eINSTANCE.getAccessContext_TypeGuid(); + + /** + * The meta object literal for the '<em><b>Access Rules</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ACCESS_CONTEXT__ACCESS_RULES = eINSTANCE.getAccessContext_AccessRules(); + + /** + * The meta object literal for the '<em><b>Hierarchy Restrictions</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ACCESS_CONTEXT__HIERARCHY_RESTRICTIONS = eINSTANCE.getAccessContext_HierarchyRestrictions(); + + /** + * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.HierarchyRestrictionImpl <em>Hierarchy Restriction</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.HierarchyRestrictionImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getHierarchyRestriction() + * @generated + */ + EClass HIERARCHY_RESTRICTION = eINSTANCE.getHierarchyRestriction(); + + /** + * The meta object literal for the '<em><b>Artifact</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference HIERARCHY_RESTRICTION__ARTIFACT = eINSTANCE.getHierarchyRestriction_Artifact(); + + /** + * The meta object literal for the '<em><b>Access Rules</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference HIERARCHY_RESTRICTION__ACCESS_RULES = eINSTANCE.getHierarchyRestriction_AccessRules(); + + /** + * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.PermissionRuleImpl <em>Permission Rule</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.PermissionRuleImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getPermissionRule() + * @generated + */ + EClass PERMISSION_RULE = eINSTANCE.getPermissionRule(); + + /** + * The meta object literal for the '<em><b>Permission</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute PERMISSION_RULE__PERMISSION = eINSTANCE.getPermissionRule_Permission(); + + /** + * The meta object literal for the '<em><b>Object Restriction</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference PERMISSION_RULE__OBJECT_RESTRICTION = eINSTANCE.getPermissionRule_ObjectRestriction(); + + /** + * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ObjectRestrictionImpl <em>Object Restriction</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ObjectRestrictionImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getObjectRestriction() + * @generated + */ + EClass OBJECT_RESTRICTION = eINSTANCE.getObjectRestriction(); + + /** + * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactInstanceRestrictionImpl <em>Artifact Instance Restriction</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactInstanceRestrictionImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getArtifactInstanceRestriction() + * @generated + */ + EClass ARTIFACT_INSTANCE_RESTRICTION = eINSTANCE.getArtifactInstanceRestriction(); + + /** + * The meta object literal for the '<em><b>Artifact Name</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_NAME = eINSTANCE.getArtifactInstanceRestriction_ArtifactName(); + + /** + * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactTypeRestrictionImpl <em>Artifact Type Restriction</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactTypeRestrictionImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getArtifactTypeRestriction() + * @generated + */ + EClass ARTIFACT_TYPE_RESTRICTION = eINSTANCE.getArtifactTypeRestriction(); + + /** + * The meta object literal for the '<em><b>Artifact Type</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE = eINSTANCE.getArtifactTypeRestriction_ArtifactType(); + + /** + * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypeRestrictionImpl <em>Relation Type Restriction</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypeRestrictionImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getRelationTypeRestriction() + * @generated + */ + EClass RELATION_TYPE_RESTRICTION = eINSTANCE.getRelationTypeRestriction(); + + /** + * The meta object literal for the '<em><b>Relation Type</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference RELATION_TYPE_RESTRICTION__RELATION_TYPE = eINSTANCE.getRelationTypeRestriction_RelationType(); + + /** + * The meta object literal for the '<em><b>Restricted To</b></em>' attribute list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute RELATION_TYPE_RESTRICTION__RESTRICTED_TO = eINSTANCE.getRelationTypeRestriction_RestrictedTo(); + + /** + * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeTypeRestrictionImpl <em>Attribute Type Restriction</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeTypeRestrictionImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getAttributeTypeRestriction() + * @generated + */ + EClass ATTRIBUTE_TYPE_RESTRICTION = eINSTANCE.getAttributeTypeRestriction(); + + /** + * The meta object literal for the '<em><b>Attribute Type</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE = eINSTANCE.getAttributeTypeRestriction_AttributeType(); + + /** + * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeTypeOfArtifactTypeRestrictionImpl <em>Attribute Type Of Artifact Type Restriction</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeTypeOfArtifactTypeRestrictionImpl + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getAttributeTypeOfArtifactTypeRestriction() + * @generated + */ + EClass ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION = eINSTANCE.getAttributeTypeOfArtifactTypeRestriction(); + + /** + * The meta object literal for the '<em><b>Attribute Type</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ATTRIBUTE_TYPE = eINSTANCE.getAttributeTypeOfArtifactTypeRestriction_AttributeType(); + + /** + * The meta object literal for the '<em><b>Artifact Type</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE = eINSTANCE.getAttributeTypeOfArtifactTypeRestriction_ArtifactType(); + + /** + * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum <em>Relation Multiplicity Enum</em>}' enum. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getRelationMultiplicityEnum() + * @generated + */ + EEnum RELATION_MULTIPLICITY_ENUM = eINSTANCE.getRelationMultiplicityEnum(); + + /** + * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum <em>Access Permission Enum</em>}' enum. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getAccessPermissionEnum() + * @generated + */ + EEnum ACCESS_PERMISSION_ENUM = eINSTANCE.getAccessPermissionEnum(); + + /** + * The meta object literal for the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeSideRestriction <em>Relation Type Side Restriction</em>}' enum. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeSideRestriction + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslPackageImpl#getRelationTypeSideRestriction() + * @generated + */ + EEnum RELATION_TYPE_SIDE_RESTRICTION = eINSTANCE.getRelationTypeSideRestriction(); + + } + +} //OseeDslPackage diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OseeElement.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OseeElement.java index c81d35cc3c5..e2bcbd3983a 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OseeElement.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OseeElement.java @@ -1,23 +1,23 @@ -/**
- * <copyright>
- * </copyright>
- *
+/** + * <copyright> + * </copyright> + * - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Osee Element</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeElement()
- * @model
- * @generated
- */
-public interface OseeElement extends EObject
-{
-} // OseeElement
+ */ +package org.eclipse.osee.framework.core.dsl.oseeDsl; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Osee Element</b></em>'. + * <!-- end-user-doc --> + * + * + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeElement() + * @model + * @generated + */ +public interface OseeElement extends EObject +{ +} // OseeElement diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OseeType.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OseeType.java index d5854606f23..026e735b9a6 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OseeType.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OseeType.java @@ -1,81 +1,81 @@ -/**
- * <copyright>
- * </copyright>
- *
+/** + * <copyright> + * </copyright> + * - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Osee Type</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType#getTypeGuid <em>Type Guid</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeType()
- * @model
- * @generated
- */
-public interface OseeType extends OseeElement
-{
- /**
- * 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.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeType_Name()
- * @model
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType#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>Type Guid</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Type Guid</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Type Guid</em>' attribute.
- * @see #setTypeGuid(String)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeType_TypeGuid()
- * @model
- * @generated
- */
- String getTypeGuid();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType#getTypeGuid <em>Type Guid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Type Guid</em>' attribute.
- * @see #getTypeGuid()
- * @generated
- */
- void setTypeGuid(String value);
-
-} // OseeType
+ */ +package org.eclipse.osee.framework.core.dsl.oseeDsl; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Osee Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType#getTypeGuid <em>Type Guid</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeType() + * @model + * @generated + */ +public interface OseeType extends OseeElement +{ + /** + * 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.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeType_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType#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>Type Guid</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Type Guid</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Type Guid</em>' attribute. + * @see #setTypeGuid(String) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOseeType_TypeGuid() + * @model + * @generated + */ + String getTypeGuid(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType#getTypeGuid <em>Type Guid</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Type Guid</em>' attribute. + * @see #getTypeGuid() + * @generated + */ + void setTypeGuid(String value); + +} // OseeType diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OverrideOption.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OverrideOption.java index 4a1249b1d62..0e9db0b37dd 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OverrideOption.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/OverrideOption.java @@ -1,23 +1,23 @@ -/**
- * <copyright>
- * </copyright>
- *
+/** + * <copyright> + * </copyright> + * - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Override Option</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOverrideOption()
- * @model
- * @generated
- */
-public interface OverrideOption extends EObject
-{
-} // OverrideOption
+ */ +package org.eclipse.osee.framework.core.dsl.oseeDsl; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Override Option</b></em>'. + * <!-- end-user-doc --> + * + * + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getOverrideOption() + * @model + * @generated + */ +public interface OverrideOption extends EObject +{ +} // OverrideOption diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/PermissionRule.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/PermissionRule.java index 977f22a6946..0fe72a6370d 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/PermissionRule.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/PermissionRule.java @@ -1,85 +1,85 @@ -/**
- * <copyright>
- * </copyright>
- *
+/** + * <copyright> + * </copyright> + * - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Permission Rule</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule#getPermission <em>Permission</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule#getObjectRestriction <em>Object Restriction</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getPermissionRule()
- * @model
- * @generated
- */
-public interface PermissionRule extends EObject
-{
- /**
- * Returns the value of the '<em><b>Permission</b></em>' attribute.
- * The literals are from the enumeration {@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Permission</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Permission</em>' attribute.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum
- * @see #setPermission(AccessPermissionEnum)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getPermissionRule_Permission()
- * @model
- * @generated
- */
- AccessPermissionEnum getPermission();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule#getPermission <em>Permission</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Permission</em>' attribute.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum
- * @see #getPermission()
- * @generated
- */
- void setPermission(AccessPermissionEnum value);
-
- /**
- * Returns the value of the '<em><b>Object Restriction</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Object Restriction</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>Object Restriction</em>' containment reference.
- * @see #setObjectRestriction(ObjectRestriction)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getPermissionRule_ObjectRestriction()
- * @model containment="true"
- * @generated
- */
- ObjectRestriction getObjectRestriction();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule#getObjectRestriction <em>Object Restriction</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Object Restriction</em>' containment reference.
- * @see #getObjectRestriction()
- * @generated
- */
- void setObjectRestriction(ObjectRestriction value);
-
-} // PermissionRule
+ */ +package org.eclipse.osee.framework.core.dsl.oseeDsl; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Permission Rule</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule#getPermission <em>Permission</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule#getObjectRestriction <em>Object Restriction</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getPermissionRule() + * @model + * @generated + */ +public interface PermissionRule extends EObject +{ + /** + * Returns the value of the '<em><b>Permission</b></em>' attribute. + * The literals are from the enumeration {@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Permission</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Permission</em>' attribute. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum + * @see #setPermission(AccessPermissionEnum) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getPermissionRule_Permission() + * @model + * @generated + */ + AccessPermissionEnum getPermission(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule#getPermission <em>Permission</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Permission</em>' attribute. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum + * @see #getPermission() + * @generated + */ + void setPermission(AccessPermissionEnum value); + + /** + * Returns the value of the '<em><b>Object Restriction</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Object Restriction</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>Object Restriction</em>' containment reference. + * @see #setObjectRestriction(ObjectRestriction) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getPermissionRule_ObjectRestriction() + * @model containment="true" + * @generated + */ + ObjectRestriction getObjectRestriction(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule#getObjectRestriction <em>Object Restriction</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Object Restriction</em>' containment reference. + * @see #getObjectRestriction() + * @generated + */ + void setObjectRestriction(ObjectRestriction value); + +} // PermissionRule diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RelationMultiplicityEnum.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RelationMultiplicityEnum.java index 16c0f35bc2e..e7aa85b8f90 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RelationMultiplicityEnum.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RelationMultiplicityEnum.java @@ -1,281 +1,281 @@ -/**
- * <copyright>
- * </copyright>
- *
+/** + * <copyright> + * </copyright> + * - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl;
-
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.emf.common.util.Enumerator;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the literals of the enumeration '<em><b>Relation Multiplicity Enum</b></em>',
- * and utility methods for working with them.
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRelationMultiplicityEnum()
- * @model
- * @generated
- */
-public enum RelationMultiplicityEnum implements Enumerator
-{
- /**
- * The '<em><b>ONE TO ONE</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #ONE_TO_ONE_VALUE
- * @generated
- * @ordered
- */
- ONE_TO_ONE(0, "ONE_TO_ONE", "ONE_TO_ONE"),
-
- /**
- * The '<em><b>ONE TO MANY</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #ONE_TO_MANY_VALUE
- * @generated
- * @ordered
- */
- ONE_TO_MANY(1, "ONE_TO_MANY", "ONE_TO_MANY"),
-
- /**
- * The '<em><b>MANY TO ONE</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #MANY_TO_ONE_VALUE
- * @generated
- * @ordered
- */
- MANY_TO_ONE(2, "MANY_TO_ONE", "MANY_TO_ONE"),
-
- /**
- * The '<em><b>MANY TO MANY</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #MANY_TO_MANY_VALUE
- * @generated
- * @ordered
- */
- MANY_TO_MANY(3, "MANY_TO_MANY", "MANY_TO_MANY");
-
- /**
- * The '<em><b>ONE TO ONE</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>ONE TO ONE</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #ONE_TO_ONE
- * @model
- * @generated
- * @ordered
- */
- public static final int ONE_TO_ONE_VALUE = 0;
-
- /**
- * The '<em><b>ONE TO MANY</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>ONE TO MANY</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #ONE_TO_MANY
- * @model
- * @generated
- * @ordered
- */
- public static final int ONE_TO_MANY_VALUE = 1;
-
- /**
- * The '<em><b>MANY TO ONE</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>MANY TO ONE</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #MANY_TO_ONE
- * @model
- * @generated
- * @ordered
- */
- public static final int MANY_TO_ONE_VALUE = 2;
-
- /**
- * The '<em><b>MANY TO MANY</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>MANY TO MANY</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #MANY_TO_MANY
- * @model
- * @generated
- * @ordered
- */
- public static final int MANY_TO_MANY_VALUE = 3;
-
- /**
- * An array of all the '<em><b>Relation Multiplicity Enum</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static final RelationMultiplicityEnum[] VALUES_ARRAY =
- new RelationMultiplicityEnum[]
- {
- ONE_TO_ONE,
- ONE_TO_MANY,
- MANY_TO_ONE,
- MANY_TO_MANY,
- };
-
- /**
- * A public read-only list of all the '<em><b>Relation Multiplicity Enum</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final List<RelationMultiplicityEnum> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
-
- /**
- * Returns the '<em><b>Relation Multiplicity Enum</b></em>' literal with the specified literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static RelationMultiplicityEnum get(String literal)
- {
- for (int i = 0; i < VALUES_ARRAY.length; ++i)
- {
- RelationMultiplicityEnum result = VALUES_ARRAY[i];
- if (result.toString().equals(literal))
- {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Relation Multiplicity Enum</b></em>' literal with the specified name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static RelationMultiplicityEnum getByName(String name)
- {
- for (int i = 0; i < VALUES_ARRAY.length; ++i)
- {
- RelationMultiplicityEnum result = VALUES_ARRAY[i];
- if (result.getName().equals(name))
- {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Relation Multiplicity Enum</b></em>' literal with the specified integer value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static RelationMultiplicityEnum get(int value)
- {
- switch (value)
- {
- case ONE_TO_ONE_VALUE: return ONE_TO_ONE;
- case ONE_TO_MANY_VALUE: return ONE_TO_MANY;
- case MANY_TO_ONE_VALUE: return MANY_TO_ONE;
- case MANY_TO_MANY_VALUE: return MANY_TO_MANY;
- }
- return null;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final int value;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final String name;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final String literal;
-
- /**
- * Only this class can construct instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private RelationMultiplicityEnum(int value, String name, String literal)
- {
- this.value = value;
- this.name = name;
- this.literal = literal;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public int getValue()
- {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName()
- {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getLiteral()
- {
- return literal;
- }
-
- /**
- * Returns the literal value of the enumerator, which is its string representation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- return literal;
- }
-
-} //RelationMultiplicityEnum
+ */ +package org.eclipse.osee.framework.core.dsl.oseeDsl; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; + +import org.eclipse.emf.common.util.Enumerator; + +/** + * <!-- begin-user-doc --> + * A representation of the literals of the enumeration '<em><b>Relation Multiplicity Enum</b></em>', + * and utility methods for working with them. + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRelationMultiplicityEnum() + * @model + * @generated + */ +public enum RelationMultiplicityEnum implements Enumerator +{ + /** + * The '<em><b>ONE TO ONE</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #ONE_TO_ONE_VALUE + * @generated + * @ordered + */ + ONE_TO_ONE(0, "ONE_TO_ONE", "ONE_TO_ONE"), + + /** + * The '<em><b>ONE TO MANY</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #ONE_TO_MANY_VALUE + * @generated + * @ordered + */ + ONE_TO_MANY(1, "ONE_TO_MANY", "ONE_TO_MANY"), + + /** + * The '<em><b>MANY TO ONE</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #MANY_TO_ONE_VALUE + * @generated + * @ordered + */ + MANY_TO_ONE(2, "MANY_TO_ONE", "MANY_TO_ONE"), + + /** + * The '<em><b>MANY TO MANY</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #MANY_TO_MANY_VALUE + * @generated + * @ordered + */ + MANY_TO_MANY(3, "MANY_TO_MANY", "MANY_TO_MANY"); + + /** + * The '<em><b>ONE TO ONE</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>ONE TO ONE</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #ONE_TO_ONE + * @model + * @generated + * @ordered + */ + public static final int ONE_TO_ONE_VALUE = 0; + + /** + * The '<em><b>ONE TO MANY</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>ONE TO MANY</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #ONE_TO_MANY + * @model + * @generated + * @ordered + */ + public static final int ONE_TO_MANY_VALUE = 1; + + /** + * The '<em><b>MANY TO ONE</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>MANY TO ONE</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #MANY_TO_ONE + * @model + * @generated + * @ordered + */ + public static final int MANY_TO_ONE_VALUE = 2; + + /** + * The '<em><b>MANY TO MANY</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>MANY TO MANY</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #MANY_TO_MANY + * @model + * @generated + * @ordered + */ + public static final int MANY_TO_MANY_VALUE = 3; + + /** + * An array of all the '<em><b>Relation Multiplicity Enum</b></em>' enumerators. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private static final RelationMultiplicityEnum[] VALUES_ARRAY = + new RelationMultiplicityEnum[] + { + ONE_TO_ONE, + ONE_TO_MANY, + MANY_TO_ONE, + MANY_TO_MANY, + }; + + /** + * A public read-only list of all the '<em><b>Relation Multiplicity Enum</b></em>' enumerators. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final List<RelationMultiplicityEnum> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the '<em><b>Relation Multiplicity Enum</b></em>' literal with the specified literal value. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static RelationMultiplicityEnum get(String literal) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + RelationMultiplicityEnum result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) + { + return result; + } + } + return null; + } + + /** + * Returns the '<em><b>Relation Multiplicity Enum</b></em>' literal with the specified name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static RelationMultiplicityEnum getByName(String name) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + RelationMultiplicityEnum result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) + { + return result; + } + } + return null; + } + + /** + * Returns the '<em><b>Relation Multiplicity Enum</b></em>' literal with the specified integer value. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static RelationMultiplicityEnum get(int value) + { + switch (value) + { + case ONE_TO_ONE_VALUE: return ONE_TO_ONE; + case ONE_TO_MANY_VALUE: return ONE_TO_MANY; + case MANY_TO_ONE_VALUE: return MANY_TO_ONE; + case MANY_TO_MANY_VALUE: return MANY_TO_MANY; + } + return null; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private final int value; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private final String name; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private final String literal; + + /** + * Only this class can construct instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private RelationMultiplicityEnum(int value, String name, String literal) + { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public int getValue() + { + return value; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getName() + { + return name; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getLiteral() + { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() + { + return literal; + } + +} //RelationMultiplicityEnum diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RelationTypeRestriction.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RelationTypeRestriction.java index d887a05363f..995ce38dc2d 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RelationTypeRestriction.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RelationTypeRestriction.java @@ -1,74 +1,74 @@ -/**
- * <copyright>
- * </copyright>
- *
+/** + * <copyright> + * </copyright> + * - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Relation Type Restriction</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#getRelationType <em>Relation Type</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#getRestrictedTo <em>Restricted To</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRelationTypeRestriction()
- * @model
- * @generated
- */
-public interface RelationTypeRestriction extends ObjectRestriction
-{
- /**
- * Returns the value of the '<em><b>Relation Type</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Relation Type</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Relation Type</em>' reference.
- * @see #setRelationType(XRelationType)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRelationTypeRestriction_RelationType()
- * @model
- * @generated
- */
- XRelationType getRelationType();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#getRelationType <em>Relation Type</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Relation Type</em>' reference.
- * @see #getRelationType()
- * @generated
- */
- void setRelationType(XRelationType value);
-
- /**
- * Returns the value of the '<em><b>Restricted To</b></em>' attribute list.
- * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeSideRestriction}.
- * The literals are from the enumeration {@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeSideRestriction}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Restricted To</em>' attribute list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Restricted To</em>' attribute list.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeSideRestriction
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRelationTypeRestriction_RestrictedTo()
- * @model unique="false"
- * @generated
- */
- EList<RelationTypeSideRestriction> getRestrictedTo();
-
-} // RelationTypeRestriction
+ */ +package org.eclipse.osee.framework.core.dsl.oseeDsl; + +import org.eclipse.emf.common.util.EList; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Relation Type Restriction</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#getRelationType <em>Relation Type</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#getRestrictedTo <em>Restricted To</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRelationTypeRestriction() + * @model + * @generated + */ +public interface RelationTypeRestriction extends ObjectRestriction +{ + /** + * Returns the value of the '<em><b>Relation Type</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Relation Type</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Relation Type</em>' reference. + * @see #setRelationType(XRelationType) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRelationTypeRestriction_RelationType() + * @model + * @generated + */ + XRelationType getRelationType(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction#getRelationType <em>Relation Type</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Relation Type</em>' reference. + * @see #getRelationType() + * @generated + */ + void setRelationType(XRelationType value); + + /** + * Returns the value of the '<em><b>Restricted To</b></em>' attribute list. + * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeSideRestriction}. + * The literals are from the enumeration {@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeSideRestriction}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Restricted To</em>' attribute list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Restricted To</em>' attribute list. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeSideRestriction + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRelationTypeRestriction_RestrictedTo() + * @model unique="false" + * @generated + */ + EList<RelationTypeSideRestriction> getRestrictedTo(); + +} // RelationTypeRestriction diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RelationTypeSideRestriction.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RelationTypeSideRestriction.java index ca0cac89939..a3ebd413625 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RelationTypeSideRestriction.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RelationTypeSideRestriction.java @@ -1,227 +1,227 @@ -/**
- * <copyright>
- * </copyright>
- *
- - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl;
-
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.emf.common.util.Enumerator;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the literals of the enumeration '<em><b>Relation Type Side Restriction</b></em>',
- * and utility methods for working with them.
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRelationTypeSideRestriction()
- * @model
- * @generated
- */
-public enum RelationTypeSideRestriction implements Enumerator
-{
- /**
- * The '<em><b>SIDE A</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #SIDE_A_VALUE
- * @generated
- * @ordered
- */
- SIDE_A(0, "SIDE_A", "SIDE_A"),
-
- /**
- * The '<em><b>SIDE B</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #SIDE_B_VALUE
- * @generated
- * @ordered
- */
- SIDE_B(1, "SIDE_B", "SIDE_B");
-
- /**
- * The '<em><b>SIDE A</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>SIDE A</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #SIDE_A
- * @model
- * @generated
- * @ordered
- */
- public static final int SIDE_A_VALUE = 0;
-
- /**
- * The '<em><b>SIDE B</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>SIDE B</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #SIDE_B
- * @model
- * @generated
- * @ordered
- */
- public static final int SIDE_B_VALUE = 1;
-
- /**
- * An array of all the '<em><b>Relation Type Side Restriction</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static final RelationTypeSideRestriction[] VALUES_ARRAY =
- new RelationTypeSideRestriction[]
- {
- SIDE_A,
- SIDE_B,
- };
-
- /**
- * A public read-only list of all the '<em><b>Relation Type Side Restriction</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final List<RelationTypeSideRestriction> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
-
- /**
- * Returns the '<em><b>Relation Type Side Restriction</b></em>' literal with the specified literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static RelationTypeSideRestriction get(String literal)
- {
- for (int i = 0; i < VALUES_ARRAY.length; ++i)
- {
- RelationTypeSideRestriction result = VALUES_ARRAY[i];
- if (result.toString().equals(literal))
- {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Relation Type Side Restriction</b></em>' literal with the specified name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static RelationTypeSideRestriction getByName(String name)
- {
- for (int i = 0; i < VALUES_ARRAY.length; ++i)
- {
- RelationTypeSideRestriction result = VALUES_ARRAY[i];
- if (result.getName().equals(name))
- {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Relation Type Side Restriction</b></em>' literal with the specified integer value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static RelationTypeSideRestriction get(int value)
- {
- switch (value)
- {
- case SIDE_A_VALUE: return SIDE_A;
- case SIDE_B_VALUE: return SIDE_B;
- }
- return null;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final int value;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final String name;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final String literal;
-
- /**
- * Only this class can construct instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private RelationTypeSideRestriction(int value, String name, String literal)
- {
- this.value = value;
- this.name = name;
- this.literal = literal;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public int getValue()
- {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName()
- {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getLiteral()
- {
- return literal;
- }
-
- /**
- * Returns the literal value of the enumerator, which is its string representation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- return literal;
- }
-
-} //RelationTypeSideRestriction
+/** + * <copyright> + * </copyright> + * + + */ +package org.eclipse.osee.framework.core.dsl.oseeDsl; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; + +import org.eclipse.emf.common.util.Enumerator; + +/** + * <!-- begin-user-doc --> + * A representation of the literals of the enumeration '<em><b>Relation Type Side Restriction</b></em>', + * and utility methods for working with them. + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRelationTypeSideRestriction() + * @model + * @generated + */ +public enum RelationTypeSideRestriction implements Enumerator +{ + /** + * The '<em><b>SIDE A</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #SIDE_A_VALUE + * @generated + * @ordered + */ + SIDE_A(0, "SIDE_A", "SIDE_A"), + + /** + * The '<em><b>SIDE B</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #SIDE_B_VALUE + * @generated + * @ordered + */ + SIDE_B(1, "SIDE_B", "SIDE_B"); + + /** + * The '<em><b>SIDE A</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>SIDE A</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #SIDE_A + * @model + * @generated + * @ordered + */ + public static final int SIDE_A_VALUE = 0; + + /** + * The '<em><b>SIDE B</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>SIDE B</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #SIDE_B + * @model + * @generated + * @ordered + */ + public static final int SIDE_B_VALUE = 1; + + /** + * An array of all the '<em><b>Relation Type Side Restriction</b></em>' enumerators. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private static final RelationTypeSideRestriction[] VALUES_ARRAY = + new RelationTypeSideRestriction[] + { + SIDE_A, + SIDE_B, + }; + + /** + * A public read-only list of all the '<em><b>Relation Type Side Restriction</b></em>' enumerators. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final List<RelationTypeSideRestriction> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the '<em><b>Relation Type Side Restriction</b></em>' literal with the specified literal value. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static RelationTypeSideRestriction get(String literal) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + RelationTypeSideRestriction result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) + { + return result; + } + } + return null; + } + + /** + * Returns the '<em><b>Relation Type Side Restriction</b></em>' literal with the specified name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static RelationTypeSideRestriction getByName(String name) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + RelationTypeSideRestriction result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) + { + return result; + } + } + return null; + } + + /** + * Returns the '<em><b>Relation Type Side Restriction</b></em>' literal with the specified integer value. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static RelationTypeSideRestriction get(int value) + { + switch (value) + { + case SIDE_A_VALUE: return SIDE_A; + case SIDE_B_VALUE: return SIDE_B; + } + return null; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private final int value; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private final String name; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private final String literal; + + /** + * Only this class can construct instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private RelationTypeSideRestriction(int value, String name, String literal) + { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public int getValue() + { + return value; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getName() + { + return name; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getLiteral() + { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() + { + return literal; + } + +} //RelationTypeSideRestriction diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RemoveEnum.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RemoveEnum.java index f39fbe5f300..7044cf25f90 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RemoveEnum.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/RemoveEnum.java @@ -1,54 +1,54 @@ -/**
- * <copyright>
- * </copyright>
- *
+/** + * <copyright> + * </copyright> + * - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Remove Enum</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum#getEnumEntry <em>Enum Entry</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRemoveEnum()
- * @model
- * @generated
- */
-public interface RemoveEnum extends OverrideOption
-{
- /**
- * Returns the value of the '<em><b>Enum Entry</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Enum Entry</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Enum Entry</em>' reference.
- * @see #setEnumEntry(XOseeEnumEntry)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRemoveEnum_EnumEntry()
- * @model
- * @generated
- */
- XOseeEnumEntry getEnumEntry();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum#getEnumEntry <em>Enum Entry</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Enum Entry</em>' reference.
- * @see #getEnumEntry()
- * @generated
- */
- void setEnumEntry(XOseeEnumEntry value);
-
-} // RemoveEnum
+ */ +package org.eclipse.osee.framework.core.dsl.oseeDsl; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Remove Enum</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum#getEnumEntry <em>Enum Entry</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRemoveEnum() + * @model + * @generated + */ +public interface RemoveEnum extends OverrideOption +{ + /** + * Returns the value of the '<em><b>Enum Entry</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Enum Entry</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Enum Entry</em>' reference. + * @see #setEnumEntry(XOseeEnumEntry) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getRemoveEnum_EnumEntry() + * @model + * @generated + */ + XOseeEnumEntry getEnumEntry(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum#getEnumEntry <em>Enum Entry</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Enum Entry</em>' reference. + * @see #getEnumEntry() + * @generated + */ + void setEnumEntry(XOseeEnumEntry value); + +} // RemoveEnum diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XArtifactRef.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XArtifactRef.java index 539dd355469..e3517db9fc7 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XArtifactRef.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XArtifactRef.java @@ -1,82 +1,82 @@ -/**
- * <copyright>
- * </copyright>
- *
+/** + * <copyright> + * </copyright> + * - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>XArtifact Ref</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef#getGuid <em>Guid</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXArtifactRef()
- * @model
- * @generated
- */
-public interface XArtifactRef extends EObject
-{
- /**
- * 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.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXArtifactRef_Name()
- * @model
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef#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>Guid</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Guid</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Guid</em>' attribute.
- * @see #setGuid(String)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXArtifactRef_Guid()
- * @model
- * @generated
- */
- String getGuid();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef#getGuid <em>Guid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Guid</em>' attribute.
- * @see #getGuid()
- * @generated
- */
- void setGuid(String value);
-
-} // XArtifactRef
+ */ +package org.eclipse.osee.framework.core.dsl.oseeDsl; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>XArtifact Ref</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef#getGuid <em>Guid</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXArtifactRef() + * @model + * @generated + */ +public interface XArtifactRef extends EObject +{ + /** + * 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.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXArtifactRef_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef#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>Guid</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Guid</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Guid</em>' attribute. + * @see #setGuid(String) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXArtifactRef_Guid() + * @model + * @generated + */ + String getGuid(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef#getGuid <em>Guid</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Guid</em>' attribute. + * @see #getGuid() + * @generated + */ + void setGuid(String value); + +} // XArtifactRef diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XArtifactType.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XArtifactType.java index 0e45618b12e..722f8fca97f 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XArtifactType.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XArtifactType.java @@ -1,89 +1,89 @@ -/**
- * <copyright>
- * </copyright>
- *
+/** + * <copyright> + * </copyright> + * - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>XArtifact Type</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#isAbstract <em>Abstract</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#getSuperArtifactTypes <em>Super Artifact Types</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#getValidAttributeTypes <em>Valid Attribute Types</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXArtifactType()
- * @model
- * @generated
- */
-public interface XArtifactType extends OseeType
-{
- /**
- * Returns the value of the '<em><b>Abstract</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Abstract</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Abstract</em>' attribute.
- * @see #setAbstract(boolean)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXArtifactType_Abstract()
- * @model
- * @generated
- */
- boolean isAbstract();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#isAbstract <em>Abstract</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Abstract</em>' attribute.
- * @see #isAbstract()
- * @generated
- */
- void setAbstract(boolean value);
-
- /**
- * Returns the value of the '<em><b>Super Artifact Types</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Super Artifact Types</em>' reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Super Artifact Types</em>' reference list.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXArtifactType_SuperArtifactTypes()
- * @model
- * @generated
- */
- EList<XArtifactType> getSuperArtifactTypes();
-
- /**
- * Returns the value of the '<em><b>Valid Attribute Types</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Valid Attribute Types</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Valid Attribute Types</em>' containment reference list.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXArtifactType_ValidAttributeTypes()
- * @model containment="true"
- * @generated
- */
- EList<XAttributeTypeRef> getValidAttributeTypes();
-
-} // XArtifactType
+ */ +package org.eclipse.osee.framework.core.dsl.oseeDsl; + +import org.eclipse.emf.common.util.EList; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>XArtifact Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#isAbstract <em>Abstract</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#getSuperArtifactTypes <em>Super Artifact Types</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#getValidAttributeTypes <em>Valid Attribute Types</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXArtifactType() + * @model + * @generated + */ +public interface XArtifactType extends OseeType +{ + /** + * Returns the value of the '<em><b>Abstract</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Abstract</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Abstract</em>' attribute. + * @see #setAbstract(boolean) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXArtifactType_Abstract() + * @model + * @generated + */ + boolean isAbstract(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType#isAbstract <em>Abstract</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Abstract</em>' attribute. + * @see #isAbstract() + * @generated + */ + void setAbstract(boolean value); + + /** + * Returns the value of the '<em><b>Super Artifact Types</b></em>' reference list. + * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Super Artifact Types</em>' reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Super Artifact Types</em>' reference list. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXArtifactType_SuperArtifactTypes() + * @model + * @generated + */ + EList<XArtifactType> getSuperArtifactTypes(); + + /** + * Returns the value of the '<em><b>Valid Attribute Types</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Valid Attribute Types</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Valid Attribute Types</em>' containment reference list. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXArtifactType_ValidAttributeTypes() + * @model containment="true" + * @generated + */ + EList<XAttributeTypeRef> getValidAttributeTypes(); + +} // XArtifactType diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XAttributeType.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XAttributeType.java index 594e26efbdf..a4bdb36d648 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XAttributeType.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XAttributeType.java @@ -1,297 +1,297 @@ -/**
- * <copyright>
- * </copyright>
- *
+/** + * <copyright> + * </copyright> + * - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>XAttribute Type</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getBaseAttributeType <em>Base Attribute Type</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getOverride <em>Override</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDataProvider <em>Data Provider</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getMin <em>Min</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getMax <em>Max</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getTaggerId <em>Tagger Id</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getEnumType <em>Enum Type</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDescription <em>Description</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDefaultValue <em>Default Value</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getFileExtension <em>File Extension</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType()
- * @model
- * @generated
- */
-public interface XAttributeType extends OseeType
-{
- /**
- * Returns the value of the '<em><b>Base Attribute Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Base Attribute Type</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Base Attribute Type</em>' attribute.
- * @see #setBaseAttributeType(String)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_BaseAttributeType()
- * @model
- * @generated
- */
- String getBaseAttributeType();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getBaseAttributeType <em>Base Attribute Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Base Attribute Type</em>' attribute.
- * @see #getBaseAttributeType()
- * @generated
- */
- void setBaseAttributeType(String value);
-
- /**
- * Returns the value of the '<em><b>Override</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Override</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Override</em>' reference.
- * @see #setOverride(XAttributeType)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_Override()
- * @model
- * @generated
- */
- XAttributeType getOverride();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getOverride <em>Override</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Override</em>' reference.
- * @see #getOverride()
- * @generated
- */
- void setOverride(XAttributeType value);
-
- /**
- * Returns the value of the '<em><b>Data Provider</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Data Provider</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Data Provider</em>' attribute.
- * @see #setDataProvider(String)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_DataProvider()
- * @model
- * @generated
- */
- String getDataProvider();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDataProvider <em>Data Provider</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Data Provider</em>' attribute.
- * @see #getDataProvider()
- * @generated
- */
- void setDataProvider(String value);
-
- /**
- * Returns the value of the '<em><b>Min</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Min</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Min</em>' attribute.
- * @see #setMin(String)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_Min()
- * @model
- * @generated
- */
- String getMin();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getMin <em>Min</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Min</em>' attribute.
- * @see #getMin()
- * @generated
- */
- void setMin(String value);
-
- /**
- * Returns the value of the '<em><b>Max</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Max</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Max</em>' attribute.
- * @see #setMax(String)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_Max()
- * @model
- * @generated
- */
- String getMax();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getMax <em>Max</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Max</em>' attribute.
- * @see #getMax()
- * @generated
- */
- void setMax(String value);
-
- /**
- * Returns the value of the '<em><b>Tagger Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Tagger Id</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Tagger Id</em>' attribute.
- * @see #setTaggerId(String)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_TaggerId()
- * @model
- * @generated
- */
- String getTaggerId();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getTaggerId <em>Tagger Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Tagger Id</em>' attribute.
- * @see #getTaggerId()
- * @generated
- */
- void setTaggerId(String value);
-
- /**
- * Returns the value of the '<em><b>Enum Type</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Enum Type</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Enum Type</em>' reference.
- * @see #setEnumType(XOseeEnumType)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_EnumType()
- * @model
- * @generated
- */
- XOseeEnumType getEnumType();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getEnumType <em>Enum Type</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Enum Type</em>' reference.
- * @see #getEnumType()
- * @generated
- */
- void setEnumType(XOseeEnumType value);
-
- /**
- * 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.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_Description()
- * @model
- * @generated
- */
- String getDescription();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#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>Default Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Default 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>Default Value</em>' attribute.
- * @see #setDefaultValue(String)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_DefaultValue()
- * @model
- * @generated
- */
- String getDefaultValue();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDefaultValue <em>Default Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Default Value</em>' attribute.
- * @see #getDefaultValue()
- * @generated
- */
- void setDefaultValue(String value);
-
- /**
- * Returns the value of the '<em><b>File Extension</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>File Extension</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>File Extension</em>' attribute.
- * @see #setFileExtension(String)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_FileExtension()
- * @model
- * @generated
- */
- String getFileExtension();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getFileExtension <em>File Extension</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>File Extension</em>' attribute.
- * @see #getFileExtension()
- * @generated
- */
- void setFileExtension(String value);
-
-} // XAttributeType
+ */ +package org.eclipse.osee.framework.core.dsl.oseeDsl; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>XAttribute Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getBaseAttributeType <em>Base Attribute Type</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getOverride <em>Override</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDataProvider <em>Data Provider</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getMin <em>Min</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getMax <em>Max</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getTaggerId <em>Tagger Id</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getEnumType <em>Enum Type</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDefaultValue <em>Default Value</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getFileExtension <em>File Extension</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType() + * @model + * @generated + */ +public interface XAttributeType extends OseeType +{ + /** + * Returns the value of the '<em><b>Base Attribute Type</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Attribute Type</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Attribute Type</em>' attribute. + * @see #setBaseAttributeType(String) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_BaseAttributeType() + * @model + * @generated + */ + String getBaseAttributeType(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getBaseAttributeType <em>Base Attribute Type</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Attribute Type</em>' attribute. + * @see #getBaseAttributeType() + * @generated + */ + void setBaseAttributeType(String value); + + /** + * Returns the value of the '<em><b>Override</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Override</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Override</em>' reference. + * @see #setOverride(XAttributeType) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_Override() + * @model + * @generated + */ + XAttributeType getOverride(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getOverride <em>Override</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Override</em>' reference. + * @see #getOverride() + * @generated + */ + void setOverride(XAttributeType value); + + /** + * Returns the value of the '<em><b>Data Provider</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Data Provider</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Data Provider</em>' attribute. + * @see #setDataProvider(String) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_DataProvider() + * @model + * @generated + */ + String getDataProvider(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDataProvider <em>Data Provider</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Data Provider</em>' attribute. + * @see #getDataProvider() + * @generated + */ + void setDataProvider(String value); + + /** + * Returns the value of the '<em><b>Min</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Min</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Min</em>' attribute. + * @see #setMin(String) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_Min() + * @model + * @generated + */ + String getMin(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getMin <em>Min</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Min</em>' attribute. + * @see #getMin() + * @generated + */ + void setMin(String value); + + /** + * Returns the value of the '<em><b>Max</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Max</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Max</em>' attribute. + * @see #setMax(String) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_Max() + * @model + * @generated + */ + String getMax(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getMax <em>Max</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Max</em>' attribute. + * @see #getMax() + * @generated + */ + void setMax(String value); + + /** + * Returns the value of the '<em><b>Tagger Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Tagger Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Tagger Id</em>' attribute. + * @see #setTaggerId(String) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_TaggerId() + * @model + * @generated + */ + String getTaggerId(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getTaggerId <em>Tagger Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Tagger Id</em>' attribute. + * @see #getTaggerId() + * @generated + */ + void setTaggerId(String value); + + /** + * Returns the value of the '<em><b>Enum Type</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Enum Type</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Enum Type</em>' reference. + * @see #setEnumType(XOseeEnumType) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_EnumType() + * @model + * @generated + */ + XOseeEnumType getEnumType(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getEnumType <em>Enum Type</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Enum Type</em>' reference. + * @see #getEnumType() + * @generated + */ + void setEnumType(XOseeEnumType value); + + /** + * 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.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_Description() + * @model + * @generated + */ + String getDescription(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#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>Default Value</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Default 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>Default Value</em>' attribute. + * @see #setDefaultValue(String) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_DefaultValue() + * @model + * @generated + */ + String getDefaultValue(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getDefaultValue <em>Default Value</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Default Value</em>' attribute. + * @see #getDefaultValue() + * @generated + */ + void setDefaultValue(String value); + + /** + * Returns the value of the '<em><b>File Extension</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>File Extension</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>File Extension</em>' attribute. + * @see #setFileExtension(String) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeType_FileExtension() + * @model + * @generated + */ + String getFileExtension(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType#getFileExtension <em>File Extension</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>File Extension</em>' attribute. + * @see #getFileExtension() + * @generated + */ + void setFileExtension(String value); + +} // XAttributeType diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XAttributeTypeRef.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XAttributeTypeRef.java index 806755fa15e..19140ae9572 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XAttributeTypeRef.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XAttributeTypeRef.java @@ -1,82 +1,82 @@ -/**
- * <copyright>
- * </copyright>
- *
+/** + * <copyright> + * </copyright> + * - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>XAttribute Type Ref</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef#getValidAttributeType <em>Valid Attribute Type</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef#getBranchGuid <em>Branch Guid</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeTypeRef()
- * @model
- * @generated
- */
-public interface XAttributeTypeRef extends EObject
-{
- /**
- * Returns the value of the '<em><b>Valid Attribute Type</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Valid Attribute Type</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Valid Attribute Type</em>' reference.
- * @see #setValidAttributeType(XAttributeType)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeTypeRef_ValidAttributeType()
- * @model
- * @generated
- */
- XAttributeType getValidAttributeType();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef#getValidAttributeType <em>Valid Attribute Type</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Valid Attribute Type</em>' reference.
- * @see #getValidAttributeType()
- * @generated
- */
- void setValidAttributeType(XAttributeType value);
-
- /**
- * Returns the value of the '<em><b>Branch Guid</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Branch Guid</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Branch Guid</em>' attribute.
- * @see #setBranchGuid(String)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeTypeRef_BranchGuid()
- * @model
- * @generated
- */
- String getBranchGuid();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef#getBranchGuid <em>Branch Guid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Branch Guid</em>' attribute.
- * @see #getBranchGuid()
- * @generated
- */
- void setBranchGuid(String value);
-
-} // XAttributeTypeRef
+ */ +package org.eclipse.osee.framework.core.dsl.oseeDsl; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>XAttribute Type Ref</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef#getValidAttributeType <em>Valid Attribute Type</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef#getBranchGuid <em>Branch Guid</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeTypeRef() + * @model + * @generated + */ +public interface XAttributeTypeRef extends EObject +{ + /** + * Returns the value of the '<em><b>Valid Attribute Type</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Valid Attribute Type</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Valid Attribute Type</em>' reference. + * @see #setValidAttributeType(XAttributeType) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeTypeRef_ValidAttributeType() + * @model + * @generated + */ + XAttributeType getValidAttributeType(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef#getValidAttributeType <em>Valid Attribute Type</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Valid Attribute Type</em>' reference. + * @see #getValidAttributeType() + * @generated + */ + void setValidAttributeType(XAttributeType value); + + /** + * Returns the value of the '<em><b>Branch Guid</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Branch Guid</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Branch Guid</em>' attribute. + * @see #setBranchGuid(String) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXAttributeTypeRef_BranchGuid() + * @model + * @generated + */ + String getBranchGuid(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef#getBranchGuid <em>Branch Guid</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Branch Guid</em>' attribute. + * @see #getBranchGuid() + * @generated + */ + void setBranchGuid(String value); + +} // XAttributeTypeRef diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XBranchRef.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XBranchRef.java index d3e74ad126b..b00c1842709 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XBranchRef.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XBranchRef.java @@ -1,82 +1,82 @@ -/**
- * <copyright>
- * </copyright>
- *
+/** + * <copyright> + * </copyright> + * - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>XBranch Ref</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef#getGuid <em>Guid</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXBranchRef()
- * @model
- * @generated
- */
-public interface XBranchRef extends EObject
-{
- /**
- * 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.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXBranchRef_Name()
- * @model
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef#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>Guid</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Guid</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Guid</em>' attribute.
- * @see #setGuid(String)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXBranchRef_Guid()
- * @model
- * @generated
- */
- String getGuid();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef#getGuid <em>Guid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Guid</em>' attribute.
- * @see #getGuid()
- * @generated
- */
- void setGuid(String value);
-
-} // XBranchRef
+ */ +package org.eclipse.osee.framework.core.dsl.oseeDsl; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>XBranch Ref</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef#getGuid <em>Guid</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXBranchRef() + * @model + * @generated + */ +public interface XBranchRef extends EObject +{ + /** + * 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.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXBranchRef_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef#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>Guid</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Guid</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Guid</em>' attribute. + * @see #setGuid(String) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXBranchRef_Guid() + * @model + * @generated + */ + String getGuid(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef#getGuid <em>Guid</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Guid</em>' attribute. + * @see #getGuid() + * @generated + */ + void setGuid(String value); + +} // XBranchRef diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XOseeEnumEntry.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XOseeEnumEntry.java index db3cd3251f5..7d8b53db4eb 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XOseeEnumEntry.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XOseeEnumEntry.java @@ -1,109 +1,109 @@ -/**
- * <copyright>
- * </copyright>
- *
+/** + * <copyright> + * </copyright> + * - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>XOsee Enum Entry</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getOrdinal <em>Ordinal</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getEntryGuid <em>Entry Guid</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumEntry()
- * @model
- * @generated
- */
-public interface XOseeEnumEntry extends EObject
-{
- /**
- * 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.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumEntry_Name()
- * @model
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#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>Ordinal</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Ordinal</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Ordinal</em>' attribute.
- * @see #setOrdinal(String)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumEntry_Ordinal()
- * @model
- * @generated
- */
- String getOrdinal();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getOrdinal <em>Ordinal</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Ordinal</em>' attribute.
- * @see #getOrdinal()
- * @generated
- */
- void setOrdinal(String value);
-
- /**
- * Returns the value of the '<em><b>Entry Guid</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Entry Guid</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Entry Guid</em>' attribute.
- * @see #setEntryGuid(String)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumEntry_EntryGuid()
- * @model
- * @generated
- */
- String getEntryGuid();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getEntryGuid <em>Entry Guid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Entry Guid</em>' attribute.
- * @see #getEntryGuid()
- * @generated
- */
- void setEntryGuid(String value);
-
-} // XOseeEnumEntry
+ */ +package org.eclipse.osee.framework.core.dsl.oseeDsl; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>XOsee Enum Entry</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getOrdinal <em>Ordinal</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getEntryGuid <em>Entry Guid</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumEntry() + * @model + * @generated + */ +public interface XOseeEnumEntry extends EObject +{ + /** + * 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.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumEntry_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#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>Ordinal</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Ordinal</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Ordinal</em>' attribute. + * @see #setOrdinal(String) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumEntry_Ordinal() + * @model + * @generated + */ + String getOrdinal(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getOrdinal <em>Ordinal</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Ordinal</em>' attribute. + * @see #getOrdinal() + * @generated + */ + void setOrdinal(String value); + + /** + * Returns the value of the '<em><b>Entry Guid</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Entry Guid</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Entry Guid</em>' attribute. + * @see #setEntryGuid(String) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumEntry_EntryGuid() + * @model + * @generated + */ + String getEntryGuid(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry#getEntryGuid <em>Entry Guid</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Entry Guid</em>' attribute. + * @see #getEntryGuid() + * @generated + */ + void setEntryGuid(String value); + +} // XOseeEnumEntry diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XOseeEnumOverride.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XOseeEnumOverride.java index 01de29a2304..1549fea1191 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XOseeEnumOverride.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XOseeEnumOverride.java @@ -1,99 +1,99 @@ -/**
- * <copyright>
- * </copyright>
- *
+/** + * <copyright> + * </copyright> + * - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>XOsee Enum Override</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#getOverridenEnumType <em>Overriden Enum Type</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#isInheritAll <em>Inherit All</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#getOverrideOptions <em>Override Options</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumOverride()
- * @model
- * @generated
- */
-public interface XOseeEnumOverride extends OseeElement
-{
- /**
- * Returns the value of the '<em><b>Overriden Enum Type</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Overriden Enum Type</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Overriden Enum Type</em>' reference.
- * @see #setOverridenEnumType(XOseeEnumType)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumOverride_OverridenEnumType()
- * @model
- * @generated
- */
- XOseeEnumType getOverridenEnumType();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#getOverridenEnumType <em>Overriden Enum Type</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Overriden Enum Type</em>' reference.
- * @see #getOverridenEnumType()
- * @generated
- */
- void setOverridenEnumType(XOseeEnumType value);
-
- /**
- * Returns the value of the '<em><b>Inherit All</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Inherit All</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Inherit All</em>' attribute.
- * @see #setInheritAll(boolean)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumOverride_InheritAll()
- * @model
- * @generated
- */
- boolean isInheritAll();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#isInheritAll <em>Inherit All</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Inherit All</em>' attribute.
- * @see #isInheritAll()
- * @generated
- */
- void setInheritAll(boolean value);
-
- /**
- * Returns the value of the '<em><b>Override Options</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.OverrideOption}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Override Options</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Override Options</em>' containment reference list.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumOverride_OverrideOptions()
- * @model containment="true"
- * @generated
- */
- EList<OverrideOption> getOverrideOptions();
-
-} // XOseeEnumOverride
+ */ +package org.eclipse.osee.framework.core.dsl.oseeDsl; + +import org.eclipse.emf.common.util.EList; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>XOsee Enum Override</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#getOverridenEnumType <em>Overriden Enum Type</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#isInheritAll <em>Inherit All</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#getOverrideOptions <em>Override Options</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumOverride() + * @model + * @generated + */ +public interface XOseeEnumOverride extends OseeElement +{ + /** + * Returns the value of the '<em><b>Overriden Enum Type</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Overriden Enum Type</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Overriden Enum Type</em>' reference. + * @see #setOverridenEnumType(XOseeEnumType) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumOverride_OverridenEnumType() + * @model + * @generated + */ + XOseeEnumType getOverridenEnumType(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#getOverridenEnumType <em>Overriden Enum Type</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Overriden Enum Type</em>' reference. + * @see #getOverridenEnumType() + * @generated + */ + void setOverridenEnumType(XOseeEnumType value); + + /** + * Returns the value of the '<em><b>Inherit All</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Inherit All</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Inherit All</em>' attribute. + * @see #setInheritAll(boolean) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumOverride_InheritAll() + * @model + * @generated + */ + boolean isInheritAll(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride#isInheritAll <em>Inherit All</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Inherit All</em>' attribute. + * @see #isInheritAll() + * @generated + */ + void setInheritAll(boolean value); + + /** + * Returns the value of the '<em><b>Override Options</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.OverrideOption}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Override Options</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Override Options</em>' containment reference list. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumOverride_OverrideOptions() + * @model containment="true" + * @generated + */ + EList<OverrideOption> getOverrideOptions(); + +} // XOseeEnumOverride diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XOseeEnumType.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XOseeEnumType.java index 312184e11bc..7ee0fc7244c 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XOseeEnumType.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XOseeEnumType.java @@ -1,45 +1,45 @@ -/**
- * <copyright>
- * </copyright>
- *
+/** + * <copyright> + * </copyright> + * - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>XOsee Enum Type</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType#getEnumEntries <em>Enum Entries</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumType()
- * @model
- * @generated
- */
-public interface XOseeEnumType extends OseeType
-{
- /**
- * Returns the value of the '<em><b>Enum Entries</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Enum Entries</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Enum Entries</em>' containment reference list.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumType_EnumEntries()
- * @model containment="true"
- * @generated
- */
- EList<XOseeEnumEntry> getEnumEntries();
-
-} // XOseeEnumType
+ */ +package org.eclipse.osee.framework.core.dsl.oseeDsl; + +import org.eclipse.emf.common.util.EList; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>XOsee Enum Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType#getEnumEntries <em>Enum Entries</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumType() + * @model + * @generated + */ +public interface XOseeEnumType extends OseeType +{ + /** + * Returns the value of the '<em><b>Enum Entries</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Enum Entries</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Enum Entries</em>' containment reference list. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXOseeEnumType_EnumEntries() + * @model containment="true" + * @generated + */ + EList<XOseeEnumEntry> getEnumEntries(); + +} // XOseeEnumType diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XRelationType.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XRelationType.java index 0688b4761d4..278422e93b9 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XRelationType.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/XRelationType.java @@ -1,192 +1,192 @@ -/**
- * <copyright>
- * </copyright>
- *
+/** + * <copyright> + * </copyright> + * - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>XRelation Type</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideAName <em>Side AName</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideAArtifactType <em>Side AArtifact Type</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideBName <em>Side BName</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideBArtifactType <em>Side BArtifact Type</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getDefaultOrderType <em>Default Order Type</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getMultiplicity <em>Multiplicity</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXRelationType()
- * @model
- * @generated
- */
-public interface XRelationType extends OseeType
-{
- /**
- * Returns the value of the '<em><b>Side AName</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Side AName</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Side AName</em>' attribute.
- * @see #setSideAName(String)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXRelationType_SideAName()
- * @model
- * @generated
- */
- String getSideAName();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideAName <em>Side AName</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Side AName</em>' attribute.
- * @see #getSideAName()
- * @generated
- */
- void setSideAName(String value);
-
- /**
- * Returns the value of the '<em><b>Side AArtifact Type</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Side AArtifact Type</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Side AArtifact Type</em>' reference.
- * @see #setSideAArtifactType(XArtifactType)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXRelationType_SideAArtifactType()
- * @model
- * @generated
- */
- XArtifactType getSideAArtifactType();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideAArtifactType <em>Side AArtifact Type</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Side AArtifact Type</em>' reference.
- * @see #getSideAArtifactType()
- * @generated
- */
- void setSideAArtifactType(XArtifactType value);
-
- /**
- * Returns the value of the '<em><b>Side BName</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Side BName</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Side BName</em>' attribute.
- * @see #setSideBName(String)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXRelationType_SideBName()
- * @model
- * @generated
- */
- String getSideBName();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideBName <em>Side BName</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Side BName</em>' attribute.
- * @see #getSideBName()
- * @generated
- */
- void setSideBName(String value);
-
- /**
- * Returns the value of the '<em><b>Side BArtifact Type</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Side BArtifact Type</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Side BArtifact Type</em>' reference.
- * @see #setSideBArtifactType(XArtifactType)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXRelationType_SideBArtifactType()
- * @model
- * @generated
- */
- XArtifactType getSideBArtifactType();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideBArtifactType <em>Side BArtifact Type</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Side BArtifact Type</em>' reference.
- * @see #getSideBArtifactType()
- * @generated
- */
- void setSideBArtifactType(XArtifactType value);
-
- /**
- * Returns the value of the '<em><b>Default Order Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Default Order Type</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Default Order Type</em>' attribute.
- * @see #setDefaultOrderType(String)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXRelationType_DefaultOrderType()
- * @model
- * @generated
- */
- String getDefaultOrderType();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getDefaultOrderType <em>Default Order Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Default Order Type</em>' attribute.
- * @see #getDefaultOrderType()
- * @generated
- */
- void setDefaultOrderType(String value);
-
- /**
- * Returns the value of the '<em><b>Multiplicity</b></em>' attribute.
- * The literals are from the enumeration {@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Multiplicity</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Multiplicity</em>' attribute.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum
- * @see #setMultiplicity(RelationMultiplicityEnum)
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXRelationType_Multiplicity()
- * @model
- * @generated
- */
- RelationMultiplicityEnum getMultiplicity();
-
- /**
- * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getMultiplicity <em>Multiplicity</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Multiplicity</em>' attribute.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum
- * @see #getMultiplicity()
- * @generated
- */
- void setMultiplicity(RelationMultiplicityEnum value);
-
-} // XRelationType
+ */ +package org.eclipse.osee.framework.core.dsl.oseeDsl; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>XRelation Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideAName <em>Side AName</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideAArtifactType <em>Side AArtifact Type</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideBName <em>Side BName</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideBArtifactType <em>Side BArtifact Type</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getDefaultOrderType <em>Default Order Type</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getMultiplicity <em>Multiplicity</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXRelationType() + * @model + * @generated + */ +public interface XRelationType extends OseeType +{ + /** + * Returns the value of the '<em><b>Side AName</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Side AName</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Side AName</em>' attribute. + * @see #setSideAName(String) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXRelationType_SideAName() + * @model + * @generated + */ + String getSideAName(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideAName <em>Side AName</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Side AName</em>' attribute. + * @see #getSideAName() + * @generated + */ + void setSideAName(String value); + + /** + * Returns the value of the '<em><b>Side AArtifact Type</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Side AArtifact Type</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Side AArtifact Type</em>' reference. + * @see #setSideAArtifactType(XArtifactType) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXRelationType_SideAArtifactType() + * @model + * @generated + */ + XArtifactType getSideAArtifactType(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideAArtifactType <em>Side AArtifact Type</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Side AArtifact Type</em>' reference. + * @see #getSideAArtifactType() + * @generated + */ + void setSideAArtifactType(XArtifactType value); + + /** + * Returns the value of the '<em><b>Side BName</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Side BName</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Side BName</em>' attribute. + * @see #setSideBName(String) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXRelationType_SideBName() + * @model + * @generated + */ + String getSideBName(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideBName <em>Side BName</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Side BName</em>' attribute. + * @see #getSideBName() + * @generated + */ + void setSideBName(String value); + + /** + * Returns the value of the '<em><b>Side BArtifact Type</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Side BArtifact Type</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Side BArtifact Type</em>' reference. + * @see #setSideBArtifactType(XArtifactType) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXRelationType_SideBArtifactType() + * @model + * @generated + */ + XArtifactType getSideBArtifactType(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getSideBArtifactType <em>Side BArtifact Type</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Side BArtifact Type</em>' reference. + * @see #getSideBArtifactType() + * @generated + */ + void setSideBArtifactType(XArtifactType value); + + /** + * Returns the value of the '<em><b>Default Order Type</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Default Order Type</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Default Order Type</em>' attribute. + * @see #setDefaultOrderType(String) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXRelationType_DefaultOrderType() + * @model + * @generated + */ + String getDefaultOrderType(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getDefaultOrderType <em>Default Order Type</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Default Order Type</em>' attribute. + * @see #getDefaultOrderType() + * @generated + */ + void setDefaultOrderType(String value); + + /** + * Returns the value of the '<em><b>Multiplicity</b></em>' attribute. + * The literals are from the enumeration {@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Multiplicity</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Multiplicity</em>' attribute. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum + * @see #setMultiplicity(RelationMultiplicityEnum) + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#getXRelationType_Multiplicity() + * @model + * @generated + */ + RelationMultiplicityEnum getMultiplicity(); + + /** + * Sets the value of the '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType#getMultiplicity <em>Multiplicity</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Multiplicity</em>' attribute. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum + * @see #getMultiplicity() + * @generated + */ + void setMultiplicity(RelationMultiplicityEnum value); + +} // XRelationType diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AccessContextImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AccessContextImpl.java index 9b64e20be3e..8dea0c481df 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AccessContextImpl.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AccessContextImpl.java @@ -1,376 +1,376 @@ -/**
- * <copyright>
- * </copyright>
- *
- - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.EObjectResolvingEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Access Context</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AccessContextImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AccessContextImpl#getSuperAccessContexts <em>Super Access Contexts</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AccessContextImpl#getTypeGuid <em>Type Guid</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AccessContextImpl#getAccessRules <em>Access Rules</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AccessContextImpl#getHierarchyRestrictions <em>Hierarchy Restrictions</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class AccessContextImpl extends MinimalEObjectImpl.Container implements AccessContext
-{
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getSuperAccessContexts() <em>Super Access Contexts</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSuperAccessContexts()
- * @generated
- * @ordered
- */
- protected EList<AccessContext> superAccessContexts;
-
- /**
- * The default value of the '{@link #getTypeGuid() <em>Type Guid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTypeGuid()
- * @generated
- * @ordered
- */
- protected static final String TYPE_GUID_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getTypeGuid() <em>Type Guid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTypeGuid()
- * @generated
- * @ordered
- */
- protected String typeGuid = TYPE_GUID_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getAccessRules() <em>Access Rules</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getAccessRules()
- * @generated
- * @ordered
- */
- protected EList<PermissionRule> accessRules;
-
- /**
- * The cached value of the '{@link #getHierarchyRestrictions() <em>Hierarchy Restrictions</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getHierarchyRestrictions()
- * @generated
- * @ordered
- */
- protected EList<HierarchyRestriction> hierarchyRestrictions;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected AccessContextImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OseeDslPackage.Literals.ACCESS_CONTEXT;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName()
- {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName)
- {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ACCESS_CONTEXT__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<AccessContext> getSuperAccessContexts()
- {
- if (superAccessContexts == null)
- {
- superAccessContexts = new EObjectResolvingEList<AccessContext>(AccessContext.class, this, OseeDslPackage.ACCESS_CONTEXT__SUPER_ACCESS_CONTEXTS);
- }
- return superAccessContexts;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getTypeGuid()
- {
- return typeGuid;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTypeGuid(String newTypeGuid)
- {
- String oldTypeGuid = typeGuid;
- typeGuid = newTypeGuid;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ACCESS_CONTEXT__TYPE_GUID, oldTypeGuid, typeGuid));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<PermissionRule> getAccessRules()
- {
- if (accessRules == null)
- {
- accessRules = new EObjectContainmentEList<PermissionRule>(PermissionRule.class, this, OseeDslPackage.ACCESS_CONTEXT__ACCESS_RULES);
- }
- return accessRules;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<HierarchyRestriction> getHierarchyRestrictions()
- {
- if (hierarchyRestrictions == null)
- {
- hierarchyRestrictions = new EObjectContainmentEList<HierarchyRestriction>(HierarchyRestriction.class, this, OseeDslPackage.ACCESS_CONTEXT__HIERARCHY_RESTRICTIONS);
- }
- return hierarchyRestrictions;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case OseeDslPackage.ACCESS_CONTEXT__ACCESS_RULES:
- return ((InternalEList<?>)getAccessRules()).basicRemove(otherEnd, msgs);
- case OseeDslPackage.ACCESS_CONTEXT__HIERARCHY_RESTRICTIONS:
- return ((InternalEList<?>)getHierarchyRestrictions()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case OseeDslPackage.ACCESS_CONTEXT__NAME:
- return getName();
- case OseeDslPackage.ACCESS_CONTEXT__SUPER_ACCESS_CONTEXTS:
- return getSuperAccessContexts();
- case OseeDslPackage.ACCESS_CONTEXT__TYPE_GUID:
- return getTypeGuid();
- case OseeDslPackage.ACCESS_CONTEXT__ACCESS_RULES:
- return getAccessRules();
- case OseeDslPackage.ACCESS_CONTEXT__HIERARCHY_RESTRICTIONS:
- return getHierarchyRestrictions();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OseeDslPackage.ACCESS_CONTEXT__NAME:
- setName((String)newValue);
- return;
- case OseeDslPackage.ACCESS_CONTEXT__SUPER_ACCESS_CONTEXTS:
- getSuperAccessContexts().clear();
- getSuperAccessContexts().addAll((Collection<? extends AccessContext>)newValue);
- return;
- case OseeDslPackage.ACCESS_CONTEXT__TYPE_GUID:
- setTypeGuid((String)newValue);
- return;
- case OseeDslPackage.ACCESS_CONTEXT__ACCESS_RULES:
- getAccessRules().clear();
- getAccessRules().addAll((Collection<? extends PermissionRule>)newValue);
- return;
- case OseeDslPackage.ACCESS_CONTEXT__HIERARCHY_RESTRICTIONS:
- getHierarchyRestrictions().clear();
- getHierarchyRestrictions().addAll((Collection<? extends HierarchyRestriction>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.ACCESS_CONTEXT__NAME:
- setName(NAME_EDEFAULT);
- return;
- case OseeDslPackage.ACCESS_CONTEXT__SUPER_ACCESS_CONTEXTS:
- getSuperAccessContexts().clear();
- return;
- case OseeDslPackage.ACCESS_CONTEXT__TYPE_GUID:
- setTypeGuid(TYPE_GUID_EDEFAULT);
- return;
- case OseeDslPackage.ACCESS_CONTEXT__ACCESS_RULES:
- getAccessRules().clear();
- return;
- case OseeDslPackage.ACCESS_CONTEXT__HIERARCHY_RESTRICTIONS:
- getHierarchyRestrictions().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.ACCESS_CONTEXT__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case OseeDslPackage.ACCESS_CONTEXT__SUPER_ACCESS_CONTEXTS:
- return superAccessContexts != null && !superAccessContexts.isEmpty();
- case OseeDslPackage.ACCESS_CONTEXT__TYPE_GUID:
- return TYPE_GUID_EDEFAULT == null ? typeGuid != null : !TYPE_GUID_EDEFAULT.equals(typeGuid);
- case OseeDslPackage.ACCESS_CONTEXT__ACCESS_RULES:
- return accessRules != null && !accessRules.isEmpty();
- case OseeDslPackage.ACCESS_CONTEXT__HIERARCHY_RESTRICTIONS:
- return hierarchyRestrictions != null && !hierarchyRestrictions.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (name: ");
- result.append(name);
- result.append(", typeGuid: ");
- result.append(typeGuid);
- result.append(')');
- return result.toString();
- }
-
-} //AccessContextImpl
+/** + * <copyright> + * </copyright> + * + + */ +package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.EObjectResolvingEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext; +import org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction; +import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; +import org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Access Context</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AccessContextImpl#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AccessContextImpl#getSuperAccessContexts <em>Super Access Contexts</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AccessContextImpl#getTypeGuid <em>Type Guid</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AccessContextImpl#getAccessRules <em>Access Rules</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AccessContextImpl#getHierarchyRestrictions <em>Hierarchy Restrictions</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class AccessContextImpl extends MinimalEObjectImpl.Container implements AccessContext +{ + /** + * The default value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The cached value of the '{@link #getSuperAccessContexts() <em>Super Access Contexts</em>}' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getSuperAccessContexts() + * @generated + * @ordered + */ + protected EList<AccessContext> superAccessContexts; + + /** + * The default value of the '{@link #getTypeGuid() <em>Type Guid</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTypeGuid() + * @generated + * @ordered + */ + protected static final String TYPE_GUID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTypeGuid() <em>Type Guid</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTypeGuid() + * @generated + * @ordered + */ + protected String typeGuid = TYPE_GUID_EDEFAULT; + + /** + * The cached value of the '{@link #getAccessRules() <em>Access Rules</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getAccessRules() + * @generated + * @ordered + */ + protected EList<PermissionRule> accessRules; + + /** + * The cached value of the '{@link #getHierarchyRestrictions() <em>Hierarchy Restrictions</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getHierarchyRestrictions() + * @generated + * @ordered + */ + protected EList<HierarchyRestriction> hierarchyRestrictions; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected AccessContextImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return OseeDslPackage.Literals.ACCESS_CONTEXT; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getName() + { + return name; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setName(String newName) + { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ACCESS_CONTEXT__NAME, oldName, name)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<AccessContext> getSuperAccessContexts() + { + if (superAccessContexts == null) + { + superAccessContexts = new EObjectResolvingEList<AccessContext>(AccessContext.class, this, OseeDslPackage.ACCESS_CONTEXT__SUPER_ACCESS_CONTEXTS); + } + return superAccessContexts; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTypeGuid() + { + return typeGuid; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTypeGuid(String newTypeGuid) + { + String oldTypeGuid = typeGuid; + typeGuid = newTypeGuid; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ACCESS_CONTEXT__TYPE_GUID, oldTypeGuid, typeGuid)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<PermissionRule> getAccessRules() + { + if (accessRules == null) + { + accessRules = new EObjectContainmentEList<PermissionRule>(PermissionRule.class, this, OseeDslPackage.ACCESS_CONTEXT__ACCESS_RULES); + } + return accessRules; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<HierarchyRestriction> getHierarchyRestrictions() + { + if (hierarchyRestrictions == null) + { + hierarchyRestrictions = new EObjectContainmentEList<HierarchyRestriction>(HierarchyRestriction.class, this, OseeDslPackage.ACCESS_CONTEXT__HIERARCHY_RESTRICTIONS); + } + return hierarchyRestrictions; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case OseeDslPackage.ACCESS_CONTEXT__ACCESS_RULES: + return ((InternalEList<?>)getAccessRules()).basicRemove(otherEnd, msgs); + case OseeDslPackage.ACCESS_CONTEXT__HIERARCHY_RESTRICTIONS: + return ((InternalEList<?>)getHierarchyRestrictions()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case OseeDslPackage.ACCESS_CONTEXT__NAME: + return getName(); + case OseeDslPackage.ACCESS_CONTEXT__SUPER_ACCESS_CONTEXTS: + return getSuperAccessContexts(); + case OseeDslPackage.ACCESS_CONTEXT__TYPE_GUID: + return getTypeGuid(); + case OseeDslPackage.ACCESS_CONTEXT__ACCESS_RULES: + return getAccessRules(); + case OseeDslPackage.ACCESS_CONTEXT__HIERARCHY_RESTRICTIONS: + return getHierarchyRestrictions(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case OseeDslPackage.ACCESS_CONTEXT__NAME: + setName((String)newValue); + return; + case OseeDslPackage.ACCESS_CONTEXT__SUPER_ACCESS_CONTEXTS: + getSuperAccessContexts().clear(); + getSuperAccessContexts().addAll((Collection<? extends AccessContext>)newValue); + return; + case OseeDslPackage.ACCESS_CONTEXT__TYPE_GUID: + setTypeGuid((String)newValue); + return; + case OseeDslPackage.ACCESS_CONTEXT__ACCESS_RULES: + getAccessRules().clear(); + getAccessRules().addAll((Collection<? extends PermissionRule>)newValue); + return; + case OseeDslPackage.ACCESS_CONTEXT__HIERARCHY_RESTRICTIONS: + getHierarchyRestrictions().clear(); + getHierarchyRestrictions().addAll((Collection<? extends HierarchyRestriction>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case OseeDslPackage.ACCESS_CONTEXT__NAME: + setName(NAME_EDEFAULT); + return; + case OseeDslPackage.ACCESS_CONTEXT__SUPER_ACCESS_CONTEXTS: + getSuperAccessContexts().clear(); + return; + case OseeDslPackage.ACCESS_CONTEXT__TYPE_GUID: + setTypeGuid(TYPE_GUID_EDEFAULT); + return; + case OseeDslPackage.ACCESS_CONTEXT__ACCESS_RULES: + getAccessRules().clear(); + return; + case OseeDslPackage.ACCESS_CONTEXT__HIERARCHY_RESTRICTIONS: + getHierarchyRestrictions().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case OseeDslPackage.ACCESS_CONTEXT__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case OseeDslPackage.ACCESS_CONTEXT__SUPER_ACCESS_CONTEXTS: + return superAccessContexts != null && !superAccessContexts.isEmpty(); + case OseeDslPackage.ACCESS_CONTEXT__TYPE_GUID: + return TYPE_GUID_EDEFAULT == null ? typeGuid != null : !TYPE_GUID_EDEFAULT.equals(typeGuid); + case OseeDslPackage.ACCESS_CONTEXT__ACCESS_RULES: + return accessRules != null && !accessRules.isEmpty(); + case OseeDslPackage.ACCESS_CONTEXT__HIERARCHY_RESTRICTIONS: + return hierarchyRestrictions != null && !hierarchyRestrictions.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (name: "); + result.append(name); + result.append(", typeGuid: "); + result.append(typeGuid); + result.append(')'); + return result.toString(); + } + +} //AccessContextImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AddEnumImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AddEnumImpl.java index f5397be2da1..8e7c76256ae 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AddEnumImpl.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AddEnumImpl.java @@ -1,292 +1,292 @@ -/**
- * <copyright>
- * </copyright>
- *
+/** + * <copyright> + * </copyright> + * - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Add Enum</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AddEnumImpl#getEnumEntry <em>Enum Entry</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AddEnumImpl#getOrdinal <em>Ordinal</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AddEnumImpl#getEntryGuid <em>Entry Guid</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class AddEnumImpl extends OverrideOptionImpl implements AddEnum
-{
- /**
- * The default value of the '{@link #getEnumEntry() <em>Enum Entry</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEnumEntry()
- * @generated
- * @ordered
- */
- protected static final String ENUM_ENTRY_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getEnumEntry() <em>Enum Entry</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEnumEntry()
- * @generated
- * @ordered
- */
- protected String enumEntry = ENUM_ENTRY_EDEFAULT;
-
- /**
- * The default value of the '{@link #getOrdinal() <em>Ordinal</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getOrdinal()
- * @generated
- * @ordered
- */
- protected static final String ORDINAL_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getOrdinal() <em>Ordinal</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getOrdinal()
- * @generated
- * @ordered
- */
- protected String ordinal = ORDINAL_EDEFAULT;
-
- /**
- * The default value of the '{@link #getEntryGuid() <em>Entry Guid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEntryGuid()
- * @generated
- * @ordered
- */
- protected static final String ENTRY_GUID_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getEntryGuid() <em>Entry Guid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEntryGuid()
- * @generated
- * @ordered
- */
- protected String entryGuid = ENTRY_GUID_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected AddEnumImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OseeDslPackage.Literals.ADD_ENUM;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getEnumEntry()
- {
- return enumEntry;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setEnumEntry(String newEnumEntry)
- {
- String oldEnumEntry = enumEntry;
- enumEntry = newEnumEntry;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ADD_ENUM__ENUM_ENTRY, oldEnumEntry, enumEntry));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getOrdinal()
- {
- return ordinal;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setOrdinal(String newOrdinal)
- {
- String oldOrdinal = ordinal;
- ordinal = newOrdinal;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ADD_ENUM__ORDINAL, oldOrdinal, ordinal));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getEntryGuid()
- {
- return entryGuid;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setEntryGuid(String newEntryGuid)
- {
- String oldEntryGuid = entryGuid;
- entryGuid = newEntryGuid;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ADD_ENUM__ENTRY_GUID, oldEntryGuid, entryGuid));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case OseeDslPackage.ADD_ENUM__ENUM_ENTRY:
- return getEnumEntry();
- case OseeDslPackage.ADD_ENUM__ORDINAL:
- return getOrdinal();
- case OseeDslPackage.ADD_ENUM__ENTRY_GUID:
- return getEntryGuid();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OseeDslPackage.ADD_ENUM__ENUM_ENTRY:
- setEnumEntry((String)newValue);
- return;
- case OseeDslPackage.ADD_ENUM__ORDINAL:
- setOrdinal((String)newValue);
- return;
- case OseeDslPackage.ADD_ENUM__ENTRY_GUID:
- setEntryGuid((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.ADD_ENUM__ENUM_ENTRY:
- setEnumEntry(ENUM_ENTRY_EDEFAULT);
- return;
- case OseeDslPackage.ADD_ENUM__ORDINAL:
- setOrdinal(ORDINAL_EDEFAULT);
- return;
- case OseeDslPackage.ADD_ENUM__ENTRY_GUID:
- setEntryGuid(ENTRY_GUID_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.ADD_ENUM__ENUM_ENTRY:
- return ENUM_ENTRY_EDEFAULT == null ? enumEntry != null : !ENUM_ENTRY_EDEFAULT.equals(enumEntry);
- case OseeDslPackage.ADD_ENUM__ORDINAL:
- return ORDINAL_EDEFAULT == null ? ordinal != null : !ORDINAL_EDEFAULT.equals(ordinal);
- case OseeDslPackage.ADD_ENUM__ENTRY_GUID:
- return ENTRY_GUID_EDEFAULT == null ? entryGuid != null : !ENTRY_GUID_EDEFAULT.equals(entryGuid);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (enumEntry: ");
- result.append(enumEntry);
- result.append(", ordinal: ");
- result.append(ordinal);
- result.append(", entryGuid: ");
- result.append(entryGuid);
- result.append(')');
- return result.toString();
- }
-
-} //AddEnumImpl
+ */ +package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum; +import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Add Enum</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AddEnumImpl#getEnumEntry <em>Enum Entry</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AddEnumImpl#getOrdinal <em>Ordinal</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AddEnumImpl#getEntryGuid <em>Entry Guid</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class AddEnumImpl extends OverrideOptionImpl implements AddEnum +{ + /** + * The default value of the '{@link #getEnumEntry() <em>Enum Entry</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getEnumEntry() + * @generated + * @ordered + */ + protected static final String ENUM_ENTRY_EDEFAULT = null; + + /** + * The cached value of the '{@link #getEnumEntry() <em>Enum Entry</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getEnumEntry() + * @generated + * @ordered + */ + protected String enumEntry = ENUM_ENTRY_EDEFAULT; + + /** + * The default value of the '{@link #getOrdinal() <em>Ordinal</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getOrdinal() + * @generated + * @ordered + */ + protected static final String ORDINAL_EDEFAULT = null; + + /** + * The cached value of the '{@link #getOrdinal() <em>Ordinal</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getOrdinal() + * @generated + * @ordered + */ + protected String ordinal = ORDINAL_EDEFAULT; + + /** + * The default value of the '{@link #getEntryGuid() <em>Entry Guid</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getEntryGuid() + * @generated + * @ordered + */ + protected static final String ENTRY_GUID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getEntryGuid() <em>Entry Guid</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getEntryGuid() + * @generated + * @ordered + */ + protected String entryGuid = ENTRY_GUID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected AddEnumImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return OseeDslPackage.Literals.ADD_ENUM; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getEnumEntry() + { + return enumEntry; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setEnumEntry(String newEnumEntry) + { + String oldEnumEntry = enumEntry; + enumEntry = newEnumEntry; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ADD_ENUM__ENUM_ENTRY, oldEnumEntry, enumEntry)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getOrdinal() + { + return ordinal; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setOrdinal(String newOrdinal) + { + String oldOrdinal = ordinal; + ordinal = newOrdinal; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ADD_ENUM__ORDINAL, oldOrdinal, ordinal)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getEntryGuid() + { + return entryGuid; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setEntryGuid(String newEntryGuid) + { + String oldEntryGuid = entryGuid; + entryGuid = newEntryGuid; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ADD_ENUM__ENTRY_GUID, oldEntryGuid, entryGuid)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case OseeDslPackage.ADD_ENUM__ENUM_ENTRY: + return getEnumEntry(); + case OseeDslPackage.ADD_ENUM__ORDINAL: + return getOrdinal(); + case OseeDslPackage.ADD_ENUM__ENTRY_GUID: + return getEntryGuid(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case OseeDslPackage.ADD_ENUM__ENUM_ENTRY: + setEnumEntry((String)newValue); + return; + case OseeDslPackage.ADD_ENUM__ORDINAL: + setOrdinal((String)newValue); + return; + case OseeDslPackage.ADD_ENUM__ENTRY_GUID: + setEntryGuid((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case OseeDslPackage.ADD_ENUM__ENUM_ENTRY: + setEnumEntry(ENUM_ENTRY_EDEFAULT); + return; + case OseeDslPackage.ADD_ENUM__ORDINAL: + setOrdinal(ORDINAL_EDEFAULT); + return; + case OseeDslPackage.ADD_ENUM__ENTRY_GUID: + setEntryGuid(ENTRY_GUID_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case OseeDslPackage.ADD_ENUM__ENUM_ENTRY: + return ENUM_ENTRY_EDEFAULT == null ? enumEntry != null : !ENUM_ENTRY_EDEFAULT.equals(enumEntry); + case OseeDslPackage.ADD_ENUM__ORDINAL: + return ORDINAL_EDEFAULT == null ? ordinal != null : !ORDINAL_EDEFAULT.equals(ordinal); + case OseeDslPackage.ADD_ENUM__ENTRY_GUID: + return ENTRY_GUID_EDEFAULT == null ? entryGuid != null : !ENTRY_GUID_EDEFAULT.equals(entryGuid); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (enumEntry: "); + result.append(enumEntry); + result.append(", ordinal: "); + result.append(ordinal); + result.append(", entryGuid: "); + result.append(entryGuid); + result.append(')'); + return result.toString(); + } + +} //AddEnumImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ArtifactInstanceRestrictionImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ArtifactInstanceRestrictionImpl.java index 2a4a39c47df..129a7e47ddc 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ArtifactInstanceRestrictionImpl.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ArtifactInstanceRestrictionImpl.java @@ -1,176 +1,176 @@ -/**
- * <copyright>
- * </copyright>
- *
- - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactInstanceRestriction;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Artifact Instance Restriction</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactInstanceRestrictionImpl#getArtifactName <em>Artifact Name</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ArtifactInstanceRestrictionImpl extends ObjectRestrictionImpl implements ArtifactInstanceRestriction
-{
- /**
- * The cached value of the '{@link #getArtifactName() <em>Artifact Name</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getArtifactName()
- * @generated
- * @ordered
- */
- protected XArtifactRef artifactName;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ArtifactInstanceRestrictionImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OseeDslPackage.Literals.ARTIFACT_INSTANCE_RESTRICTION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XArtifactRef getArtifactName()
- {
- if (artifactName != null && artifactName.eIsProxy())
- {
- InternalEObject oldArtifactName = (InternalEObject)artifactName;
- artifactName = (XArtifactRef)eResolveProxy(oldArtifactName);
- if (artifactName != oldArtifactName)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_NAME, oldArtifactName, artifactName));
- }
- }
- return artifactName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XArtifactRef basicGetArtifactName()
- {
- return artifactName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setArtifactName(XArtifactRef newArtifactName)
- {
- XArtifactRef oldArtifactName = artifactName;
- artifactName = newArtifactName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_NAME, oldArtifactName, artifactName));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case OseeDslPackage.ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_NAME:
- if (resolve) return getArtifactName();
- return basicGetArtifactName();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OseeDslPackage.ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_NAME:
- setArtifactName((XArtifactRef)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_NAME:
- setArtifactName((XArtifactRef)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_NAME:
- return artifactName != null;
- }
- return super.eIsSet(featureID);
- }
-
-} //ArtifactInstanceRestrictionImpl
+/** + * <copyright> + * </copyright> + * + + */ +package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactInstanceRestriction; +import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Artifact Instance Restriction</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactInstanceRestrictionImpl#getArtifactName <em>Artifact Name</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ArtifactInstanceRestrictionImpl extends ObjectRestrictionImpl implements ArtifactInstanceRestriction +{ + /** + * The cached value of the '{@link #getArtifactName() <em>Artifact Name</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getArtifactName() + * @generated + * @ordered + */ + protected XArtifactRef artifactName; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ArtifactInstanceRestrictionImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return OseeDslPackage.Literals.ARTIFACT_INSTANCE_RESTRICTION; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XArtifactRef getArtifactName() + { + if (artifactName != null && artifactName.eIsProxy()) + { + InternalEObject oldArtifactName = (InternalEObject)artifactName; + artifactName = (XArtifactRef)eResolveProxy(oldArtifactName); + if (artifactName != oldArtifactName) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_NAME, oldArtifactName, artifactName)); + } + } + return artifactName; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XArtifactRef basicGetArtifactName() + { + return artifactName; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setArtifactName(XArtifactRef newArtifactName) + { + XArtifactRef oldArtifactName = artifactName; + artifactName = newArtifactName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_NAME, oldArtifactName, artifactName)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case OseeDslPackage.ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_NAME: + if (resolve) return getArtifactName(); + return basicGetArtifactName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case OseeDslPackage.ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_NAME: + setArtifactName((XArtifactRef)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case OseeDslPackage.ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_NAME: + setArtifactName((XArtifactRef)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case OseeDslPackage.ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_NAME: + return artifactName != null; + } + return super.eIsSet(featureID); + } + +} //ArtifactInstanceRestrictionImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ArtifactTypeRestrictionImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ArtifactTypeRestrictionImpl.java index 08912a21ef8..39289c79747 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ArtifactTypeRestrictionImpl.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ArtifactTypeRestrictionImpl.java @@ -1,176 +1,176 @@ -/**
- * <copyright>
- * </copyright>
- *
- - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Artifact Type Restriction</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactTypeRestrictionImpl#getArtifactType <em>Artifact Type</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ArtifactTypeRestrictionImpl extends ObjectRestrictionImpl implements ArtifactTypeRestriction
-{
- /**
- * The cached value of the '{@link #getArtifactType() <em>Artifact Type</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getArtifactType()
- * @generated
- * @ordered
- */
- protected XArtifactType artifactType;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ArtifactTypeRestrictionImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OseeDslPackage.Literals.ARTIFACT_TYPE_RESTRICTION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XArtifactType getArtifactType()
- {
- if (artifactType != null && artifactType.eIsProxy())
- {
- InternalEObject oldArtifactType = (InternalEObject)artifactType;
- artifactType = (XArtifactType)eResolveProxy(oldArtifactType);
- if (artifactType != oldArtifactType)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE, oldArtifactType, artifactType));
- }
- }
- return artifactType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XArtifactType basicGetArtifactType()
- {
- return artifactType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setArtifactType(XArtifactType newArtifactType)
- {
- XArtifactType oldArtifactType = artifactType;
- artifactType = newArtifactType;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE, oldArtifactType, artifactType));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case OseeDslPackage.ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE:
- if (resolve) return getArtifactType();
- return basicGetArtifactType();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OseeDslPackage.ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE:
- setArtifactType((XArtifactType)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE:
- setArtifactType((XArtifactType)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE:
- return artifactType != null;
- }
- return super.eIsSet(featureID);
- }
-
-} //ArtifactTypeRestrictionImpl
+/** + * <copyright> + * </copyright> + * + + */ +package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction; +import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Artifact Type Restriction</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ArtifactTypeRestrictionImpl#getArtifactType <em>Artifact Type</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ArtifactTypeRestrictionImpl extends ObjectRestrictionImpl implements ArtifactTypeRestriction +{ + /** + * The cached value of the '{@link #getArtifactType() <em>Artifact Type</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getArtifactType() + * @generated + * @ordered + */ + protected XArtifactType artifactType; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ArtifactTypeRestrictionImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return OseeDslPackage.Literals.ARTIFACT_TYPE_RESTRICTION; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XArtifactType getArtifactType() + { + if (artifactType != null && artifactType.eIsProxy()) + { + InternalEObject oldArtifactType = (InternalEObject)artifactType; + artifactType = (XArtifactType)eResolveProxy(oldArtifactType); + if (artifactType != oldArtifactType) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE, oldArtifactType, artifactType)); + } + } + return artifactType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XArtifactType basicGetArtifactType() + { + return artifactType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setArtifactType(XArtifactType newArtifactType) + { + XArtifactType oldArtifactType = artifactType; + artifactType = newArtifactType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE, oldArtifactType, artifactType)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case OseeDslPackage.ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE: + if (resolve) return getArtifactType(); + return basicGetArtifactType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case OseeDslPackage.ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE: + setArtifactType((XArtifactType)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case OseeDslPackage.ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE: + setArtifactType((XArtifactType)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case OseeDslPackage.ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE: + return artifactType != null; + } + return super.eIsSet(featureID); + } + +} //ArtifactTypeRestrictionImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AttributeTypeOfArtifactTypeRestrictionImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AttributeTypeOfArtifactTypeRestrictionImpl.java index 1bf637b8951..5e1d2a0b87a 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AttributeTypeOfArtifactTypeRestrictionImpl.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AttributeTypeOfArtifactTypeRestrictionImpl.java @@ -1,242 +1,242 @@ -/**
- * <copyright>
- * </copyright>
- *
- - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Attribute Type Of Artifact Type Restriction</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeTypeOfArtifactTypeRestrictionImpl#getAttributeType <em>Attribute Type</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeTypeOfArtifactTypeRestrictionImpl#getArtifactType <em>Artifact Type</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class AttributeTypeOfArtifactTypeRestrictionImpl extends ObjectRestrictionImpl implements AttributeTypeOfArtifactTypeRestriction
-{
- /**
- * The cached value of the '{@link #getAttributeType() <em>Attribute Type</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getAttributeType()
- * @generated
- * @ordered
- */
- protected XAttributeType attributeType;
-
- /**
- * The cached value of the '{@link #getArtifactType() <em>Artifact Type</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getArtifactType()
- * @generated
- * @ordered
- */
- protected XArtifactType artifactType;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected AttributeTypeOfArtifactTypeRestrictionImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OseeDslPackage.Literals.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XAttributeType getAttributeType()
- {
- if (attributeType != null && attributeType.eIsProxy())
- {
- InternalEObject oldAttributeType = (InternalEObject)attributeType;
- attributeType = (XAttributeType)eResolveProxy(oldAttributeType);
- if (attributeType != oldAttributeType)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ATTRIBUTE_TYPE, oldAttributeType, attributeType));
- }
- }
- return attributeType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XAttributeType basicGetAttributeType()
- {
- return attributeType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setAttributeType(XAttributeType newAttributeType)
- {
- XAttributeType oldAttributeType = attributeType;
- attributeType = newAttributeType;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ATTRIBUTE_TYPE, oldAttributeType, attributeType));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XArtifactType getArtifactType()
- {
- if (artifactType != null && artifactType.eIsProxy())
- {
- InternalEObject oldArtifactType = (InternalEObject)artifactType;
- artifactType = (XArtifactType)eResolveProxy(oldArtifactType);
- if (artifactType != oldArtifactType)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE, oldArtifactType, artifactType));
- }
- }
- return artifactType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XArtifactType basicGetArtifactType()
- {
- return artifactType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setArtifactType(XArtifactType newArtifactType)
- {
- XArtifactType oldArtifactType = artifactType;
- artifactType = newArtifactType;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE, oldArtifactType, artifactType));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ATTRIBUTE_TYPE:
- if (resolve) return getAttributeType();
- return basicGetAttributeType();
- case OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE:
- if (resolve) return getArtifactType();
- return basicGetArtifactType();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ATTRIBUTE_TYPE:
- setAttributeType((XAttributeType)newValue);
- return;
- case OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE:
- setArtifactType((XArtifactType)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ATTRIBUTE_TYPE:
- setAttributeType((XAttributeType)null);
- return;
- case OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE:
- setArtifactType((XArtifactType)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ATTRIBUTE_TYPE:
- return attributeType != null;
- case OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE:
- return artifactType != null;
- }
- return super.eIsSet(featureID);
- }
-
-} //AttributeTypeOfArtifactTypeRestrictionImpl
+/** + * <copyright> + * </copyright> + * + + */ +package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction; +import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Attribute Type Of Artifact Type Restriction</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeTypeOfArtifactTypeRestrictionImpl#getAttributeType <em>Attribute Type</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeTypeOfArtifactTypeRestrictionImpl#getArtifactType <em>Artifact Type</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class AttributeTypeOfArtifactTypeRestrictionImpl extends ObjectRestrictionImpl implements AttributeTypeOfArtifactTypeRestriction +{ + /** + * The cached value of the '{@link #getAttributeType() <em>Attribute Type</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getAttributeType() + * @generated + * @ordered + */ + protected XAttributeType attributeType; + + /** + * The cached value of the '{@link #getArtifactType() <em>Artifact Type</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getArtifactType() + * @generated + * @ordered + */ + protected XArtifactType artifactType; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected AttributeTypeOfArtifactTypeRestrictionImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return OseeDslPackage.Literals.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XAttributeType getAttributeType() + { + if (attributeType != null && attributeType.eIsProxy()) + { + InternalEObject oldAttributeType = (InternalEObject)attributeType; + attributeType = (XAttributeType)eResolveProxy(oldAttributeType); + if (attributeType != oldAttributeType) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ATTRIBUTE_TYPE, oldAttributeType, attributeType)); + } + } + return attributeType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XAttributeType basicGetAttributeType() + { + return attributeType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setAttributeType(XAttributeType newAttributeType) + { + XAttributeType oldAttributeType = attributeType; + attributeType = newAttributeType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ATTRIBUTE_TYPE, oldAttributeType, attributeType)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XArtifactType getArtifactType() + { + if (artifactType != null && artifactType.eIsProxy()) + { + InternalEObject oldArtifactType = (InternalEObject)artifactType; + artifactType = (XArtifactType)eResolveProxy(oldArtifactType); + if (artifactType != oldArtifactType) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE, oldArtifactType, artifactType)); + } + } + return artifactType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XArtifactType basicGetArtifactType() + { + return artifactType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setArtifactType(XArtifactType newArtifactType) + { + XArtifactType oldArtifactType = artifactType; + artifactType = newArtifactType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE, oldArtifactType, artifactType)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ATTRIBUTE_TYPE: + if (resolve) return getAttributeType(); + return basicGetAttributeType(); + case OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE: + if (resolve) return getArtifactType(); + return basicGetArtifactType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ATTRIBUTE_TYPE: + setAttributeType((XAttributeType)newValue); + return; + case OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE: + setArtifactType((XArtifactType)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ATTRIBUTE_TYPE: + setAttributeType((XAttributeType)null); + return; + case OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE: + setArtifactType((XArtifactType)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ATTRIBUTE_TYPE: + return attributeType != null; + case OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE: + return artifactType != null; + } + return super.eIsSet(featureID); + } + +} //AttributeTypeOfArtifactTypeRestrictionImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AttributeTypeRestrictionImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AttributeTypeRestrictionImpl.java index a4869e5dd46..d4f582d157d 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AttributeTypeRestrictionImpl.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/AttributeTypeRestrictionImpl.java @@ -1,176 +1,176 @@ -/**
- * <copyright>
- * </copyright>
- *
- - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Attribute Type Restriction</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeTypeRestrictionImpl#getAttributeType <em>Attribute Type</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class AttributeTypeRestrictionImpl extends ObjectRestrictionImpl implements AttributeTypeRestriction
-{
- /**
- * The cached value of the '{@link #getAttributeType() <em>Attribute Type</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getAttributeType()
- * @generated
- * @ordered
- */
- protected XAttributeType attributeType;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected AttributeTypeRestrictionImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OseeDslPackage.Literals.ATTRIBUTE_TYPE_RESTRICTION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XAttributeType getAttributeType()
- {
- if (attributeType != null && attributeType.eIsProxy())
- {
- InternalEObject oldAttributeType = (InternalEObject)attributeType;
- attributeType = (XAttributeType)eResolveProxy(oldAttributeType);
- if (attributeType != oldAttributeType)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE, oldAttributeType, attributeType));
- }
- }
- return attributeType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XAttributeType basicGetAttributeType()
- {
- return attributeType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setAttributeType(XAttributeType newAttributeType)
- {
- XAttributeType oldAttributeType = attributeType;
- attributeType = newAttributeType;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE, oldAttributeType, attributeType));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE:
- if (resolve) return getAttributeType();
- return basicGetAttributeType();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE:
- setAttributeType((XAttributeType)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE:
- setAttributeType((XAttributeType)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE:
- return attributeType != null;
- }
- return super.eIsSet(featureID);
- }
-
-} //AttributeTypeRestrictionImpl
+/** + * <copyright> + * </copyright> + * + + */ +package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction; +import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Attribute Type Restriction</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.AttributeTypeRestrictionImpl#getAttributeType <em>Attribute Type</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class AttributeTypeRestrictionImpl extends ObjectRestrictionImpl implements AttributeTypeRestriction +{ + /** + * The cached value of the '{@link #getAttributeType() <em>Attribute Type</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getAttributeType() + * @generated + * @ordered + */ + protected XAttributeType attributeType; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected AttributeTypeRestrictionImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return OseeDslPackage.Literals.ATTRIBUTE_TYPE_RESTRICTION; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XAttributeType getAttributeType() + { + if (attributeType != null && attributeType.eIsProxy()) + { + InternalEObject oldAttributeType = (InternalEObject)attributeType; + attributeType = (XAttributeType)eResolveProxy(oldAttributeType); + if (attributeType != oldAttributeType) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE, oldAttributeType, attributeType)); + } + } + return attributeType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XAttributeType basicGetAttributeType() + { + return attributeType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setAttributeType(XAttributeType newAttributeType) + { + XAttributeType oldAttributeType = attributeType; + attributeType = newAttributeType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE, oldAttributeType, attributeType)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE: + if (resolve) return getAttributeType(); + return basicGetAttributeType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE: + setAttributeType((XAttributeType)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE: + setAttributeType((XAttributeType)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE: + return attributeType != null; + } + return super.eIsSet(featureID); + } + +} //AttributeTypeRestrictionImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/HierarchyRestrictionImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/HierarchyRestrictionImpl.java index 1b07a32945e..3c9a377789e 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/HierarchyRestrictionImpl.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/HierarchyRestrictionImpl.java @@ -1,239 +1,239 @@ -/**
- * <copyright>
- * </copyright>
- *
- - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Hierarchy Restriction</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.HierarchyRestrictionImpl#getArtifact <em>Artifact</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.HierarchyRestrictionImpl#getAccessRules <em>Access Rules</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class HierarchyRestrictionImpl extends MinimalEObjectImpl.Container implements HierarchyRestriction
-{
- /**
- * The cached value of the '{@link #getArtifact() <em>Artifact</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getArtifact()
- * @generated
- * @ordered
- */
- protected XArtifactRef artifact;
-
- /**
- * The cached value of the '{@link #getAccessRules() <em>Access Rules</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getAccessRules()
- * @generated
- * @ordered
- */
- protected EList<PermissionRule> accessRules;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected HierarchyRestrictionImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OseeDslPackage.Literals.HIERARCHY_RESTRICTION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XArtifactRef getArtifact()
- {
- if (artifact != null && artifact.eIsProxy())
- {
- InternalEObject oldArtifact = (InternalEObject)artifact;
- artifact = (XArtifactRef)eResolveProxy(oldArtifact);
- if (artifact != oldArtifact)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.HIERARCHY_RESTRICTION__ARTIFACT, oldArtifact, artifact));
- }
- }
- return artifact;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XArtifactRef basicGetArtifact()
- {
- return artifact;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setArtifact(XArtifactRef newArtifact)
- {
- XArtifactRef oldArtifact = artifact;
- artifact = newArtifact;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.HIERARCHY_RESTRICTION__ARTIFACT, oldArtifact, artifact));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<PermissionRule> getAccessRules()
- {
- if (accessRules == null)
- {
- accessRules = new EObjectContainmentEList<PermissionRule>(PermissionRule.class, this, OseeDslPackage.HIERARCHY_RESTRICTION__ACCESS_RULES);
- }
- return accessRules;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case OseeDslPackage.HIERARCHY_RESTRICTION__ACCESS_RULES:
- return ((InternalEList<?>)getAccessRules()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case OseeDslPackage.HIERARCHY_RESTRICTION__ARTIFACT:
- if (resolve) return getArtifact();
- return basicGetArtifact();
- case OseeDslPackage.HIERARCHY_RESTRICTION__ACCESS_RULES:
- return getAccessRules();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OseeDslPackage.HIERARCHY_RESTRICTION__ARTIFACT:
- setArtifact((XArtifactRef)newValue);
- return;
- case OseeDslPackage.HIERARCHY_RESTRICTION__ACCESS_RULES:
- getAccessRules().clear();
- getAccessRules().addAll((Collection<? extends PermissionRule>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.HIERARCHY_RESTRICTION__ARTIFACT:
- setArtifact((XArtifactRef)null);
- return;
- case OseeDslPackage.HIERARCHY_RESTRICTION__ACCESS_RULES:
- getAccessRules().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.HIERARCHY_RESTRICTION__ARTIFACT:
- return artifact != null;
- case OseeDslPackage.HIERARCHY_RESTRICTION__ACCESS_RULES:
- return accessRules != null && !accessRules.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
-} //HierarchyRestrictionImpl
+/** + * <copyright> + * </copyright> + * + + */ +package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction; +import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; +import org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Hierarchy Restriction</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.HierarchyRestrictionImpl#getArtifact <em>Artifact</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.HierarchyRestrictionImpl#getAccessRules <em>Access Rules</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class HierarchyRestrictionImpl extends MinimalEObjectImpl.Container implements HierarchyRestriction +{ + /** + * The cached value of the '{@link #getArtifact() <em>Artifact</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getArtifact() + * @generated + * @ordered + */ + protected XArtifactRef artifact; + + /** + * The cached value of the '{@link #getAccessRules() <em>Access Rules</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getAccessRules() + * @generated + * @ordered + */ + protected EList<PermissionRule> accessRules; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected HierarchyRestrictionImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return OseeDslPackage.Literals.HIERARCHY_RESTRICTION; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XArtifactRef getArtifact() + { + if (artifact != null && artifact.eIsProxy()) + { + InternalEObject oldArtifact = (InternalEObject)artifact; + artifact = (XArtifactRef)eResolveProxy(oldArtifact); + if (artifact != oldArtifact) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.HIERARCHY_RESTRICTION__ARTIFACT, oldArtifact, artifact)); + } + } + return artifact; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XArtifactRef basicGetArtifact() + { + return artifact; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setArtifact(XArtifactRef newArtifact) + { + XArtifactRef oldArtifact = artifact; + artifact = newArtifact; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.HIERARCHY_RESTRICTION__ARTIFACT, oldArtifact, artifact)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<PermissionRule> getAccessRules() + { + if (accessRules == null) + { + accessRules = new EObjectContainmentEList<PermissionRule>(PermissionRule.class, this, OseeDslPackage.HIERARCHY_RESTRICTION__ACCESS_RULES); + } + return accessRules; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case OseeDslPackage.HIERARCHY_RESTRICTION__ACCESS_RULES: + return ((InternalEList<?>)getAccessRules()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case OseeDslPackage.HIERARCHY_RESTRICTION__ARTIFACT: + if (resolve) return getArtifact(); + return basicGetArtifact(); + case OseeDslPackage.HIERARCHY_RESTRICTION__ACCESS_RULES: + return getAccessRules(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case OseeDslPackage.HIERARCHY_RESTRICTION__ARTIFACT: + setArtifact((XArtifactRef)newValue); + return; + case OseeDslPackage.HIERARCHY_RESTRICTION__ACCESS_RULES: + getAccessRules().clear(); + getAccessRules().addAll((Collection<? extends PermissionRule>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case OseeDslPackage.HIERARCHY_RESTRICTION__ARTIFACT: + setArtifact((XArtifactRef)null); + return; + case OseeDslPackage.HIERARCHY_RESTRICTION__ACCESS_RULES: + getAccessRules().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case OseeDslPackage.HIERARCHY_RESTRICTION__ARTIFACT: + return artifact != null; + case OseeDslPackage.HIERARCHY_RESTRICTION__ACCESS_RULES: + return accessRules != null && !accessRules.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //HierarchyRestrictionImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ImportImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ImportImpl.java index 229ca13e75c..04a446ade27 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ImportImpl.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ImportImpl.java @@ -1,181 +1,181 @@ -/**
- * <copyright>
- * </copyright>
- *
- - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.osee.framework.core.dsl.oseeDsl.Import;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Import</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ImportImpl#getImportURI <em>Import URI</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ImportImpl extends MinimalEObjectImpl.Container implements Import
-{
- /**
- * The default value of the '{@link #getImportURI() <em>Import URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getImportURI()
- * @generated
- * @ordered
- */
- protected static final String IMPORT_URI_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getImportURI() <em>Import URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getImportURI()
- * @generated
- * @ordered
- */
- protected String importURI = IMPORT_URI_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ImportImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OseeDslPackage.Literals.IMPORT;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getImportURI()
- {
- return importURI;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setImportURI(String newImportURI)
- {
- String oldImportURI = importURI;
- importURI = newImportURI;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.IMPORT__IMPORT_URI, oldImportURI, importURI));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case OseeDslPackage.IMPORT__IMPORT_URI:
- return getImportURI();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OseeDslPackage.IMPORT__IMPORT_URI:
- setImportURI((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.IMPORT__IMPORT_URI:
- setImportURI(IMPORT_URI_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.IMPORT__IMPORT_URI:
- return IMPORT_URI_EDEFAULT == null ? importURI != null : !IMPORT_URI_EDEFAULT.equals(importURI);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (importURI: ");
- result.append(importURI);
- result.append(')');
- return result.toString();
- }
-
-} //ImportImpl
+/** + * <copyright> + * </copyright> + * + + */ +package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.osee.framework.core.dsl.oseeDsl.Import; +import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Import</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.ImportImpl#getImportURI <em>Import URI</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ImportImpl extends MinimalEObjectImpl.Container implements Import +{ + /** + * The default value of the '{@link #getImportURI() <em>Import URI</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getImportURI() + * @generated + * @ordered + */ + protected static final String IMPORT_URI_EDEFAULT = null; + + /** + * The cached value of the '{@link #getImportURI() <em>Import URI</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getImportURI() + * @generated + * @ordered + */ + protected String importURI = IMPORT_URI_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ImportImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return OseeDslPackage.Literals.IMPORT; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getImportURI() + { + return importURI; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setImportURI(String newImportURI) + { + String oldImportURI = importURI; + importURI = newImportURI; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.IMPORT__IMPORT_URI, oldImportURI, importURI)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case OseeDslPackage.IMPORT__IMPORT_URI: + return getImportURI(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case OseeDslPackage.IMPORT__IMPORT_URI: + setImportURI((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case OseeDslPackage.IMPORT__IMPORT_URI: + setImportURI(IMPORT_URI_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case OseeDslPackage.IMPORT__IMPORT_URI: + return IMPORT_URI_EDEFAULT == null ? importURI != null : !IMPORT_URI_EDEFAULT.equals(importURI); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (importURI: "); + result.append(importURI); + result.append(')'); + return result.toString(); + } + +} //ImportImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ObjectRestrictionImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ObjectRestrictionImpl.java index 4f5bf2be7aa..413e51625e1 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ObjectRestrictionImpl.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/ObjectRestrictionImpl.java @@ -1,48 +1,48 @@ -/**
- * <copyright>
- * </copyright>
- *
+/** + * <copyright> + * </copyright> + * - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.osee.framework.core.dsl.oseeDsl.ObjectRestriction;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Object Restriction</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class ObjectRestrictionImpl extends MinimalEObjectImpl.Container implements ObjectRestriction
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ObjectRestrictionImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OseeDslPackage.Literals.OBJECT_RESTRICTION;
- }
-
-} //ObjectRestrictionImpl
+ */ +package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.osee.framework.core.dsl.oseeDsl.ObjectRestriction; +import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Object Restriction</b></em>'. + * <!-- end-user-doc --> + * <p> + * </p> + * + * @generated + */ +public class ObjectRestrictionImpl extends MinimalEObjectImpl.Container implements ObjectRestriction +{ + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ObjectRestrictionImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return OseeDslPackage.Literals.OBJECT_RESTRICTION; + } + +} //ObjectRestrictionImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OseeDslFactoryImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OseeDslFactoryImpl.java index abe09ffe838..81108841d26 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OseeDslFactoryImpl.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OseeDslFactoryImpl.java @@ -1,507 +1,507 @@ -/**
- * <copyright>
- * </copyright>
- *
- - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl.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.eclipse.osee.framework.core.dsl.oseeDsl.*;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class OseeDslFactoryImpl extends EFactoryImpl implements OseeDslFactory
-{
- /**
- * Creates the default factory implementation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static OseeDslFactory init()
- {
- try
- {
- OseeDslFactory theOseeDslFactory = (OseeDslFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/osee/framework/core/dsl/OseeDsl");
- if (theOseeDslFactory != null)
- {
- return theOseeDslFactory;
- }
- }
- catch (Exception exception)
- {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new OseeDslFactoryImpl();
- }
-
- /**
- * Creates an instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public OseeDslFactoryImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public EObject create(EClass eClass)
- {
- switch (eClass.getClassifierID())
- {
- case OseeDslPackage.OSEE_DSL: return createOseeDsl();
- case OseeDslPackage.IMPORT: return createImport();
- case OseeDslPackage.OSEE_ELEMENT: return createOseeElement();
- case OseeDslPackage.OSEE_TYPE: return createOseeType();
- case OseeDslPackage.XARTIFACT_TYPE: return createXArtifactType();
- case OseeDslPackage.XATTRIBUTE_TYPE_REF: return createXAttributeTypeRef();
- case OseeDslPackage.XATTRIBUTE_TYPE: return createXAttributeType();
- case OseeDslPackage.XOSEE_ENUM_TYPE: return createXOseeEnumType();
- case OseeDslPackage.XOSEE_ENUM_ENTRY: return createXOseeEnumEntry();
- case OseeDslPackage.XOSEE_ENUM_OVERRIDE: return createXOseeEnumOverride();
- case OseeDslPackage.OVERRIDE_OPTION: return createOverrideOption();
- case OseeDslPackage.ADD_ENUM: return createAddEnum();
- case OseeDslPackage.REMOVE_ENUM: return createRemoveEnum();
- case OseeDslPackage.XRELATION_TYPE: return createXRelationType();
- case OseeDslPackage.XARTIFACT_REF: return createXArtifactRef();
- case OseeDslPackage.XBRANCH_REF: return createXBranchRef();
- case OseeDslPackage.ACCESS_CONTEXT: return createAccessContext();
- case OseeDslPackage.HIERARCHY_RESTRICTION: return createHierarchyRestriction();
- case OseeDslPackage.PERMISSION_RULE: return createPermissionRule();
- case OseeDslPackage.OBJECT_RESTRICTION: return createObjectRestriction();
- case OseeDslPackage.ARTIFACT_INSTANCE_RESTRICTION: return createArtifactInstanceRestriction();
- case OseeDslPackage.ARTIFACT_TYPE_RESTRICTION: return createArtifactTypeRestriction();
- case OseeDslPackage.RELATION_TYPE_RESTRICTION: return createRelationTypeRestriction();
- case OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION: return createAttributeTypeRestriction();
- case OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION: return createAttributeTypeOfArtifactTypeRestriction();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object createFromString(EDataType eDataType, String initialValue)
- {
- switch (eDataType.getClassifierID())
- {
- case OseeDslPackage.RELATION_MULTIPLICITY_ENUM:
- return createRelationMultiplicityEnumFromString(eDataType, initialValue);
- case OseeDslPackage.ACCESS_PERMISSION_ENUM:
- return createAccessPermissionEnumFromString(eDataType, initialValue);
- case OseeDslPackage.RELATION_TYPE_SIDE_RESTRICTION:
- return createRelationTypeSideRestrictionFromString(eDataType, initialValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String convertToString(EDataType eDataType, Object instanceValue)
- {
- switch (eDataType.getClassifierID())
- {
- case OseeDslPackage.RELATION_MULTIPLICITY_ENUM:
- return convertRelationMultiplicityEnumToString(eDataType, instanceValue);
- case OseeDslPackage.ACCESS_PERMISSION_ENUM:
- return convertAccessPermissionEnumToString(eDataType, instanceValue);
- case OseeDslPackage.RELATION_TYPE_SIDE_RESTRICTION:
- return convertRelationTypeSideRestrictionToString(eDataType, instanceValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public OseeDsl createOseeDsl()
- {
- OseeDslImpl oseeDsl = new OseeDslImpl();
- return oseeDsl;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Import createImport()
- {
- ImportImpl import_ = new ImportImpl();
- return import_;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public OseeElement createOseeElement()
- {
- OseeElementImpl oseeElement = new OseeElementImpl();
- return oseeElement;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public OseeType createOseeType()
- {
- OseeTypeImpl oseeType = new OseeTypeImpl();
- return oseeType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XArtifactType createXArtifactType()
- {
- XArtifactTypeImpl xArtifactType = new XArtifactTypeImpl();
- return xArtifactType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XAttributeTypeRef createXAttributeTypeRef()
- {
- XAttributeTypeRefImpl xAttributeTypeRef = new XAttributeTypeRefImpl();
- return xAttributeTypeRef;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XAttributeType createXAttributeType()
- {
- XAttributeTypeImpl xAttributeType = new XAttributeTypeImpl();
- return xAttributeType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XOseeEnumType createXOseeEnumType()
- {
- XOseeEnumTypeImpl xOseeEnumType = new XOseeEnumTypeImpl();
- return xOseeEnumType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XOseeEnumEntry createXOseeEnumEntry()
- {
- XOseeEnumEntryImpl xOseeEnumEntry = new XOseeEnumEntryImpl();
- return xOseeEnumEntry;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XOseeEnumOverride createXOseeEnumOverride()
- {
- XOseeEnumOverrideImpl xOseeEnumOverride = new XOseeEnumOverrideImpl();
- return xOseeEnumOverride;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public OverrideOption createOverrideOption()
- {
- OverrideOptionImpl overrideOption = new OverrideOptionImpl();
- return overrideOption;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AddEnum createAddEnum()
- {
- AddEnumImpl addEnum = new AddEnumImpl();
- return addEnum;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public RemoveEnum createRemoveEnum()
- {
- RemoveEnumImpl removeEnum = new RemoveEnumImpl();
- return removeEnum;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XRelationType createXRelationType()
- {
- XRelationTypeImpl xRelationType = new XRelationTypeImpl();
- return xRelationType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XArtifactRef createXArtifactRef()
- {
- XArtifactRefImpl xArtifactRef = new XArtifactRefImpl();
- return xArtifactRef;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XBranchRef createXBranchRef()
- {
- XBranchRefImpl xBranchRef = new XBranchRefImpl();
- return xBranchRef;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AccessContext createAccessContext()
- {
- AccessContextImpl accessContext = new AccessContextImpl();
- return accessContext;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public HierarchyRestriction createHierarchyRestriction()
- {
- HierarchyRestrictionImpl hierarchyRestriction = new HierarchyRestrictionImpl();
- return hierarchyRestriction;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PermissionRule createPermissionRule()
- {
- PermissionRuleImpl permissionRule = new PermissionRuleImpl();
- return permissionRule;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ObjectRestriction createObjectRestriction()
- {
- ObjectRestrictionImpl objectRestriction = new ObjectRestrictionImpl();
- return objectRestriction;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ArtifactInstanceRestriction createArtifactInstanceRestriction()
- {
- ArtifactInstanceRestrictionImpl artifactInstanceRestriction = new ArtifactInstanceRestrictionImpl();
- return artifactInstanceRestriction;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ArtifactTypeRestriction createArtifactTypeRestriction()
- {
- ArtifactTypeRestrictionImpl artifactTypeRestriction = new ArtifactTypeRestrictionImpl();
- return artifactTypeRestriction;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public RelationTypeRestriction createRelationTypeRestriction()
- {
- RelationTypeRestrictionImpl relationTypeRestriction = new RelationTypeRestrictionImpl();
- return relationTypeRestriction;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AttributeTypeRestriction createAttributeTypeRestriction()
- {
- AttributeTypeRestrictionImpl attributeTypeRestriction = new AttributeTypeRestrictionImpl();
- return attributeTypeRestriction;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AttributeTypeOfArtifactTypeRestriction createAttributeTypeOfArtifactTypeRestriction()
- {
- AttributeTypeOfArtifactTypeRestrictionImpl attributeTypeOfArtifactTypeRestriction = new AttributeTypeOfArtifactTypeRestrictionImpl();
- return attributeTypeOfArtifactTypeRestriction;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public RelationMultiplicityEnum createRelationMultiplicityEnumFromString(EDataType eDataType, String initialValue)
- {
- RelationMultiplicityEnum result = RelationMultiplicityEnum.get(initialValue);
- if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
- return result;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String convertRelationMultiplicityEnumToString(EDataType eDataType, Object instanceValue)
- {
- return instanceValue == null ? null : instanceValue.toString();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AccessPermissionEnum createAccessPermissionEnumFromString(EDataType eDataType, String initialValue)
- {
- AccessPermissionEnum result = AccessPermissionEnum.get(initialValue);
- if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
- return result;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String convertAccessPermissionEnumToString(EDataType eDataType, Object instanceValue)
- {
- return instanceValue == null ? null : instanceValue.toString();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public RelationTypeSideRestriction createRelationTypeSideRestrictionFromString(EDataType eDataType, String initialValue)
- {
- RelationTypeSideRestriction result = RelationTypeSideRestriction.get(initialValue);
- if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
- return result;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String convertRelationTypeSideRestrictionToString(EDataType eDataType, Object instanceValue)
- {
- return instanceValue == null ? null : instanceValue.toString();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public OseeDslPackage getOseeDslPackage()
- {
- return (OseeDslPackage)getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @deprecated
- * @generated
- */
- @Deprecated
- public static OseeDslPackage getPackage()
- {
- return OseeDslPackage.eINSTANCE;
- }
-
-} //OseeDslFactoryImpl
+/** + * <copyright> + * </copyright> + * + + */ +package org.eclipse.osee.framework.core.dsl.oseeDsl.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.eclipse.osee.framework.core.dsl.oseeDsl.*; + +/** + * <!-- begin-user-doc --> + * An implementation of the model <b>Factory</b>. + * <!-- end-user-doc --> + * @generated + */ +public class OseeDslFactoryImpl extends EFactoryImpl implements OseeDslFactory +{ + /** + * Creates the default factory implementation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static OseeDslFactory init() + { + try + { + OseeDslFactory theOseeDslFactory = (OseeDslFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/osee/framework/core/dsl/OseeDsl"); + if (theOseeDslFactory != null) + { + return theOseeDslFactory; + } + } + catch (Exception exception) + { + EcorePlugin.INSTANCE.log(exception); + } + return new OseeDslFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public OseeDslFactoryImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public EObject create(EClass eClass) + { + switch (eClass.getClassifierID()) + { + case OseeDslPackage.OSEE_DSL: return createOseeDsl(); + case OseeDslPackage.IMPORT: return createImport(); + case OseeDslPackage.OSEE_ELEMENT: return createOseeElement(); + case OseeDslPackage.OSEE_TYPE: return createOseeType(); + case OseeDslPackage.XARTIFACT_TYPE: return createXArtifactType(); + case OseeDslPackage.XATTRIBUTE_TYPE_REF: return createXAttributeTypeRef(); + case OseeDslPackage.XATTRIBUTE_TYPE: return createXAttributeType(); + case OseeDslPackage.XOSEE_ENUM_TYPE: return createXOseeEnumType(); + case OseeDslPackage.XOSEE_ENUM_ENTRY: return createXOseeEnumEntry(); + case OseeDslPackage.XOSEE_ENUM_OVERRIDE: return createXOseeEnumOverride(); + case OseeDslPackage.OVERRIDE_OPTION: return createOverrideOption(); + case OseeDslPackage.ADD_ENUM: return createAddEnum(); + case OseeDslPackage.REMOVE_ENUM: return createRemoveEnum(); + case OseeDslPackage.XRELATION_TYPE: return createXRelationType(); + case OseeDslPackage.XARTIFACT_REF: return createXArtifactRef(); + case OseeDslPackage.XBRANCH_REF: return createXBranchRef(); + case OseeDslPackage.ACCESS_CONTEXT: return createAccessContext(); + case OseeDslPackage.HIERARCHY_RESTRICTION: return createHierarchyRestriction(); + case OseeDslPackage.PERMISSION_RULE: return createPermissionRule(); + case OseeDslPackage.OBJECT_RESTRICTION: return createObjectRestriction(); + case OseeDslPackage.ARTIFACT_INSTANCE_RESTRICTION: return createArtifactInstanceRestriction(); + case OseeDslPackage.ARTIFACT_TYPE_RESTRICTION: return createArtifactTypeRestriction(); + case OseeDslPackage.RELATION_TYPE_RESTRICTION: return createRelationTypeRestriction(); + case OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION: return createAttributeTypeRestriction(); + case OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION: return createAttributeTypeOfArtifactTypeRestriction(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object createFromString(EDataType eDataType, String initialValue) + { + switch (eDataType.getClassifierID()) + { + case OseeDslPackage.RELATION_MULTIPLICITY_ENUM: + return createRelationMultiplicityEnumFromString(eDataType, initialValue); + case OseeDslPackage.ACCESS_PERMISSION_ENUM: + return createAccessPermissionEnumFromString(eDataType, initialValue); + case OseeDslPackage.RELATION_TYPE_SIDE_RESTRICTION: + return createRelationTypeSideRestrictionFromString(eDataType, initialValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String convertToString(EDataType eDataType, Object instanceValue) + { + switch (eDataType.getClassifierID()) + { + case OseeDslPackage.RELATION_MULTIPLICITY_ENUM: + return convertRelationMultiplicityEnumToString(eDataType, instanceValue); + case OseeDslPackage.ACCESS_PERMISSION_ENUM: + return convertAccessPermissionEnumToString(eDataType, instanceValue); + case OseeDslPackage.RELATION_TYPE_SIDE_RESTRICTION: + return convertRelationTypeSideRestrictionToString(eDataType, instanceValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public OseeDsl createOseeDsl() + { + OseeDslImpl oseeDsl = new OseeDslImpl(); + return oseeDsl; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Import createImport() + { + ImportImpl import_ = new ImportImpl(); + return import_; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public OseeElement createOseeElement() + { + OseeElementImpl oseeElement = new OseeElementImpl(); + return oseeElement; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public OseeType createOseeType() + { + OseeTypeImpl oseeType = new OseeTypeImpl(); + return oseeType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XArtifactType createXArtifactType() + { + XArtifactTypeImpl xArtifactType = new XArtifactTypeImpl(); + return xArtifactType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XAttributeTypeRef createXAttributeTypeRef() + { + XAttributeTypeRefImpl xAttributeTypeRef = new XAttributeTypeRefImpl(); + return xAttributeTypeRef; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XAttributeType createXAttributeType() + { + XAttributeTypeImpl xAttributeType = new XAttributeTypeImpl(); + return xAttributeType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XOseeEnumType createXOseeEnumType() + { + XOseeEnumTypeImpl xOseeEnumType = new XOseeEnumTypeImpl(); + return xOseeEnumType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XOseeEnumEntry createXOseeEnumEntry() + { + XOseeEnumEntryImpl xOseeEnumEntry = new XOseeEnumEntryImpl(); + return xOseeEnumEntry; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XOseeEnumOverride createXOseeEnumOverride() + { + XOseeEnumOverrideImpl xOseeEnumOverride = new XOseeEnumOverrideImpl(); + return xOseeEnumOverride; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public OverrideOption createOverrideOption() + { + OverrideOptionImpl overrideOption = new OverrideOptionImpl(); + return overrideOption; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AddEnum createAddEnum() + { + AddEnumImpl addEnum = new AddEnumImpl(); + return addEnum; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RemoveEnum createRemoveEnum() + { + RemoveEnumImpl removeEnum = new RemoveEnumImpl(); + return removeEnum; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XRelationType createXRelationType() + { + XRelationTypeImpl xRelationType = new XRelationTypeImpl(); + return xRelationType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XArtifactRef createXArtifactRef() + { + XArtifactRefImpl xArtifactRef = new XArtifactRefImpl(); + return xArtifactRef; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XBranchRef createXBranchRef() + { + XBranchRefImpl xBranchRef = new XBranchRefImpl(); + return xBranchRef; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AccessContext createAccessContext() + { + AccessContextImpl accessContext = new AccessContextImpl(); + return accessContext; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public HierarchyRestriction createHierarchyRestriction() + { + HierarchyRestrictionImpl hierarchyRestriction = new HierarchyRestrictionImpl(); + return hierarchyRestriction; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public PermissionRule createPermissionRule() + { + PermissionRuleImpl permissionRule = new PermissionRuleImpl(); + return permissionRule; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ObjectRestriction createObjectRestriction() + { + ObjectRestrictionImpl objectRestriction = new ObjectRestrictionImpl(); + return objectRestriction; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ArtifactInstanceRestriction createArtifactInstanceRestriction() + { + ArtifactInstanceRestrictionImpl artifactInstanceRestriction = new ArtifactInstanceRestrictionImpl(); + return artifactInstanceRestriction; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ArtifactTypeRestriction createArtifactTypeRestriction() + { + ArtifactTypeRestrictionImpl artifactTypeRestriction = new ArtifactTypeRestrictionImpl(); + return artifactTypeRestriction; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RelationTypeRestriction createRelationTypeRestriction() + { + RelationTypeRestrictionImpl relationTypeRestriction = new RelationTypeRestrictionImpl(); + return relationTypeRestriction; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AttributeTypeRestriction createAttributeTypeRestriction() + { + AttributeTypeRestrictionImpl attributeTypeRestriction = new AttributeTypeRestrictionImpl(); + return attributeTypeRestriction; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AttributeTypeOfArtifactTypeRestriction createAttributeTypeOfArtifactTypeRestriction() + { + AttributeTypeOfArtifactTypeRestrictionImpl attributeTypeOfArtifactTypeRestriction = new AttributeTypeOfArtifactTypeRestrictionImpl(); + return attributeTypeOfArtifactTypeRestriction; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RelationMultiplicityEnum createRelationMultiplicityEnumFromString(EDataType eDataType, String initialValue) + { + RelationMultiplicityEnum result = RelationMultiplicityEnum.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String convertRelationMultiplicityEnumToString(EDataType eDataType, Object instanceValue) + { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AccessPermissionEnum createAccessPermissionEnumFromString(EDataType eDataType, String initialValue) + { + AccessPermissionEnum result = AccessPermissionEnum.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String convertAccessPermissionEnumToString(EDataType eDataType, Object instanceValue) + { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RelationTypeSideRestriction createRelationTypeSideRestrictionFromString(EDataType eDataType, String initialValue) + { + RelationTypeSideRestriction result = RelationTypeSideRestriction.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String convertRelationTypeSideRestrictionToString(EDataType eDataType, Object instanceValue) + { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public OseeDslPackage getOseeDslPackage() + { + return (OseeDslPackage)getEPackage(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @deprecated + * @generated + */ + @Deprecated + public static OseeDslPackage getPackage() + { + return OseeDslPackage.eINSTANCE; + } + +} //OseeDslFactoryImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OseeDslImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OseeDslImpl.java index 48d6ecac8b8..2bae4bfd96d 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OseeDslImpl.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OseeDslImpl.java @@ -1,483 +1,483 @@ -/**
- * <copyright>
- * </copyright>
- *
- - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.Import;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Osee Dsl</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl#getImports <em>Imports</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl#getArtifactTypes <em>Artifact Types</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl#getRelationTypes <em>Relation Types</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl#getAttributeTypes <em>Attribute Types</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl#getEnumTypes <em>Enum Types</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl#getEnumOverrides <em>Enum Overrides</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl#getBranchRefs <em>Branch Refs</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl#getArtifactRefs <em>Artifact Refs</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl#getAccessDeclarations <em>Access Declarations</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class OseeDslImpl extends MinimalEObjectImpl.Container implements OseeDsl
-{
- /**
- * The cached value of the '{@link #getImports() <em>Imports</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getImports()
- * @generated
- * @ordered
- */
- protected EList<Import> imports;
-
- /**
- * The cached value of the '{@link #getArtifactTypes() <em>Artifact Types</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getArtifactTypes()
- * @generated
- * @ordered
- */
- protected EList<XArtifactType> artifactTypes;
-
- /**
- * The cached value of the '{@link #getRelationTypes() <em>Relation Types</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getRelationTypes()
- * @generated
- * @ordered
- */
- protected EList<XRelationType> relationTypes;
-
- /**
- * The cached value of the '{@link #getAttributeTypes() <em>Attribute Types</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getAttributeTypes()
- * @generated
- * @ordered
- */
- protected EList<XAttributeType> attributeTypes;
-
- /**
- * The cached value of the '{@link #getEnumTypes() <em>Enum Types</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEnumTypes()
- * @generated
- * @ordered
- */
- protected EList<XOseeEnumType> enumTypes;
-
- /**
- * The cached value of the '{@link #getEnumOverrides() <em>Enum Overrides</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEnumOverrides()
- * @generated
- * @ordered
- */
- protected EList<XOseeEnumOverride> enumOverrides;
-
- /**
- * The cached value of the '{@link #getBranchRefs() <em>Branch Refs</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getBranchRefs()
- * @generated
- * @ordered
- */
- protected EList<XBranchRef> branchRefs;
-
- /**
- * The cached value of the '{@link #getArtifactRefs() <em>Artifact Refs</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getArtifactRefs()
- * @generated
- * @ordered
- */
- protected EList<XArtifactRef> artifactRefs;
-
- /**
- * The cached value of the '{@link #getAccessDeclarations() <em>Access Declarations</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getAccessDeclarations()
- * @generated
- * @ordered
- */
- protected EList<AccessContext> accessDeclarations;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected OseeDslImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OseeDslPackage.Literals.OSEE_DSL;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<Import> getImports()
- {
- if (imports == null)
- {
- imports = new EObjectContainmentEList<Import>(Import.class, this, OseeDslPackage.OSEE_DSL__IMPORTS);
- }
- return imports;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<XArtifactType> getArtifactTypes()
- {
- if (artifactTypes == null)
- {
- artifactTypes = new EObjectContainmentEList<XArtifactType>(XArtifactType.class, this, OseeDslPackage.OSEE_DSL__ARTIFACT_TYPES);
- }
- return artifactTypes;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<XRelationType> getRelationTypes()
- {
- if (relationTypes == null)
- {
- relationTypes = new EObjectContainmentEList<XRelationType>(XRelationType.class, this, OseeDslPackage.OSEE_DSL__RELATION_TYPES);
- }
- return relationTypes;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<XAttributeType> getAttributeTypes()
- {
- if (attributeTypes == null)
- {
- attributeTypes = new EObjectContainmentEList<XAttributeType>(XAttributeType.class, this, OseeDslPackage.OSEE_DSL__ATTRIBUTE_TYPES);
- }
- return attributeTypes;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<XOseeEnumType> getEnumTypes()
- {
- if (enumTypes == null)
- {
- enumTypes = new EObjectContainmentEList<XOseeEnumType>(XOseeEnumType.class, this, OseeDslPackage.OSEE_DSL__ENUM_TYPES);
- }
- return enumTypes;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<XOseeEnumOverride> getEnumOverrides()
- {
- if (enumOverrides == null)
- {
- enumOverrides = new EObjectContainmentEList<XOseeEnumOverride>(XOseeEnumOverride.class, this, OseeDslPackage.OSEE_DSL__ENUM_OVERRIDES);
- }
- return enumOverrides;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<XBranchRef> getBranchRefs()
- {
- if (branchRefs == null)
- {
- branchRefs = new EObjectContainmentEList<XBranchRef>(XBranchRef.class, this, OseeDslPackage.OSEE_DSL__BRANCH_REFS);
- }
- return branchRefs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<XArtifactRef> getArtifactRefs()
- {
- if (artifactRefs == null)
- {
- artifactRefs = new EObjectContainmentEList<XArtifactRef>(XArtifactRef.class, this, OseeDslPackage.OSEE_DSL__ARTIFACT_REFS);
- }
- return artifactRefs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<AccessContext> getAccessDeclarations()
- {
- if (accessDeclarations == null)
- {
- accessDeclarations = new EObjectContainmentEList<AccessContext>(AccessContext.class, this, OseeDslPackage.OSEE_DSL__ACCESS_DECLARATIONS);
- }
- return accessDeclarations;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case OseeDslPackage.OSEE_DSL__IMPORTS:
- return ((InternalEList<?>)getImports()).basicRemove(otherEnd, msgs);
- case OseeDslPackage.OSEE_DSL__ARTIFACT_TYPES:
- return ((InternalEList<?>)getArtifactTypes()).basicRemove(otherEnd, msgs);
- case OseeDslPackage.OSEE_DSL__RELATION_TYPES:
- return ((InternalEList<?>)getRelationTypes()).basicRemove(otherEnd, msgs);
- case OseeDslPackage.OSEE_DSL__ATTRIBUTE_TYPES:
- return ((InternalEList<?>)getAttributeTypes()).basicRemove(otherEnd, msgs);
- case OseeDslPackage.OSEE_DSL__ENUM_TYPES:
- return ((InternalEList<?>)getEnumTypes()).basicRemove(otherEnd, msgs);
- case OseeDslPackage.OSEE_DSL__ENUM_OVERRIDES:
- return ((InternalEList<?>)getEnumOverrides()).basicRemove(otherEnd, msgs);
- case OseeDslPackage.OSEE_DSL__BRANCH_REFS:
- return ((InternalEList<?>)getBranchRefs()).basicRemove(otherEnd, msgs);
- case OseeDslPackage.OSEE_DSL__ARTIFACT_REFS:
- return ((InternalEList<?>)getArtifactRefs()).basicRemove(otherEnd, msgs);
- case OseeDslPackage.OSEE_DSL__ACCESS_DECLARATIONS:
- return ((InternalEList<?>)getAccessDeclarations()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case OseeDslPackage.OSEE_DSL__IMPORTS:
- return getImports();
- case OseeDslPackage.OSEE_DSL__ARTIFACT_TYPES:
- return getArtifactTypes();
- case OseeDslPackage.OSEE_DSL__RELATION_TYPES:
- return getRelationTypes();
- case OseeDslPackage.OSEE_DSL__ATTRIBUTE_TYPES:
- return getAttributeTypes();
- case OseeDslPackage.OSEE_DSL__ENUM_TYPES:
- return getEnumTypes();
- case OseeDslPackage.OSEE_DSL__ENUM_OVERRIDES:
- return getEnumOverrides();
- case OseeDslPackage.OSEE_DSL__BRANCH_REFS:
- return getBranchRefs();
- case OseeDslPackage.OSEE_DSL__ARTIFACT_REFS:
- return getArtifactRefs();
- case OseeDslPackage.OSEE_DSL__ACCESS_DECLARATIONS:
- return getAccessDeclarations();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OseeDslPackage.OSEE_DSL__IMPORTS:
- getImports().clear();
- getImports().addAll((Collection<? extends Import>)newValue);
- return;
- case OseeDslPackage.OSEE_DSL__ARTIFACT_TYPES:
- getArtifactTypes().clear();
- getArtifactTypes().addAll((Collection<? extends XArtifactType>)newValue);
- return;
- case OseeDslPackage.OSEE_DSL__RELATION_TYPES:
- getRelationTypes().clear();
- getRelationTypes().addAll((Collection<? extends XRelationType>)newValue);
- return;
- case OseeDslPackage.OSEE_DSL__ATTRIBUTE_TYPES:
- getAttributeTypes().clear();
- getAttributeTypes().addAll((Collection<? extends XAttributeType>)newValue);
- return;
- case OseeDslPackage.OSEE_DSL__ENUM_TYPES:
- getEnumTypes().clear();
- getEnumTypes().addAll((Collection<? extends XOseeEnumType>)newValue);
- return;
- case OseeDslPackage.OSEE_DSL__ENUM_OVERRIDES:
- getEnumOverrides().clear();
- getEnumOverrides().addAll((Collection<? extends XOseeEnumOverride>)newValue);
- return;
- case OseeDslPackage.OSEE_DSL__BRANCH_REFS:
- getBranchRefs().clear();
- getBranchRefs().addAll((Collection<? extends XBranchRef>)newValue);
- return;
- case OseeDslPackage.OSEE_DSL__ARTIFACT_REFS:
- getArtifactRefs().clear();
- getArtifactRefs().addAll((Collection<? extends XArtifactRef>)newValue);
- return;
- case OseeDslPackage.OSEE_DSL__ACCESS_DECLARATIONS:
- getAccessDeclarations().clear();
- getAccessDeclarations().addAll((Collection<? extends AccessContext>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.OSEE_DSL__IMPORTS:
- getImports().clear();
- return;
- case OseeDslPackage.OSEE_DSL__ARTIFACT_TYPES:
- getArtifactTypes().clear();
- return;
- case OseeDslPackage.OSEE_DSL__RELATION_TYPES:
- getRelationTypes().clear();
- return;
- case OseeDslPackage.OSEE_DSL__ATTRIBUTE_TYPES:
- getAttributeTypes().clear();
- return;
- case OseeDslPackage.OSEE_DSL__ENUM_TYPES:
- getEnumTypes().clear();
- return;
- case OseeDslPackage.OSEE_DSL__ENUM_OVERRIDES:
- getEnumOverrides().clear();
- return;
- case OseeDslPackage.OSEE_DSL__BRANCH_REFS:
- getBranchRefs().clear();
- return;
- case OseeDslPackage.OSEE_DSL__ARTIFACT_REFS:
- getArtifactRefs().clear();
- return;
- case OseeDslPackage.OSEE_DSL__ACCESS_DECLARATIONS:
- getAccessDeclarations().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.OSEE_DSL__IMPORTS:
- return imports != null && !imports.isEmpty();
- case OseeDslPackage.OSEE_DSL__ARTIFACT_TYPES:
- return artifactTypes != null && !artifactTypes.isEmpty();
- case OseeDslPackage.OSEE_DSL__RELATION_TYPES:
- return relationTypes != null && !relationTypes.isEmpty();
- case OseeDslPackage.OSEE_DSL__ATTRIBUTE_TYPES:
- return attributeTypes != null && !attributeTypes.isEmpty();
- case OseeDslPackage.OSEE_DSL__ENUM_TYPES:
- return enumTypes != null && !enumTypes.isEmpty();
- case OseeDslPackage.OSEE_DSL__ENUM_OVERRIDES:
- return enumOverrides != null && !enumOverrides.isEmpty();
- case OseeDslPackage.OSEE_DSL__BRANCH_REFS:
- return branchRefs != null && !branchRefs.isEmpty();
- case OseeDslPackage.OSEE_DSL__ARTIFACT_REFS:
- return artifactRefs != null && !artifactRefs.isEmpty();
- case OseeDslPackage.OSEE_DSL__ACCESS_DECLARATIONS:
- return accessDeclarations != null && !accessDeclarations.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
-} //OseeDslImpl
+/** + * <copyright> + * </copyright> + * + + */ +package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext; +import org.eclipse.osee.framework.core.dsl.oseeDsl.Import; +import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl; +import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Osee Dsl</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl#getImports <em>Imports</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl#getArtifactTypes <em>Artifact Types</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl#getRelationTypes <em>Relation Types</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl#getAttributeTypes <em>Attribute Types</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl#getEnumTypes <em>Enum Types</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl#getEnumOverrides <em>Enum Overrides</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl#getBranchRefs <em>Branch Refs</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl#getArtifactRefs <em>Artifact Refs</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeDslImpl#getAccessDeclarations <em>Access Declarations</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class OseeDslImpl extends MinimalEObjectImpl.Container implements OseeDsl +{ + /** + * The cached value of the '{@link #getImports() <em>Imports</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getImports() + * @generated + * @ordered + */ + protected EList<Import> imports; + + /** + * The cached value of the '{@link #getArtifactTypes() <em>Artifact Types</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getArtifactTypes() + * @generated + * @ordered + */ + protected EList<XArtifactType> artifactTypes; + + /** + * The cached value of the '{@link #getRelationTypes() <em>Relation Types</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getRelationTypes() + * @generated + * @ordered + */ + protected EList<XRelationType> relationTypes; + + /** + * The cached value of the '{@link #getAttributeTypes() <em>Attribute Types</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getAttributeTypes() + * @generated + * @ordered + */ + protected EList<XAttributeType> attributeTypes; + + /** + * The cached value of the '{@link #getEnumTypes() <em>Enum Types</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getEnumTypes() + * @generated + * @ordered + */ + protected EList<XOseeEnumType> enumTypes; + + /** + * The cached value of the '{@link #getEnumOverrides() <em>Enum Overrides</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getEnumOverrides() + * @generated + * @ordered + */ + protected EList<XOseeEnumOverride> enumOverrides; + + /** + * The cached value of the '{@link #getBranchRefs() <em>Branch Refs</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBranchRefs() + * @generated + * @ordered + */ + protected EList<XBranchRef> branchRefs; + + /** + * The cached value of the '{@link #getArtifactRefs() <em>Artifact Refs</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getArtifactRefs() + * @generated + * @ordered + */ + protected EList<XArtifactRef> artifactRefs; + + /** + * The cached value of the '{@link #getAccessDeclarations() <em>Access Declarations</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getAccessDeclarations() + * @generated + * @ordered + */ + protected EList<AccessContext> accessDeclarations; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected OseeDslImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return OseeDslPackage.Literals.OSEE_DSL; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<Import> getImports() + { + if (imports == null) + { + imports = new EObjectContainmentEList<Import>(Import.class, this, OseeDslPackage.OSEE_DSL__IMPORTS); + } + return imports; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<XArtifactType> getArtifactTypes() + { + if (artifactTypes == null) + { + artifactTypes = new EObjectContainmentEList<XArtifactType>(XArtifactType.class, this, OseeDslPackage.OSEE_DSL__ARTIFACT_TYPES); + } + return artifactTypes; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<XRelationType> getRelationTypes() + { + if (relationTypes == null) + { + relationTypes = new EObjectContainmentEList<XRelationType>(XRelationType.class, this, OseeDslPackage.OSEE_DSL__RELATION_TYPES); + } + return relationTypes; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<XAttributeType> getAttributeTypes() + { + if (attributeTypes == null) + { + attributeTypes = new EObjectContainmentEList<XAttributeType>(XAttributeType.class, this, OseeDslPackage.OSEE_DSL__ATTRIBUTE_TYPES); + } + return attributeTypes; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<XOseeEnumType> getEnumTypes() + { + if (enumTypes == null) + { + enumTypes = new EObjectContainmentEList<XOseeEnumType>(XOseeEnumType.class, this, OseeDslPackage.OSEE_DSL__ENUM_TYPES); + } + return enumTypes; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<XOseeEnumOverride> getEnumOverrides() + { + if (enumOverrides == null) + { + enumOverrides = new EObjectContainmentEList<XOseeEnumOverride>(XOseeEnumOverride.class, this, OseeDslPackage.OSEE_DSL__ENUM_OVERRIDES); + } + return enumOverrides; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<XBranchRef> getBranchRefs() + { + if (branchRefs == null) + { + branchRefs = new EObjectContainmentEList<XBranchRef>(XBranchRef.class, this, OseeDslPackage.OSEE_DSL__BRANCH_REFS); + } + return branchRefs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<XArtifactRef> getArtifactRefs() + { + if (artifactRefs == null) + { + artifactRefs = new EObjectContainmentEList<XArtifactRef>(XArtifactRef.class, this, OseeDslPackage.OSEE_DSL__ARTIFACT_REFS); + } + return artifactRefs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<AccessContext> getAccessDeclarations() + { + if (accessDeclarations == null) + { + accessDeclarations = new EObjectContainmentEList<AccessContext>(AccessContext.class, this, OseeDslPackage.OSEE_DSL__ACCESS_DECLARATIONS); + } + return accessDeclarations; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case OseeDslPackage.OSEE_DSL__IMPORTS: + return ((InternalEList<?>)getImports()).basicRemove(otherEnd, msgs); + case OseeDslPackage.OSEE_DSL__ARTIFACT_TYPES: + return ((InternalEList<?>)getArtifactTypes()).basicRemove(otherEnd, msgs); + case OseeDslPackage.OSEE_DSL__RELATION_TYPES: + return ((InternalEList<?>)getRelationTypes()).basicRemove(otherEnd, msgs); + case OseeDslPackage.OSEE_DSL__ATTRIBUTE_TYPES: + return ((InternalEList<?>)getAttributeTypes()).basicRemove(otherEnd, msgs); + case OseeDslPackage.OSEE_DSL__ENUM_TYPES: + return ((InternalEList<?>)getEnumTypes()).basicRemove(otherEnd, msgs); + case OseeDslPackage.OSEE_DSL__ENUM_OVERRIDES: + return ((InternalEList<?>)getEnumOverrides()).basicRemove(otherEnd, msgs); + case OseeDslPackage.OSEE_DSL__BRANCH_REFS: + return ((InternalEList<?>)getBranchRefs()).basicRemove(otherEnd, msgs); + case OseeDslPackage.OSEE_DSL__ARTIFACT_REFS: + return ((InternalEList<?>)getArtifactRefs()).basicRemove(otherEnd, msgs); + case OseeDslPackage.OSEE_DSL__ACCESS_DECLARATIONS: + return ((InternalEList<?>)getAccessDeclarations()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case OseeDslPackage.OSEE_DSL__IMPORTS: + return getImports(); + case OseeDslPackage.OSEE_DSL__ARTIFACT_TYPES: + return getArtifactTypes(); + case OseeDslPackage.OSEE_DSL__RELATION_TYPES: + return getRelationTypes(); + case OseeDslPackage.OSEE_DSL__ATTRIBUTE_TYPES: + return getAttributeTypes(); + case OseeDslPackage.OSEE_DSL__ENUM_TYPES: + return getEnumTypes(); + case OseeDslPackage.OSEE_DSL__ENUM_OVERRIDES: + return getEnumOverrides(); + case OseeDslPackage.OSEE_DSL__BRANCH_REFS: + return getBranchRefs(); + case OseeDslPackage.OSEE_DSL__ARTIFACT_REFS: + return getArtifactRefs(); + case OseeDslPackage.OSEE_DSL__ACCESS_DECLARATIONS: + return getAccessDeclarations(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case OseeDslPackage.OSEE_DSL__IMPORTS: + getImports().clear(); + getImports().addAll((Collection<? extends Import>)newValue); + return; + case OseeDslPackage.OSEE_DSL__ARTIFACT_TYPES: + getArtifactTypes().clear(); + getArtifactTypes().addAll((Collection<? extends XArtifactType>)newValue); + return; + case OseeDslPackage.OSEE_DSL__RELATION_TYPES: + getRelationTypes().clear(); + getRelationTypes().addAll((Collection<? extends XRelationType>)newValue); + return; + case OseeDslPackage.OSEE_DSL__ATTRIBUTE_TYPES: + getAttributeTypes().clear(); + getAttributeTypes().addAll((Collection<? extends XAttributeType>)newValue); + return; + case OseeDslPackage.OSEE_DSL__ENUM_TYPES: + getEnumTypes().clear(); + getEnumTypes().addAll((Collection<? extends XOseeEnumType>)newValue); + return; + case OseeDslPackage.OSEE_DSL__ENUM_OVERRIDES: + getEnumOverrides().clear(); + getEnumOverrides().addAll((Collection<? extends XOseeEnumOverride>)newValue); + return; + case OseeDslPackage.OSEE_DSL__BRANCH_REFS: + getBranchRefs().clear(); + getBranchRefs().addAll((Collection<? extends XBranchRef>)newValue); + return; + case OseeDslPackage.OSEE_DSL__ARTIFACT_REFS: + getArtifactRefs().clear(); + getArtifactRefs().addAll((Collection<? extends XArtifactRef>)newValue); + return; + case OseeDslPackage.OSEE_DSL__ACCESS_DECLARATIONS: + getAccessDeclarations().clear(); + getAccessDeclarations().addAll((Collection<? extends AccessContext>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case OseeDslPackage.OSEE_DSL__IMPORTS: + getImports().clear(); + return; + case OseeDslPackage.OSEE_DSL__ARTIFACT_TYPES: + getArtifactTypes().clear(); + return; + case OseeDslPackage.OSEE_DSL__RELATION_TYPES: + getRelationTypes().clear(); + return; + case OseeDslPackage.OSEE_DSL__ATTRIBUTE_TYPES: + getAttributeTypes().clear(); + return; + case OseeDslPackage.OSEE_DSL__ENUM_TYPES: + getEnumTypes().clear(); + return; + case OseeDslPackage.OSEE_DSL__ENUM_OVERRIDES: + getEnumOverrides().clear(); + return; + case OseeDslPackage.OSEE_DSL__BRANCH_REFS: + getBranchRefs().clear(); + return; + case OseeDslPackage.OSEE_DSL__ARTIFACT_REFS: + getArtifactRefs().clear(); + return; + case OseeDslPackage.OSEE_DSL__ACCESS_DECLARATIONS: + getAccessDeclarations().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case OseeDslPackage.OSEE_DSL__IMPORTS: + return imports != null && !imports.isEmpty(); + case OseeDslPackage.OSEE_DSL__ARTIFACT_TYPES: + return artifactTypes != null && !artifactTypes.isEmpty(); + case OseeDslPackage.OSEE_DSL__RELATION_TYPES: + return relationTypes != null && !relationTypes.isEmpty(); + case OseeDslPackage.OSEE_DSL__ATTRIBUTE_TYPES: + return attributeTypes != null && !attributeTypes.isEmpty(); + case OseeDslPackage.OSEE_DSL__ENUM_TYPES: + return enumTypes != null && !enumTypes.isEmpty(); + case OseeDslPackage.OSEE_DSL__ENUM_OVERRIDES: + return enumOverrides != null && !enumOverrides.isEmpty(); + case OseeDslPackage.OSEE_DSL__BRANCH_REFS: + return branchRefs != null && !branchRefs.isEmpty(); + case OseeDslPackage.OSEE_DSL__ARTIFACT_REFS: + return artifactRefs != null && !artifactRefs.isEmpty(); + case OseeDslPackage.OSEE_DSL__ACCESS_DECLARATIONS: + return accessDeclarations != null && !accessDeclarations.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //OseeDslImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OseeDslPackageImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OseeDslPackageImpl.java index a2157c9a4d3..950669a20fd 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OseeDslPackageImpl.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OseeDslPackageImpl.java @@ -1,1562 +1,1562 @@ -/**
- * <copyright>
- * </copyright>
- *
- - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EEnum;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-
-import org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactInstanceRestriction;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.Import;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.ObjectRestriction;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslFactory;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeElement;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.OverrideOption;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeSideRestriction;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class OseeDslPackageImpl extends EPackageImpl implements OseeDslPackage
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass oseeDslEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass importEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass oseeElementEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass oseeTypeEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass xArtifactTypeEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass xAttributeTypeRefEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass xAttributeTypeEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass xOseeEnumTypeEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass xOseeEnumEntryEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass xOseeEnumOverrideEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass overrideOptionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass addEnumEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass removeEnumEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass xRelationTypeEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass xArtifactRefEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass xBranchRefEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass accessContextEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass hierarchyRestrictionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass permissionRuleEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass objectRestrictionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass artifactInstanceRestrictionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass artifactTypeRestrictionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass relationTypeRestrictionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass attributeTypeRestrictionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass attributeTypeOfArtifactTypeRestrictionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EEnum relationMultiplicityEnumEEnum = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EEnum accessPermissionEnumEEnum = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EEnum relationTypeSideRestrictionEEnum = null;
-
- /**
- * Creates an instance of the model <b>Package</b>, registered with
- * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
- * package URI value.
- * <p>Note: the correct way to create the package is via the static
- * factory method {@link #init init()}, which also performs
- * initialization of the package, or returns the registered package,
- * if one already exists.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.ecore.EPackage.Registry
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private OseeDslPackageImpl()
- {
- super(eNS_URI, OseeDslFactory.eINSTANCE);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static boolean isInited = false;
-
- /**
- * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
- *
- * <p>This method is used to initialize {@link OseeDslPackage#eINSTANCE} when that field is accessed.
- * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #eNS_URI
- * @see #createPackageContents()
- * @see #initializePackageContents()
- * @generated
- */
- public static OseeDslPackage init()
- {
- if (isInited) return (OseeDslPackage)EPackage.Registry.INSTANCE.getEPackage(OseeDslPackage.eNS_URI);
-
- // Obtain or create and register package
- OseeDslPackageImpl theOseeDslPackage = (OseeDslPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof OseeDslPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new OseeDslPackageImpl());
-
- isInited = true;
-
- // Create package meta-data objects
- theOseeDslPackage.createPackageContents();
-
- // Initialize created meta-data
- theOseeDslPackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theOseeDslPackage.freeze();
-
-
- // Update the registry and return the package
- EPackage.Registry.INSTANCE.put(OseeDslPackage.eNS_URI, theOseeDslPackage);
- return theOseeDslPackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getOseeDsl()
- {
- return oseeDslEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getOseeDsl_Imports()
- {
- return (EReference)oseeDslEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getOseeDsl_ArtifactTypes()
- {
- return (EReference)oseeDslEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getOseeDsl_RelationTypes()
- {
- return (EReference)oseeDslEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getOseeDsl_AttributeTypes()
- {
- return (EReference)oseeDslEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getOseeDsl_EnumTypes()
- {
- return (EReference)oseeDslEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getOseeDsl_EnumOverrides()
- {
- return (EReference)oseeDslEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getOseeDsl_BranchRefs()
- {
- return (EReference)oseeDslEClass.getEStructuralFeatures().get(6);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getOseeDsl_ArtifactRefs()
- {
- return (EReference)oseeDslEClass.getEStructuralFeatures().get(7);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getOseeDsl_AccessDeclarations()
- {
- return (EReference)oseeDslEClass.getEStructuralFeatures().get(8);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getImport()
- {
- return importEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getImport_ImportURI()
- {
- return (EAttribute)importEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getOseeElement()
- {
- return oseeElementEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getOseeType()
- {
- return oseeTypeEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getOseeType_Name()
- {
- return (EAttribute)oseeTypeEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getOseeType_TypeGuid()
- {
- return (EAttribute)oseeTypeEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getXArtifactType()
- {
- return xArtifactTypeEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getXArtifactType_Abstract()
- {
- return (EAttribute)xArtifactTypeEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getXArtifactType_SuperArtifactTypes()
- {
- return (EReference)xArtifactTypeEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getXArtifactType_ValidAttributeTypes()
- {
- return (EReference)xArtifactTypeEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getXAttributeTypeRef()
- {
- return xAttributeTypeRefEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getXAttributeTypeRef_ValidAttributeType()
- {
- return (EReference)xAttributeTypeRefEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getXAttributeTypeRef_BranchGuid()
- {
- return (EAttribute)xAttributeTypeRefEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getXAttributeType()
- {
- return xAttributeTypeEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getXAttributeType_BaseAttributeType()
- {
- return (EAttribute)xAttributeTypeEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getXAttributeType_Override()
- {
- return (EReference)xAttributeTypeEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getXAttributeType_DataProvider()
- {
- return (EAttribute)xAttributeTypeEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getXAttributeType_Min()
- {
- return (EAttribute)xAttributeTypeEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getXAttributeType_Max()
- {
- return (EAttribute)xAttributeTypeEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getXAttributeType_TaggerId()
- {
- return (EAttribute)xAttributeTypeEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getXAttributeType_EnumType()
- {
- return (EReference)xAttributeTypeEClass.getEStructuralFeatures().get(6);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getXAttributeType_Description()
- {
- return (EAttribute)xAttributeTypeEClass.getEStructuralFeatures().get(7);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getXAttributeType_DefaultValue()
- {
- return (EAttribute)xAttributeTypeEClass.getEStructuralFeatures().get(8);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getXAttributeType_FileExtension()
- {
- return (EAttribute)xAttributeTypeEClass.getEStructuralFeatures().get(9);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getXOseeEnumType()
- {
- return xOseeEnumTypeEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getXOseeEnumType_EnumEntries()
- {
- return (EReference)xOseeEnumTypeEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getXOseeEnumEntry()
- {
- return xOseeEnumEntryEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getXOseeEnumEntry_Name()
- {
- return (EAttribute)xOseeEnumEntryEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getXOseeEnumEntry_Ordinal()
- {
- return (EAttribute)xOseeEnumEntryEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getXOseeEnumEntry_EntryGuid()
- {
- return (EAttribute)xOseeEnumEntryEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getXOseeEnumOverride()
- {
- return xOseeEnumOverrideEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getXOseeEnumOverride_OverridenEnumType()
- {
- return (EReference)xOseeEnumOverrideEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getXOseeEnumOverride_InheritAll()
- {
- return (EAttribute)xOseeEnumOverrideEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getXOseeEnumOverride_OverrideOptions()
- {
- return (EReference)xOseeEnumOverrideEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getOverrideOption()
- {
- return overrideOptionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getAddEnum()
- {
- return addEnumEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getAddEnum_EnumEntry()
- {
- return (EAttribute)addEnumEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getAddEnum_Ordinal()
- {
- return (EAttribute)addEnumEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getAddEnum_EntryGuid()
- {
- return (EAttribute)addEnumEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getRemoveEnum()
- {
- return removeEnumEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getRemoveEnum_EnumEntry()
- {
- return (EReference)removeEnumEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getXRelationType()
- {
- return xRelationTypeEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getXRelationType_SideAName()
- {
- return (EAttribute)xRelationTypeEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getXRelationType_SideAArtifactType()
- {
- return (EReference)xRelationTypeEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getXRelationType_SideBName()
- {
- return (EAttribute)xRelationTypeEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getXRelationType_SideBArtifactType()
- {
- return (EReference)xRelationTypeEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getXRelationType_DefaultOrderType()
- {
- return (EAttribute)xRelationTypeEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getXRelationType_Multiplicity()
- {
- return (EAttribute)xRelationTypeEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getXArtifactRef()
- {
- return xArtifactRefEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getXArtifactRef_Name()
- {
- return (EAttribute)xArtifactRefEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getXArtifactRef_Guid()
- {
- return (EAttribute)xArtifactRefEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getXBranchRef()
- {
- return xBranchRefEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getXBranchRef_Name()
- {
- return (EAttribute)xBranchRefEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getXBranchRef_Guid()
- {
- return (EAttribute)xBranchRefEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getAccessContext()
- {
- return accessContextEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getAccessContext_Name()
- {
- return (EAttribute)accessContextEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getAccessContext_SuperAccessContexts()
- {
- return (EReference)accessContextEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getAccessContext_TypeGuid()
- {
- return (EAttribute)accessContextEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getAccessContext_AccessRules()
- {
- return (EReference)accessContextEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getAccessContext_HierarchyRestrictions()
- {
- return (EReference)accessContextEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getHierarchyRestriction()
- {
- return hierarchyRestrictionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getHierarchyRestriction_Artifact()
- {
- return (EReference)hierarchyRestrictionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getHierarchyRestriction_AccessRules()
- {
- return (EReference)hierarchyRestrictionEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getPermissionRule()
- {
- return permissionRuleEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPermissionRule_Permission()
- {
- return (EAttribute)permissionRuleEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPermissionRule_ObjectRestriction()
- {
- return (EReference)permissionRuleEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getObjectRestriction()
- {
- return objectRestrictionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getArtifactInstanceRestriction()
- {
- return artifactInstanceRestrictionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getArtifactInstanceRestriction_ArtifactName()
- {
- return (EReference)artifactInstanceRestrictionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getArtifactTypeRestriction()
- {
- return artifactTypeRestrictionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getArtifactTypeRestriction_ArtifactType()
- {
- return (EReference)artifactTypeRestrictionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getRelationTypeRestriction()
- {
- return relationTypeRestrictionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getRelationTypeRestriction_RelationType()
- {
- return (EReference)relationTypeRestrictionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getRelationTypeRestriction_RestrictedTo()
- {
- return (EAttribute)relationTypeRestrictionEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getAttributeTypeRestriction()
- {
- return attributeTypeRestrictionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getAttributeTypeRestriction_AttributeType()
- {
- return (EReference)attributeTypeRestrictionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getAttributeTypeOfArtifactTypeRestriction()
- {
- return attributeTypeOfArtifactTypeRestrictionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getAttributeTypeOfArtifactTypeRestriction_AttributeType()
- {
- return (EReference)attributeTypeOfArtifactTypeRestrictionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getAttributeTypeOfArtifactTypeRestriction_ArtifactType()
- {
- return (EReference)attributeTypeOfArtifactTypeRestrictionEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EEnum getRelationMultiplicityEnum()
- {
- return relationMultiplicityEnumEEnum;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EEnum getAccessPermissionEnum()
- {
- return accessPermissionEnumEEnum;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EEnum getRelationTypeSideRestriction()
- {
- return relationTypeSideRestrictionEEnum;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public OseeDslFactory getOseeDslFactory()
- {
- return (OseeDslFactory)getEFactoryInstance();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isCreated = false;
-
- /**
- * Creates the meta-model objects for the package. This method is
- * guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void createPackageContents()
- {
- if (isCreated) return;
- isCreated = true;
-
- // Create classes and their features
- oseeDslEClass = createEClass(OSEE_DSL);
- createEReference(oseeDslEClass, OSEE_DSL__IMPORTS);
- createEReference(oseeDslEClass, OSEE_DSL__ARTIFACT_TYPES);
- createEReference(oseeDslEClass, OSEE_DSL__RELATION_TYPES);
- createEReference(oseeDslEClass, OSEE_DSL__ATTRIBUTE_TYPES);
- createEReference(oseeDslEClass, OSEE_DSL__ENUM_TYPES);
- createEReference(oseeDslEClass, OSEE_DSL__ENUM_OVERRIDES);
- createEReference(oseeDslEClass, OSEE_DSL__BRANCH_REFS);
- createEReference(oseeDslEClass, OSEE_DSL__ARTIFACT_REFS);
- createEReference(oseeDslEClass, OSEE_DSL__ACCESS_DECLARATIONS);
-
- importEClass = createEClass(IMPORT);
- createEAttribute(importEClass, IMPORT__IMPORT_URI);
-
- oseeElementEClass = createEClass(OSEE_ELEMENT);
-
- oseeTypeEClass = createEClass(OSEE_TYPE);
- createEAttribute(oseeTypeEClass, OSEE_TYPE__NAME);
- createEAttribute(oseeTypeEClass, OSEE_TYPE__TYPE_GUID);
-
- xArtifactTypeEClass = createEClass(XARTIFACT_TYPE);
- createEAttribute(xArtifactTypeEClass, XARTIFACT_TYPE__ABSTRACT);
- createEReference(xArtifactTypeEClass, XARTIFACT_TYPE__SUPER_ARTIFACT_TYPES);
- createEReference(xArtifactTypeEClass, XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES);
-
- xAttributeTypeRefEClass = createEClass(XATTRIBUTE_TYPE_REF);
- createEReference(xAttributeTypeRefEClass, XATTRIBUTE_TYPE_REF__VALID_ATTRIBUTE_TYPE);
- createEAttribute(xAttributeTypeRefEClass, XATTRIBUTE_TYPE_REF__BRANCH_GUID);
-
- xAttributeTypeEClass = createEClass(XATTRIBUTE_TYPE);
- createEAttribute(xAttributeTypeEClass, XATTRIBUTE_TYPE__BASE_ATTRIBUTE_TYPE);
- createEReference(xAttributeTypeEClass, XATTRIBUTE_TYPE__OVERRIDE);
- createEAttribute(xAttributeTypeEClass, XATTRIBUTE_TYPE__DATA_PROVIDER);
- createEAttribute(xAttributeTypeEClass, XATTRIBUTE_TYPE__MIN);
- createEAttribute(xAttributeTypeEClass, XATTRIBUTE_TYPE__MAX);
- createEAttribute(xAttributeTypeEClass, XATTRIBUTE_TYPE__TAGGER_ID);
- createEReference(xAttributeTypeEClass, XATTRIBUTE_TYPE__ENUM_TYPE);
- createEAttribute(xAttributeTypeEClass, XATTRIBUTE_TYPE__DESCRIPTION);
- createEAttribute(xAttributeTypeEClass, XATTRIBUTE_TYPE__DEFAULT_VALUE);
- createEAttribute(xAttributeTypeEClass, XATTRIBUTE_TYPE__FILE_EXTENSION);
-
- xOseeEnumTypeEClass = createEClass(XOSEE_ENUM_TYPE);
- createEReference(xOseeEnumTypeEClass, XOSEE_ENUM_TYPE__ENUM_ENTRIES);
-
- xOseeEnumEntryEClass = createEClass(XOSEE_ENUM_ENTRY);
- createEAttribute(xOseeEnumEntryEClass, XOSEE_ENUM_ENTRY__NAME);
- createEAttribute(xOseeEnumEntryEClass, XOSEE_ENUM_ENTRY__ORDINAL);
- createEAttribute(xOseeEnumEntryEClass, XOSEE_ENUM_ENTRY__ENTRY_GUID);
-
- xOseeEnumOverrideEClass = createEClass(XOSEE_ENUM_OVERRIDE);
- createEReference(xOseeEnumOverrideEClass, XOSEE_ENUM_OVERRIDE__OVERRIDEN_ENUM_TYPE);
- createEAttribute(xOseeEnumOverrideEClass, XOSEE_ENUM_OVERRIDE__INHERIT_ALL);
- createEReference(xOseeEnumOverrideEClass, XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS);
-
- overrideOptionEClass = createEClass(OVERRIDE_OPTION);
-
- addEnumEClass = createEClass(ADD_ENUM);
- createEAttribute(addEnumEClass, ADD_ENUM__ENUM_ENTRY);
- createEAttribute(addEnumEClass, ADD_ENUM__ORDINAL);
- createEAttribute(addEnumEClass, ADD_ENUM__ENTRY_GUID);
-
- removeEnumEClass = createEClass(REMOVE_ENUM);
- createEReference(removeEnumEClass, REMOVE_ENUM__ENUM_ENTRY);
-
- xRelationTypeEClass = createEClass(XRELATION_TYPE);
- createEAttribute(xRelationTypeEClass, XRELATION_TYPE__SIDE_ANAME);
- createEReference(xRelationTypeEClass, XRELATION_TYPE__SIDE_AARTIFACT_TYPE);
- createEAttribute(xRelationTypeEClass, XRELATION_TYPE__SIDE_BNAME);
- createEReference(xRelationTypeEClass, XRELATION_TYPE__SIDE_BARTIFACT_TYPE);
- createEAttribute(xRelationTypeEClass, XRELATION_TYPE__DEFAULT_ORDER_TYPE);
- createEAttribute(xRelationTypeEClass, XRELATION_TYPE__MULTIPLICITY);
-
- xArtifactRefEClass = createEClass(XARTIFACT_REF);
- createEAttribute(xArtifactRefEClass, XARTIFACT_REF__NAME);
- createEAttribute(xArtifactRefEClass, XARTIFACT_REF__GUID);
-
- xBranchRefEClass = createEClass(XBRANCH_REF);
- createEAttribute(xBranchRefEClass, XBRANCH_REF__NAME);
- createEAttribute(xBranchRefEClass, XBRANCH_REF__GUID);
-
- accessContextEClass = createEClass(ACCESS_CONTEXT);
- createEAttribute(accessContextEClass, ACCESS_CONTEXT__NAME);
- createEReference(accessContextEClass, ACCESS_CONTEXT__SUPER_ACCESS_CONTEXTS);
- createEAttribute(accessContextEClass, ACCESS_CONTEXT__TYPE_GUID);
- createEReference(accessContextEClass, ACCESS_CONTEXT__ACCESS_RULES);
- createEReference(accessContextEClass, ACCESS_CONTEXT__HIERARCHY_RESTRICTIONS);
-
- hierarchyRestrictionEClass = createEClass(HIERARCHY_RESTRICTION);
- createEReference(hierarchyRestrictionEClass, HIERARCHY_RESTRICTION__ARTIFACT);
- createEReference(hierarchyRestrictionEClass, HIERARCHY_RESTRICTION__ACCESS_RULES);
-
- permissionRuleEClass = createEClass(PERMISSION_RULE);
- createEAttribute(permissionRuleEClass, PERMISSION_RULE__PERMISSION);
- createEReference(permissionRuleEClass, PERMISSION_RULE__OBJECT_RESTRICTION);
-
- objectRestrictionEClass = createEClass(OBJECT_RESTRICTION);
-
- artifactInstanceRestrictionEClass = createEClass(ARTIFACT_INSTANCE_RESTRICTION);
- createEReference(artifactInstanceRestrictionEClass, ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_NAME);
-
- artifactTypeRestrictionEClass = createEClass(ARTIFACT_TYPE_RESTRICTION);
- createEReference(artifactTypeRestrictionEClass, ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE);
-
- relationTypeRestrictionEClass = createEClass(RELATION_TYPE_RESTRICTION);
- createEReference(relationTypeRestrictionEClass, RELATION_TYPE_RESTRICTION__RELATION_TYPE);
- createEAttribute(relationTypeRestrictionEClass, RELATION_TYPE_RESTRICTION__RESTRICTED_TO);
-
- attributeTypeRestrictionEClass = createEClass(ATTRIBUTE_TYPE_RESTRICTION);
- createEReference(attributeTypeRestrictionEClass, ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE);
-
- attributeTypeOfArtifactTypeRestrictionEClass = createEClass(ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION);
- createEReference(attributeTypeOfArtifactTypeRestrictionEClass, ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ATTRIBUTE_TYPE);
- createEReference(attributeTypeOfArtifactTypeRestrictionEClass, ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE);
-
- // Create enums
- relationMultiplicityEnumEEnum = createEEnum(RELATION_MULTIPLICITY_ENUM);
- accessPermissionEnumEEnum = createEEnum(ACCESS_PERMISSION_ENUM);
- relationTypeSideRestrictionEEnum = createEEnum(RELATION_TYPE_SIDE_RESTRICTION);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isInitialized = false;
-
- /**
- * Complete the initialization of the package and its meta-model. This
- * method is guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void initializePackageContents()
- {
- if (isInitialized) return;
- isInitialized = true;
-
- // Initialize package
- setName(eNAME);
- setNsPrefix(eNS_PREFIX);
- setNsURI(eNS_URI);
-
- // Create type parameters
-
- // Set bounds for type parameters
-
- // Add supertypes to classes
- oseeTypeEClass.getESuperTypes().add(this.getOseeElement());
- xArtifactTypeEClass.getESuperTypes().add(this.getOseeType());
- xAttributeTypeEClass.getESuperTypes().add(this.getOseeType());
- xOseeEnumTypeEClass.getESuperTypes().add(this.getOseeType());
- xOseeEnumOverrideEClass.getESuperTypes().add(this.getOseeElement());
- addEnumEClass.getESuperTypes().add(this.getOverrideOption());
- removeEnumEClass.getESuperTypes().add(this.getOverrideOption());
- xRelationTypeEClass.getESuperTypes().add(this.getOseeType());
- artifactInstanceRestrictionEClass.getESuperTypes().add(this.getObjectRestriction());
- artifactTypeRestrictionEClass.getESuperTypes().add(this.getObjectRestriction());
- relationTypeRestrictionEClass.getESuperTypes().add(this.getObjectRestriction());
- attributeTypeRestrictionEClass.getESuperTypes().add(this.getObjectRestriction());
- attributeTypeOfArtifactTypeRestrictionEClass.getESuperTypes().add(this.getObjectRestriction());
-
- // Initialize classes and features; add operations and parameters
- initEClass(oseeDslEClass, OseeDsl.class, "OseeDsl", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getOseeDsl_Imports(), this.getImport(), null, "imports", null, 0, -1, OseeDsl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getOseeDsl_ArtifactTypes(), this.getXArtifactType(), null, "artifactTypes", null, 0, -1, OseeDsl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getOseeDsl_RelationTypes(), this.getXRelationType(), null, "relationTypes", null, 0, -1, OseeDsl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getOseeDsl_AttributeTypes(), this.getXAttributeType(), null, "attributeTypes", null, 0, -1, OseeDsl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getOseeDsl_EnumTypes(), this.getXOseeEnumType(), null, "enumTypes", null, 0, -1, OseeDsl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getOseeDsl_EnumOverrides(), this.getXOseeEnumOverride(), null, "enumOverrides", null, 0, -1, OseeDsl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getOseeDsl_BranchRefs(), this.getXBranchRef(), null, "branchRefs", null, 0, -1, OseeDsl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getOseeDsl_ArtifactRefs(), this.getXArtifactRef(), null, "artifactRefs", null, 0, -1, OseeDsl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getOseeDsl_AccessDeclarations(), this.getAccessContext(), null, "accessDeclarations", null, 0, -1, OseeDsl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(importEClass, Import.class, "Import", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getImport_ImportURI(), ecorePackage.getEString(), "importURI", null, 0, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(oseeElementEClass, OseeElement.class, "OseeElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(oseeTypeEClass, OseeType.class, "OseeType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getOseeType_Name(), ecorePackage.getEString(), "name", null, 0, 1, OseeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getOseeType_TypeGuid(), ecorePackage.getEString(), "typeGuid", null, 0, 1, OseeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(xArtifactTypeEClass, XArtifactType.class, "XArtifactType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getXArtifactType_Abstract(), ecorePackage.getEBoolean(), "abstract", null, 0, 1, XArtifactType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getXArtifactType_SuperArtifactTypes(), this.getXArtifactType(), null, "superArtifactTypes", null, 0, -1, XArtifactType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getXArtifactType_ValidAttributeTypes(), this.getXAttributeTypeRef(), null, "validAttributeTypes", null, 0, -1, XArtifactType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(xAttributeTypeRefEClass, XAttributeTypeRef.class, "XAttributeTypeRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getXAttributeTypeRef_ValidAttributeType(), this.getXAttributeType(), null, "validAttributeType", null, 0, 1, XAttributeTypeRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getXAttributeTypeRef_BranchGuid(), ecorePackage.getEString(), "branchGuid", null, 0, 1, XAttributeTypeRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(xAttributeTypeEClass, XAttributeType.class, "XAttributeType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getXAttributeType_BaseAttributeType(), ecorePackage.getEString(), "baseAttributeType", null, 0, 1, XAttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getXAttributeType_Override(), this.getXAttributeType(), null, "override", null, 0, 1, XAttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getXAttributeType_DataProvider(), ecorePackage.getEString(), "dataProvider", null, 0, 1, XAttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getXAttributeType_Min(), ecorePackage.getEString(), "min", null, 0, 1, XAttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getXAttributeType_Max(), ecorePackage.getEString(), "max", null, 0, 1, XAttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getXAttributeType_TaggerId(), ecorePackage.getEString(), "taggerId", null, 0, 1, XAttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getXAttributeType_EnumType(), this.getXOseeEnumType(), null, "enumType", null, 0, 1, XAttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getXAttributeType_Description(), ecorePackage.getEString(), "description", null, 0, 1, XAttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getXAttributeType_DefaultValue(), ecorePackage.getEString(), "defaultValue", null, 0, 1, XAttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getXAttributeType_FileExtension(), ecorePackage.getEString(), "fileExtension", null, 0, 1, XAttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(xOseeEnumTypeEClass, XOseeEnumType.class, "XOseeEnumType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getXOseeEnumType_EnumEntries(), this.getXOseeEnumEntry(), null, "enumEntries", null, 0, -1, XOseeEnumType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(xOseeEnumEntryEClass, XOseeEnumEntry.class, "XOseeEnumEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getXOseeEnumEntry_Name(), ecorePackage.getEString(), "name", null, 0, 1, XOseeEnumEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getXOseeEnumEntry_Ordinal(), ecorePackage.getEString(), "ordinal", null, 0, 1, XOseeEnumEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getXOseeEnumEntry_EntryGuid(), ecorePackage.getEString(), "entryGuid", null, 0, 1, XOseeEnumEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(xOseeEnumOverrideEClass, XOseeEnumOverride.class, "XOseeEnumOverride", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getXOseeEnumOverride_OverridenEnumType(), this.getXOseeEnumType(), null, "overridenEnumType", null, 0, 1, XOseeEnumOverride.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getXOseeEnumOverride_InheritAll(), ecorePackage.getEBoolean(), "inheritAll", null, 0, 1, XOseeEnumOverride.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getXOseeEnumOverride_OverrideOptions(), this.getOverrideOption(), null, "overrideOptions", null, 0, -1, XOseeEnumOverride.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(overrideOptionEClass, OverrideOption.class, "OverrideOption", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(addEnumEClass, AddEnum.class, "AddEnum", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getAddEnum_EnumEntry(), ecorePackage.getEString(), "enumEntry", null, 0, 1, AddEnum.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getAddEnum_Ordinal(), ecorePackage.getEString(), "ordinal", null, 0, 1, AddEnum.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getAddEnum_EntryGuid(), ecorePackage.getEString(), "entryGuid", null, 0, 1, AddEnum.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(removeEnumEClass, RemoveEnum.class, "RemoveEnum", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getRemoveEnum_EnumEntry(), this.getXOseeEnumEntry(), null, "enumEntry", null, 0, 1, RemoveEnum.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(xRelationTypeEClass, XRelationType.class, "XRelationType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getXRelationType_SideAName(), ecorePackage.getEString(), "sideAName", null, 0, 1, XRelationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getXRelationType_SideAArtifactType(), this.getXArtifactType(), null, "sideAArtifactType", null, 0, 1, XRelationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getXRelationType_SideBName(), ecorePackage.getEString(), "sideBName", null, 0, 1, XRelationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getXRelationType_SideBArtifactType(), this.getXArtifactType(), null, "sideBArtifactType", null, 0, 1, XRelationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getXRelationType_DefaultOrderType(), ecorePackage.getEString(), "defaultOrderType", null, 0, 1, XRelationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getXRelationType_Multiplicity(), this.getRelationMultiplicityEnum(), "multiplicity", null, 0, 1, XRelationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(xArtifactRefEClass, XArtifactRef.class, "XArtifactRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getXArtifactRef_Name(), ecorePackage.getEString(), "name", null, 0, 1, XArtifactRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getXArtifactRef_Guid(), ecorePackage.getEString(), "guid", null, 0, 1, XArtifactRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(xBranchRefEClass, XBranchRef.class, "XBranchRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getXBranchRef_Name(), ecorePackage.getEString(), "name", null, 0, 1, XBranchRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getXBranchRef_Guid(), ecorePackage.getEString(), "guid", null, 0, 1, XBranchRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(accessContextEClass, AccessContext.class, "AccessContext", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getAccessContext_Name(), ecorePackage.getEString(), "name", null, 0, 1, AccessContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getAccessContext_SuperAccessContexts(), this.getAccessContext(), null, "superAccessContexts", null, 0, -1, AccessContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getAccessContext_TypeGuid(), ecorePackage.getEString(), "typeGuid", null, 0, 1, AccessContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getAccessContext_AccessRules(), this.getPermissionRule(), null, "accessRules", null, 0, -1, AccessContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getAccessContext_HierarchyRestrictions(), this.getHierarchyRestriction(), null, "hierarchyRestrictions", null, 0, -1, AccessContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(hierarchyRestrictionEClass, HierarchyRestriction.class, "HierarchyRestriction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getHierarchyRestriction_Artifact(), this.getXArtifactRef(), null, "artifact", null, 0, 1, HierarchyRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getHierarchyRestriction_AccessRules(), this.getPermissionRule(), null, "accessRules", null, 0, -1, HierarchyRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(permissionRuleEClass, PermissionRule.class, "PermissionRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getPermissionRule_Permission(), this.getAccessPermissionEnum(), "permission", null, 0, 1, PermissionRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPermissionRule_ObjectRestriction(), this.getObjectRestriction(), null, "objectRestriction", null, 0, 1, PermissionRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(objectRestrictionEClass, ObjectRestriction.class, "ObjectRestriction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(artifactInstanceRestrictionEClass, ArtifactInstanceRestriction.class, "ArtifactInstanceRestriction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getArtifactInstanceRestriction_ArtifactName(), this.getXArtifactRef(), null, "artifactName", null, 0, 1, ArtifactInstanceRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(artifactTypeRestrictionEClass, ArtifactTypeRestriction.class, "ArtifactTypeRestriction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getArtifactTypeRestriction_ArtifactType(), this.getXArtifactType(), null, "artifactType", null, 0, 1, ArtifactTypeRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(relationTypeRestrictionEClass, RelationTypeRestriction.class, "RelationTypeRestriction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getRelationTypeRestriction_RelationType(), this.getXRelationType(), null, "relationType", null, 0, 1, RelationTypeRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getRelationTypeRestriction_RestrictedTo(), this.getRelationTypeSideRestriction(), "restrictedTo", null, 0, -1, RelationTypeRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(attributeTypeRestrictionEClass, AttributeTypeRestriction.class, "AttributeTypeRestriction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getAttributeTypeRestriction_AttributeType(), this.getXAttributeType(), null, "attributeType", null, 0, 1, AttributeTypeRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(attributeTypeOfArtifactTypeRestrictionEClass, AttributeTypeOfArtifactTypeRestriction.class, "AttributeTypeOfArtifactTypeRestriction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getAttributeTypeOfArtifactTypeRestriction_AttributeType(), this.getXAttributeType(), null, "attributeType", null, 0, 1, AttributeTypeOfArtifactTypeRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getAttributeTypeOfArtifactTypeRestriction_ArtifactType(), this.getXArtifactType(), null, "artifactType", null, 0, 1, AttributeTypeOfArtifactTypeRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- // Initialize enums and add enum literals
- initEEnum(relationMultiplicityEnumEEnum, RelationMultiplicityEnum.class, "RelationMultiplicityEnum");
- addEEnumLiteral(relationMultiplicityEnumEEnum, RelationMultiplicityEnum.ONE_TO_ONE);
- addEEnumLiteral(relationMultiplicityEnumEEnum, RelationMultiplicityEnum.ONE_TO_MANY);
- addEEnumLiteral(relationMultiplicityEnumEEnum, RelationMultiplicityEnum.MANY_TO_ONE);
- addEEnumLiteral(relationMultiplicityEnumEEnum, RelationMultiplicityEnum.MANY_TO_MANY);
-
- initEEnum(accessPermissionEnumEEnum, AccessPermissionEnum.class, "AccessPermissionEnum");
- addEEnumLiteral(accessPermissionEnumEEnum, AccessPermissionEnum.ALLOW);
- addEEnumLiteral(accessPermissionEnumEEnum, AccessPermissionEnum.DENY);
-
- initEEnum(relationTypeSideRestrictionEEnum, RelationTypeSideRestriction.class, "RelationTypeSideRestriction");
- addEEnumLiteral(relationTypeSideRestrictionEEnum, RelationTypeSideRestriction.SIDE_A);
- addEEnumLiteral(relationTypeSideRestrictionEEnum, RelationTypeSideRestriction.SIDE_B);
-
- // Create resource
- createResource(eNS_URI);
- }
-
-} //OseeDslPackageImpl
+/** + * <copyright> + * </copyright> + * + + */ +package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +import org.eclipse.emf.ecore.impl.EPackageImpl; + +import org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext; +import org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum; +import org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum; +import org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactInstanceRestriction; +import org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction; +import org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction; +import org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction; +import org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction; +import org.eclipse.osee.framework.core.dsl.oseeDsl.Import; +import org.eclipse.osee.framework.core.dsl.oseeDsl.ObjectRestriction; +import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl; +import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslFactory; +import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; +import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeElement; +import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType; +import org.eclipse.osee.framework.core.dsl.oseeDsl.OverrideOption; +import org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule; +import org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum; +import org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction; +import org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeSideRestriction; +import org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType; + +/** + * <!-- begin-user-doc --> + * An implementation of the model <b>Package</b>. + * <!-- end-user-doc --> + * @generated + */ +public class OseeDslPackageImpl extends EPackageImpl implements OseeDslPackage +{ + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass oseeDslEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass importEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass oseeElementEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass oseeTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass xArtifactTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass xAttributeTypeRefEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass xAttributeTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass xOseeEnumTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass xOseeEnumEntryEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass xOseeEnumOverrideEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass overrideOptionEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass addEnumEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass removeEnumEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass xRelationTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass xArtifactRefEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass xBranchRefEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass accessContextEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass hierarchyRestrictionEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass permissionRuleEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass objectRestrictionEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass artifactInstanceRestrictionEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass artifactTypeRestrictionEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass relationTypeRestrictionEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass attributeTypeRestrictionEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass attributeTypeOfArtifactTypeRestrictionEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EEnum relationMultiplicityEnumEEnum = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EEnum accessPermissionEnumEEnum = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EEnum relationTypeSideRestrictionEEnum = null; + + /** + * Creates an instance of the model <b>Package</b>, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + * <p>Note: the correct way to create the package is via the static + * factory method {@link #init init()}, which also performs + * initialization of the package, or returns the registered package, + * if one already exists. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage#eNS_URI + * @see #init() + * @generated + */ + private OseeDslPackageImpl() + { + super(eNS_URI, OseeDslFactory.eINSTANCE); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. + * + * <p>This method is used to initialize {@link OseeDslPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static OseeDslPackage init() + { + if (isInited) return (OseeDslPackage)EPackage.Registry.INSTANCE.getEPackage(OseeDslPackage.eNS_URI); + + // Obtain or create and register package + OseeDslPackageImpl theOseeDslPackage = (OseeDslPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof OseeDslPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new OseeDslPackageImpl()); + + isInited = true; + + // Create package meta-data objects + theOseeDslPackage.createPackageContents(); + + // Initialize created meta-data + theOseeDslPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theOseeDslPackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(OseeDslPackage.eNS_URI, theOseeDslPackage); + return theOseeDslPackage; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getOseeDsl() + { + return oseeDslEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getOseeDsl_Imports() + { + return (EReference)oseeDslEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getOseeDsl_ArtifactTypes() + { + return (EReference)oseeDslEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getOseeDsl_RelationTypes() + { + return (EReference)oseeDslEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getOseeDsl_AttributeTypes() + { + return (EReference)oseeDslEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getOseeDsl_EnumTypes() + { + return (EReference)oseeDslEClass.getEStructuralFeatures().get(4); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getOseeDsl_EnumOverrides() + { + return (EReference)oseeDslEClass.getEStructuralFeatures().get(5); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getOseeDsl_BranchRefs() + { + return (EReference)oseeDslEClass.getEStructuralFeatures().get(6); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getOseeDsl_ArtifactRefs() + { + return (EReference)oseeDslEClass.getEStructuralFeatures().get(7); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getOseeDsl_AccessDeclarations() + { + return (EReference)oseeDslEClass.getEStructuralFeatures().get(8); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getImport() + { + return importEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getImport_ImportURI() + { + return (EAttribute)importEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getOseeElement() + { + return oseeElementEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getOseeType() + { + return oseeTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getOseeType_Name() + { + return (EAttribute)oseeTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getOseeType_TypeGuid() + { + return (EAttribute)oseeTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getXArtifactType() + { + return xArtifactTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getXArtifactType_Abstract() + { + return (EAttribute)xArtifactTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getXArtifactType_SuperArtifactTypes() + { + return (EReference)xArtifactTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getXArtifactType_ValidAttributeTypes() + { + return (EReference)xArtifactTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getXAttributeTypeRef() + { + return xAttributeTypeRefEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getXAttributeTypeRef_ValidAttributeType() + { + return (EReference)xAttributeTypeRefEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getXAttributeTypeRef_BranchGuid() + { + return (EAttribute)xAttributeTypeRefEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getXAttributeType() + { + return xAttributeTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getXAttributeType_BaseAttributeType() + { + return (EAttribute)xAttributeTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getXAttributeType_Override() + { + return (EReference)xAttributeTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getXAttributeType_DataProvider() + { + return (EAttribute)xAttributeTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getXAttributeType_Min() + { + return (EAttribute)xAttributeTypeEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getXAttributeType_Max() + { + return (EAttribute)xAttributeTypeEClass.getEStructuralFeatures().get(4); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getXAttributeType_TaggerId() + { + return (EAttribute)xAttributeTypeEClass.getEStructuralFeatures().get(5); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getXAttributeType_EnumType() + { + return (EReference)xAttributeTypeEClass.getEStructuralFeatures().get(6); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getXAttributeType_Description() + { + return (EAttribute)xAttributeTypeEClass.getEStructuralFeatures().get(7); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getXAttributeType_DefaultValue() + { + return (EAttribute)xAttributeTypeEClass.getEStructuralFeatures().get(8); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getXAttributeType_FileExtension() + { + return (EAttribute)xAttributeTypeEClass.getEStructuralFeatures().get(9); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getXOseeEnumType() + { + return xOseeEnumTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getXOseeEnumType_EnumEntries() + { + return (EReference)xOseeEnumTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getXOseeEnumEntry() + { + return xOseeEnumEntryEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getXOseeEnumEntry_Name() + { + return (EAttribute)xOseeEnumEntryEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getXOseeEnumEntry_Ordinal() + { + return (EAttribute)xOseeEnumEntryEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getXOseeEnumEntry_EntryGuid() + { + return (EAttribute)xOseeEnumEntryEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getXOseeEnumOverride() + { + return xOseeEnumOverrideEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getXOseeEnumOverride_OverridenEnumType() + { + return (EReference)xOseeEnumOverrideEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getXOseeEnumOverride_InheritAll() + { + return (EAttribute)xOseeEnumOverrideEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getXOseeEnumOverride_OverrideOptions() + { + return (EReference)xOseeEnumOverrideEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getOverrideOption() + { + return overrideOptionEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getAddEnum() + { + return addEnumEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getAddEnum_EnumEntry() + { + return (EAttribute)addEnumEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getAddEnum_Ordinal() + { + return (EAttribute)addEnumEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getAddEnum_EntryGuid() + { + return (EAttribute)addEnumEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getRemoveEnum() + { + return removeEnumEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getRemoveEnum_EnumEntry() + { + return (EReference)removeEnumEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getXRelationType() + { + return xRelationTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getXRelationType_SideAName() + { + return (EAttribute)xRelationTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getXRelationType_SideAArtifactType() + { + return (EReference)xRelationTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getXRelationType_SideBName() + { + return (EAttribute)xRelationTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getXRelationType_SideBArtifactType() + { + return (EReference)xRelationTypeEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getXRelationType_DefaultOrderType() + { + return (EAttribute)xRelationTypeEClass.getEStructuralFeatures().get(4); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getXRelationType_Multiplicity() + { + return (EAttribute)xRelationTypeEClass.getEStructuralFeatures().get(5); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getXArtifactRef() + { + return xArtifactRefEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getXArtifactRef_Name() + { + return (EAttribute)xArtifactRefEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getXArtifactRef_Guid() + { + return (EAttribute)xArtifactRefEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getXBranchRef() + { + return xBranchRefEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getXBranchRef_Name() + { + return (EAttribute)xBranchRefEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getXBranchRef_Guid() + { + return (EAttribute)xBranchRefEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getAccessContext() + { + return accessContextEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getAccessContext_Name() + { + return (EAttribute)accessContextEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getAccessContext_SuperAccessContexts() + { + return (EReference)accessContextEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getAccessContext_TypeGuid() + { + return (EAttribute)accessContextEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getAccessContext_AccessRules() + { + return (EReference)accessContextEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getAccessContext_HierarchyRestrictions() + { + return (EReference)accessContextEClass.getEStructuralFeatures().get(4); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getHierarchyRestriction() + { + return hierarchyRestrictionEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getHierarchyRestriction_Artifact() + { + return (EReference)hierarchyRestrictionEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getHierarchyRestriction_AccessRules() + { + return (EReference)hierarchyRestrictionEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getPermissionRule() + { + return permissionRuleEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getPermissionRule_Permission() + { + return (EAttribute)permissionRuleEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getPermissionRule_ObjectRestriction() + { + return (EReference)permissionRuleEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getObjectRestriction() + { + return objectRestrictionEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getArtifactInstanceRestriction() + { + return artifactInstanceRestrictionEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getArtifactInstanceRestriction_ArtifactName() + { + return (EReference)artifactInstanceRestrictionEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getArtifactTypeRestriction() + { + return artifactTypeRestrictionEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getArtifactTypeRestriction_ArtifactType() + { + return (EReference)artifactTypeRestrictionEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getRelationTypeRestriction() + { + return relationTypeRestrictionEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getRelationTypeRestriction_RelationType() + { + return (EReference)relationTypeRestrictionEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getRelationTypeRestriction_RestrictedTo() + { + return (EAttribute)relationTypeRestrictionEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getAttributeTypeRestriction() + { + return attributeTypeRestrictionEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getAttributeTypeRestriction_AttributeType() + { + return (EReference)attributeTypeRestrictionEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getAttributeTypeOfArtifactTypeRestriction() + { + return attributeTypeOfArtifactTypeRestrictionEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getAttributeTypeOfArtifactTypeRestriction_AttributeType() + { + return (EReference)attributeTypeOfArtifactTypeRestrictionEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getAttributeTypeOfArtifactTypeRestriction_ArtifactType() + { + return (EReference)attributeTypeOfArtifactTypeRestrictionEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EEnum getRelationMultiplicityEnum() + { + return relationMultiplicityEnumEEnum; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EEnum getAccessPermissionEnum() + { + return accessPermissionEnumEEnum; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EEnum getRelationTypeSideRestriction() + { + return relationTypeSideRestrictionEEnum; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public OseeDslFactory getOseeDslFactory() + { + return (OseeDslFactory)getEFactoryInstance(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private boolean isCreated = false; + + /** + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void createPackageContents() + { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + oseeDslEClass = createEClass(OSEE_DSL); + createEReference(oseeDslEClass, OSEE_DSL__IMPORTS); + createEReference(oseeDslEClass, OSEE_DSL__ARTIFACT_TYPES); + createEReference(oseeDslEClass, OSEE_DSL__RELATION_TYPES); + createEReference(oseeDslEClass, OSEE_DSL__ATTRIBUTE_TYPES); + createEReference(oseeDslEClass, OSEE_DSL__ENUM_TYPES); + createEReference(oseeDslEClass, OSEE_DSL__ENUM_OVERRIDES); + createEReference(oseeDslEClass, OSEE_DSL__BRANCH_REFS); + createEReference(oseeDslEClass, OSEE_DSL__ARTIFACT_REFS); + createEReference(oseeDslEClass, OSEE_DSL__ACCESS_DECLARATIONS); + + importEClass = createEClass(IMPORT); + createEAttribute(importEClass, IMPORT__IMPORT_URI); + + oseeElementEClass = createEClass(OSEE_ELEMENT); + + oseeTypeEClass = createEClass(OSEE_TYPE); + createEAttribute(oseeTypeEClass, OSEE_TYPE__NAME); + createEAttribute(oseeTypeEClass, OSEE_TYPE__TYPE_GUID); + + xArtifactTypeEClass = createEClass(XARTIFACT_TYPE); + createEAttribute(xArtifactTypeEClass, XARTIFACT_TYPE__ABSTRACT); + createEReference(xArtifactTypeEClass, XARTIFACT_TYPE__SUPER_ARTIFACT_TYPES); + createEReference(xArtifactTypeEClass, XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES); + + xAttributeTypeRefEClass = createEClass(XATTRIBUTE_TYPE_REF); + createEReference(xAttributeTypeRefEClass, XATTRIBUTE_TYPE_REF__VALID_ATTRIBUTE_TYPE); + createEAttribute(xAttributeTypeRefEClass, XATTRIBUTE_TYPE_REF__BRANCH_GUID); + + xAttributeTypeEClass = createEClass(XATTRIBUTE_TYPE); + createEAttribute(xAttributeTypeEClass, XATTRIBUTE_TYPE__BASE_ATTRIBUTE_TYPE); + createEReference(xAttributeTypeEClass, XATTRIBUTE_TYPE__OVERRIDE); + createEAttribute(xAttributeTypeEClass, XATTRIBUTE_TYPE__DATA_PROVIDER); + createEAttribute(xAttributeTypeEClass, XATTRIBUTE_TYPE__MIN); + createEAttribute(xAttributeTypeEClass, XATTRIBUTE_TYPE__MAX); + createEAttribute(xAttributeTypeEClass, XATTRIBUTE_TYPE__TAGGER_ID); + createEReference(xAttributeTypeEClass, XATTRIBUTE_TYPE__ENUM_TYPE); + createEAttribute(xAttributeTypeEClass, XATTRIBUTE_TYPE__DESCRIPTION); + createEAttribute(xAttributeTypeEClass, XATTRIBUTE_TYPE__DEFAULT_VALUE); + createEAttribute(xAttributeTypeEClass, XATTRIBUTE_TYPE__FILE_EXTENSION); + + xOseeEnumTypeEClass = createEClass(XOSEE_ENUM_TYPE); + createEReference(xOseeEnumTypeEClass, XOSEE_ENUM_TYPE__ENUM_ENTRIES); + + xOseeEnumEntryEClass = createEClass(XOSEE_ENUM_ENTRY); + createEAttribute(xOseeEnumEntryEClass, XOSEE_ENUM_ENTRY__NAME); + createEAttribute(xOseeEnumEntryEClass, XOSEE_ENUM_ENTRY__ORDINAL); + createEAttribute(xOseeEnumEntryEClass, XOSEE_ENUM_ENTRY__ENTRY_GUID); + + xOseeEnumOverrideEClass = createEClass(XOSEE_ENUM_OVERRIDE); + createEReference(xOseeEnumOverrideEClass, XOSEE_ENUM_OVERRIDE__OVERRIDEN_ENUM_TYPE); + createEAttribute(xOseeEnumOverrideEClass, XOSEE_ENUM_OVERRIDE__INHERIT_ALL); + createEReference(xOseeEnumOverrideEClass, XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS); + + overrideOptionEClass = createEClass(OVERRIDE_OPTION); + + addEnumEClass = createEClass(ADD_ENUM); + createEAttribute(addEnumEClass, ADD_ENUM__ENUM_ENTRY); + createEAttribute(addEnumEClass, ADD_ENUM__ORDINAL); + createEAttribute(addEnumEClass, ADD_ENUM__ENTRY_GUID); + + removeEnumEClass = createEClass(REMOVE_ENUM); + createEReference(removeEnumEClass, REMOVE_ENUM__ENUM_ENTRY); + + xRelationTypeEClass = createEClass(XRELATION_TYPE); + createEAttribute(xRelationTypeEClass, XRELATION_TYPE__SIDE_ANAME); + createEReference(xRelationTypeEClass, XRELATION_TYPE__SIDE_AARTIFACT_TYPE); + createEAttribute(xRelationTypeEClass, XRELATION_TYPE__SIDE_BNAME); + createEReference(xRelationTypeEClass, XRELATION_TYPE__SIDE_BARTIFACT_TYPE); + createEAttribute(xRelationTypeEClass, XRELATION_TYPE__DEFAULT_ORDER_TYPE); + createEAttribute(xRelationTypeEClass, XRELATION_TYPE__MULTIPLICITY); + + xArtifactRefEClass = createEClass(XARTIFACT_REF); + createEAttribute(xArtifactRefEClass, XARTIFACT_REF__NAME); + createEAttribute(xArtifactRefEClass, XARTIFACT_REF__GUID); + + xBranchRefEClass = createEClass(XBRANCH_REF); + createEAttribute(xBranchRefEClass, XBRANCH_REF__NAME); + createEAttribute(xBranchRefEClass, XBRANCH_REF__GUID); + + accessContextEClass = createEClass(ACCESS_CONTEXT); + createEAttribute(accessContextEClass, ACCESS_CONTEXT__NAME); + createEReference(accessContextEClass, ACCESS_CONTEXT__SUPER_ACCESS_CONTEXTS); + createEAttribute(accessContextEClass, ACCESS_CONTEXT__TYPE_GUID); + createEReference(accessContextEClass, ACCESS_CONTEXT__ACCESS_RULES); + createEReference(accessContextEClass, ACCESS_CONTEXT__HIERARCHY_RESTRICTIONS); + + hierarchyRestrictionEClass = createEClass(HIERARCHY_RESTRICTION); + createEReference(hierarchyRestrictionEClass, HIERARCHY_RESTRICTION__ARTIFACT); + createEReference(hierarchyRestrictionEClass, HIERARCHY_RESTRICTION__ACCESS_RULES); + + permissionRuleEClass = createEClass(PERMISSION_RULE); + createEAttribute(permissionRuleEClass, PERMISSION_RULE__PERMISSION); + createEReference(permissionRuleEClass, PERMISSION_RULE__OBJECT_RESTRICTION); + + objectRestrictionEClass = createEClass(OBJECT_RESTRICTION); + + artifactInstanceRestrictionEClass = createEClass(ARTIFACT_INSTANCE_RESTRICTION); + createEReference(artifactInstanceRestrictionEClass, ARTIFACT_INSTANCE_RESTRICTION__ARTIFACT_NAME); + + artifactTypeRestrictionEClass = createEClass(ARTIFACT_TYPE_RESTRICTION); + createEReference(artifactTypeRestrictionEClass, ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE); + + relationTypeRestrictionEClass = createEClass(RELATION_TYPE_RESTRICTION); + createEReference(relationTypeRestrictionEClass, RELATION_TYPE_RESTRICTION__RELATION_TYPE); + createEAttribute(relationTypeRestrictionEClass, RELATION_TYPE_RESTRICTION__RESTRICTED_TO); + + attributeTypeRestrictionEClass = createEClass(ATTRIBUTE_TYPE_RESTRICTION); + createEReference(attributeTypeRestrictionEClass, ATTRIBUTE_TYPE_RESTRICTION__ATTRIBUTE_TYPE); + + attributeTypeOfArtifactTypeRestrictionEClass = createEClass(ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION); + createEReference(attributeTypeOfArtifactTypeRestrictionEClass, ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ATTRIBUTE_TYPE); + createEReference(attributeTypeOfArtifactTypeRestrictionEClass, ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION__ARTIFACT_TYPE); + + // Create enums + relationMultiplicityEnumEEnum = createEEnum(RELATION_MULTIPLICITY_ENUM); + accessPermissionEnumEEnum = createEEnum(ACCESS_PERMISSION_ENUM); + relationTypeSideRestrictionEEnum = createEEnum(RELATION_TYPE_SIDE_RESTRICTION); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private boolean isInitialized = false; + + /** + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void initializePackageContents() + { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + oseeTypeEClass.getESuperTypes().add(this.getOseeElement()); + xArtifactTypeEClass.getESuperTypes().add(this.getOseeType()); + xAttributeTypeEClass.getESuperTypes().add(this.getOseeType()); + xOseeEnumTypeEClass.getESuperTypes().add(this.getOseeType()); + xOseeEnumOverrideEClass.getESuperTypes().add(this.getOseeElement()); + addEnumEClass.getESuperTypes().add(this.getOverrideOption()); + removeEnumEClass.getESuperTypes().add(this.getOverrideOption()); + xRelationTypeEClass.getESuperTypes().add(this.getOseeType()); + artifactInstanceRestrictionEClass.getESuperTypes().add(this.getObjectRestriction()); + artifactTypeRestrictionEClass.getESuperTypes().add(this.getObjectRestriction()); + relationTypeRestrictionEClass.getESuperTypes().add(this.getObjectRestriction()); + attributeTypeRestrictionEClass.getESuperTypes().add(this.getObjectRestriction()); + attributeTypeOfArtifactTypeRestrictionEClass.getESuperTypes().add(this.getObjectRestriction()); + + // Initialize classes and features; add operations and parameters + initEClass(oseeDslEClass, OseeDsl.class, "OseeDsl", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getOseeDsl_Imports(), this.getImport(), null, "imports", null, 0, -1, OseeDsl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getOseeDsl_ArtifactTypes(), this.getXArtifactType(), null, "artifactTypes", null, 0, -1, OseeDsl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getOseeDsl_RelationTypes(), this.getXRelationType(), null, "relationTypes", null, 0, -1, OseeDsl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getOseeDsl_AttributeTypes(), this.getXAttributeType(), null, "attributeTypes", null, 0, -1, OseeDsl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getOseeDsl_EnumTypes(), this.getXOseeEnumType(), null, "enumTypes", null, 0, -1, OseeDsl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getOseeDsl_EnumOverrides(), this.getXOseeEnumOverride(), null, "enumOverrides", null, 0, -1, OseeDsl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getOseeDsl_BranchRefs(), this.getXBranchRef(), null, "branchRefs", null, 0, -1, OseeDsl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getOseeDsl_ArtifactRefs(), this.getXArtifactRef(), null, "artifactRefs", null, 0, -1, OseeDsl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getOseeDsl_AccessDeclarations(), this.getAccessContext(), null, "accessDeclarations", null, 0, -1, OseeDsl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(importEClass, Import.class, "Import", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getImport_ImportURI(), ecorePackage.getEString(), "importURI", null, 0, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(oseeElementEClass, OseeElement.class, "OseeElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(oseeTypeEClass, OseeType.class, "OseeType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getOseeType_Name(), ecorePackage.getEString(), "name", null, 0, 1, OseeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getOseeType_TypeGuid(), ecorePackage.getEString(), "typeGuid", null, 0, 1, OseeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xArtifactTypeEClass, XArtifactType.class, "XArtifactType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXArtifactType_Abstract(), ecorePackage.getEBoolean(), "abstract", null, 0, 1, XArtifactType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXArtifactType_SuperArtifactTypes(), this.getXArtifactType(), null, "superArtifactTypes", null, 0, -1, XArtifactType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXArtifactType_ValidAttributeTypes(), this.getXAttributeTypeRef(), null, "validAttributeTypes", null, 0, -1, XArtifactType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xAttributeTypeRefEClass, XAttributeTypeRef.class, "XAttributeTypeRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXAttributeTypeRef_ValidAttributeType(), this.getXAttributeType(), null, "validAttributeType", null, 0, 1, XAttributeTypeRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXAttributeTypeRef_BranchGuid(), ecorePackage.getEString(), "branchGuid", null, 0, 1, XAttributeTypeRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xAttributeTypeEClass, XAttributeType.class, "XAttributeType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXAttributeType_BaseAttributeType(), ecorePackage.getEString(), "baseAttributeType", null, 0, 1, XAttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXAttributeType_Override(), this.getXAttributeType(), null, "override", null, 0, 1, XAttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXAttributeType_DataProvider(), ecorePackage.getEString(), "dataProvider", null, 0, 1, XAttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXAttributeType_Min(), ecorePackage.getEString(), "min", null, 0, 1, XAttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXAttributeType_Max(), ecorePackage.getEString(), "max", null, 0, 1, XAttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXAttributeType_TaggerId(), ecorePackage.getEString(), "taggerId", null, 0, 1, XAttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXAttributeType_EnumType(), this.getXOseeEnumType(), null, "enumType", null, 0, 1, XAttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXAttributeType_Description(), ecorePackage.getEString(), "description", null, 0, 1, XAttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXAttributeType_DefaultValue(), ecorePackage.getEString(), "defaultValue", null, 0, 1, XAttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXAttributeType_FileExtension(), ecorePackage.getEString(), "fileExtension", null, 0, 1, XAttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xOseeEnumTypeEClass, XOseeEnumType.class, "XOseeEnumType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXOseeEnumType_EnumEntries(), this.getXOseeEnumEntry(), null, "enumEntries", null, 0, -1, XOseeEnumType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xOseeEnumEntryEClass, XOseeEnumEntry.class, "XOseeEnumEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXOseeEnumEntry_Name(), ecorePackage.getEString(), "name", null, 0, 1, XOseeEnumEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXOseeEnumEntry_Ordinal(), ecorePackage.getEString(), "ordinal", null, 0, 1, XOseeEnumEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXOseeEnumEntry_EntryGuid(), ecorePackage.getEString(), "entryGuid", null, 0, 1, XOseeEnumEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xOseeEnumOverrideEClass, XOseeEnumOverride.class, "XOseeEnumOverride", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXOseeEnumOverride_OverridenEnumType(), this.getXOseeEnumType(), null, "overridenEnumType", null, 0, 1, XOseeEnumOverride.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXOseeEnumOverride_InheritAll(), ecorePackage.getEBoolean(), "inheritAll", null, 0, 1, XOseeEnumOverride.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXOseeEnumOverride_OverrideOptions(), this.getOverrideOption(), null, "overrideOptions", null, 0, -1, XOseeEnumOverride.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(overrideOptionEClass, OverrideOption.class, "OverrideOption", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(addEnumEClass, AddEnum.class, "AddEnum", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getAddEnum_EnumEntry(), ecorePackage.getEString(), "enumEntry", null, 0, 1, AddEnum.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getAddEnum_Ordinal(), ecorePackage.getEString(), "ordinal", null, 0, 1, AddEnum.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getAddEnum_EntryGuid(), ecorePackage.getEString(), "entryGuid", null, 0, 1, AddEnum.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(removeEnumEClass, RemoveEnum.class, "RemoveEnum", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getRemoveEnum_EnumEntry(), this.getXOseeEnumEntry(), null, "enumEntry", null, 0, 1, RemoveEnum.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xRelationTypeEClass, XRelationType.class, "XRelationType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXRelationType_SideAName(), ecorePackage.getEString(), "sideAName", null, 0, 1, XRelationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXRelationType_SideAArtifactType(), this.getXArtifactType(), null, "sideAArtifactType", null, 0, 1, XRelationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXRelationType_SideBName(), ecorePackage.getEString(), "sideBName", null, 0, 1, XRelationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXRelationType_SideBArtifactType(), this.getXArtifactType(), null, "sideBArtifactType", null, 0, 1, XRelationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXRelationType_DefaultOrderType(), ecorePackage.getEString(), "defaultOrderType", null, 0, 1, XRelationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXRelationType_Multiplicity(), this.getRelationMultiplicityEnum(), "multiplicity", null, 0, 1, XRelationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xArtifactRefEClass, XArtifactRef.class, "XArtifactRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXArtifactRef_Name(), ecorePackage.getEString(), "name", null, 0, 1, XArtifactRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXArtifactRef_Guid(), ecorePackage.getEString(), "guid", null, 0, 1, XArtifactRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xBranchRefEClass, XBranchRef.class, "XBranchRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXBranchRef_Name(), ecorePackage.getEString(), "name", null, 0, 1, XBranchRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXBranchRef_Guid(), ecorePackage.getEString(), "guid", null, 0, 1, XBranchRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(accessContextEClass, AccessContext.class, "AccessContext", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getAccessContext_Name(), ecorePackage.getEString(), "name", null, 0, 1, AccessContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getAccessContext_SuperAccessContexts(), this.getAccessContext(), null, "superAccessContexts", null, 0, -1, AccessContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getAccessContext_TypeGuid(), ecorePackage.getEString(), "typeGuid", null, 0, 1, AccessContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getAccessContext_AccessRules(), this.getPermissionRule(), null, "accessRules", null, 0, -1, AccessContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getAccessContext_HierarchyRestrictions(), this.getHierarchyRestriction(), null, "hierarchyRestrictions", null, 0, -1, AccessContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(hierarchyRestrictionEClass, HierarchyRestriction.class, "HierarchyRestriction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getHierarchyRestriction_Artifact(), this.getXArtifactRef(), null, "artifact", null, 0, 1, HierarchyRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getHierarchyRestriction_AccessRules(), this.getPermissionRule(), null, "accessRules", null, 0, -1, HierarchyRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(permissionRuleEClass, PermissionRule.class, "PermissionRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getPermissionRule_Permission(), this.getAccessPermissionEnum(), "permission", null, 0, 1, PermissionRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getPermissionRule_ObjectRestriction(), this.getObjectRestriction(), null, "objectRestriction", null, 0, 1, PermissionRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(objectRestrictionEClass, ObjectRestriction.class, "ObjectRestriction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(artifactInstanceRestrictionEClass, ArtifactInstanceRestriction.class, "ArtifactInstanceRestriction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getArtifactInstanceRestriction_ArtifactName(), this.getXArtifactRef(), null, "artifactName", null, 0, 1, ArtifactInstanceRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(artifactTypeRestrictionEClass, ArtifactTypeRestriction.class, "ArtifactTypeRestriction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getArtifactTypeRestriction_ArtifactType(), this.getXArtifactType(), null, "artifactType", null, 0, 1, ArtifactTypeRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(relationTypeRestrictionEClass, RelationTypeRestriction.class, "RelationTypeRestriction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getRelationTypeRestriction_RelationType(), this.getXRelationType(), null, "relationType", null, 0, 1, RelationTypeRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getRelationTypeRestriction_RestrictedTo(), this.getRelationTypeSideRestriction(), "restrictedTo", null, 0, -1, RelationTypeRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(attributeTypeRestrictionEClass, AttributeTypeRestriction.class, "AttributeTypeRestriction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getAttributeTypeRestriction_AttributeType(), this.getXAttributeType(), null, "attributeType", null, 0, 1, AttributeTypeRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(attributeTypeOfArtifactTypeRestrictionEClass, AttributeTypeOfArtifactTypeRestriction.class, "AttributeTypeOfArtifactTypeRestriction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getAttributeTypeOfArtifactTypeRestriction_AttributeType(), this.getXAttributeType(), null, "attributeType", null, 0, 1, AttributeTypeOfArtifactTypeRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getAttributeTypeOfArtifactTypeRestriction_ArtifactType(), this.getXArtifactType(), null, "artifactType", null, 0, 1, AttributeTypeOfArtifactTypeRestriction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + // Initialize enums and add enum literals + initEEnum(relationMultiplicityEnumEEnum, RelationMultiplicityEnum.class, "RelationMultiplicityEnum"); + addEEnumLiteral(relationMultiplicityEnumEEnum, RelationMultiplicityEnum.ONE_TO_ONE); + addEEnumLiteral(relationMultiplicityEnumEEnum, RelationMultiplicityEnum.ONE_TO_MANY); + addEEnumLiteral(relationMultiplicityEnumEEnum, RelationMultiplicityEnum.MANY_TO_ONE); + addEEnumLiteral(relationMultiplicityEnumEEnum, RelationMultiplicityEnum.MANY_TO_MANY); + + initEEnum(accessPermissionEnumEEnum, AccessPermissionEnum.class, "AccessPermissionEnum"); + addEEnumLiteral(accessPermissionEnumEEnum, AccessPermissionEnum.ALLOW); + addEEnumLiteral(accessPermissionEnumEEnum, AccessPermissionEnum.DENY); + + initEEnum(relationTypeSideRestrictionEEnum, RelationTypeSideRestriction.class, "RelationTypeSideRestriction"); + addEEnumLiteral(relationTypeSideRestrictionEEnum, RelationTypeSideRestriction.SIDE_A); + addEEnumLiteral(relationTypeSideRestrictionEEnum, RelationTypeSideRestriction.SIDE_B); + + // Create resource + createResource(eNS_URI); + } + +} //OseeDslPackageImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OseeElementImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OseeElementImpl.java index 9e2666c8b51..16350560fa3 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OseeElementImpl.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OseeElementImpl.java @@ -1,48 +1,48 @@ -/**
- * <copyright>
- * </copyright>
- *
+/** + * <copyright> + * </copyright> + * - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeElement;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Osee Element</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class OseeElementImpl extends MinimalEObjectImpl.Container implements OseeElement
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected OseeElementImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OseeDslPackage.Literals.OSEE_ELEMENT;
- }
-
-} //OseeElementImpl
+ */ +package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; +import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeElement; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Osee Element</b></em>'. + * <!-- end-user-doc --> + * <p> + * </p> + * + * @generated + */ +public class OseeElementImpl extends MinimalEObjectImpl.Container implements OseeElement +{ + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected OseeElementImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return OseeDslPackage.Literals.OSEE_ELEMENT; + } + +} //OseeElementImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OseeTypeImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OseeTypeImpl.java index 98bad15b84c..62a888d91d9 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OseeTypeImpl.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OseeTypeImpl.java @@ -1,236 +1,236 @@ -/**
- * <copyright>
- * </copyright>
- *
- - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Osee Type</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeTypeImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeTypeImpl#getTypeGuid <em>Type Guid</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class OseeTypeImpl extends OseeElementImpl implements OseeType
-{
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #getTypeGuid() <em>Type Guid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTypeGuid()
- * @generated
- * @ordered
- */
- protected static final String TYPE_GUID_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getTypeGuid() <em>Type Guid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTypeGuid()
- * @generated
- * @ordered
- */
- protected String typeGuid = TYPE_GUID_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected OseeTypeImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OseeDslPackage.Literals.OSEE_TYPE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName()
- {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName)
- {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.OSEE_TYPE__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getTypeGuid()
- {
- return typeGuid;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTypeGuid(String newTypeGuid)
- {
- String oldTypeGuid = typeGuid;
- typeGuid = newTypeGuid;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.OSEE_TYPE__TYPE_GUID, oldTypeGuid, typeGuid));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case OseeDslPackage.OSEE_TYPE__NAME:
- return getName();
- case OseeDslPackage.OSEE_TYPE__TYPE_GUID:
- return getTypeGuid();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OseeDslPackage.OSEE_TYPE__NAME:
- setName((String)newValue);
- return;
- case OseeDslPackage.OSEE_TYPE__TYPE_GUID:
- setTypeGuid((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.OSEE_TYPE__NAME:
- setName(NAME_EDEFAULT);
- return;
- case OseeDslPackage.OSEE_TYPE__TYPE_GUID:
- setTypeGuid(TYPE_GUID_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.OSEE_TYPE__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case OseeDslPackage.OSEE_TYPE__TYPE_GUID:
- return TYPE_GUID_EDEFAULT == null ? typeGuid != null : !TYPE_GUID_EDEFAULT.equals(typeGuid);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (name: ");
- result.append(name);
- result.append(", typeGuid: ");
- result.append(typeGuid);
- result.append(')');
- return result.toString();
- }
-
-} //OseeTypeImpl
+/** + * <copyright> + * </copyright> + * + + */ +package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; +import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Osee Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeTypeImpl#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.OseeTypeImpl#getTypeGuid <em>Type Guid</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class OseeTypeImpl extends OseeElementImpl implements OseeType +{ + /** + * The default value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The default value of the '{@link #getTypeGuid() <em>Type Guid</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTypeGuid() + * @generated + * @ordered + */ + protected static final String TYPE_GUID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTypeGuid() <em>Type Guid</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTypeGuid() + * @generated + * @ordered + */ + protected String typeGuid = TYPE_GUID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected OseeTypeImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return OseeDslPackage.Literals.OSEE_TYPE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getName() + { + return name; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setName(String newName) + { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.OSEE_TYPE__NAME, oldName, name)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTypeGuid() + { + return typeGuid; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTypeGuid(String newTypeGuid) + { + String oldTypeGuid = typeGuid; + typeGuid = newTypeGuid; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.OSEE_TYPE__TYPE_GUID, oldTypeGuid, typeGuid)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case OseeDslPackage.OSEE_TYPE__NAME: + return getName(); + case OseeDslPackage.OSEE_TYPE__TYPE_GUID: + return getTypeGuid(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case OseeDslPackage.OSEE_TYPE__NAME: + setName((String)newValue); + return; + case OseeDslPackage.OSEE_TYPE__TYPE_GUID: + setTypeGuid((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case OseeDslPackage.OSEE_TYPE__NAME: + setName(NAME_EDEFAULT); + return; + case OseeDslPackage.OSEE_TYPE__TYPE_GUID: + setTypeGuid(TYPE_GUID_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case OseeDslPackage.OSEE_TYPE__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case OseeDslPackage.OSEE_TYPE__TYPE_GUID: + return TYPE_GUID_EDEFAULT == null ? typeGuid != null : !TYPE_GUID_EDEFAULT.equals(typeGuid); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (name: "); + result.append(name); + result.append(", typeGuid: "); + result.append(typeGuid); + result.append(')'); + return result.toString(); + } + +} //OseeTypeImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OverrideOptionImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OverrideOptionImpl.java index a1a507a2ee6..beb8bf2e23b 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OverrideOptionImpl.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/OverrideOptionImpl.java @@ -1,48 +1,48 @@ -/**
- * <copyright>
- * </copyright>
- *
+/** + * <copyright> + * </copyright> + * - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.OverrideOption;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Override Option</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class OverrideOptionImpl extends MinimalEObjectImpl.Container implements OverrideOption
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected OverrideOptionImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OseeDslPackage.Literals.OVERRIDE_OPTION;
- }
-
-} //OverrideOptionImpl
+ */ +package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; +import org.eclipse.osee.framework.core.dsl.oseeDsl.OverrideOption; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Override Option</b></em>'. + * <!-- end-user-doc --> + * <p> + * </p> + * + * @generated + */ +public class OverrideOptionImpl extends MinimalEObjectImpl.Container implements OverrideOption +{ + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected OverrideOptionImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return OseeDslPackage.Literals.OVERRIDE_OPTION; + } + +} //OverrideOptionImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/PermissionRuleImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/PermissionRuleImpl.java index 6c9978d2a65..7430b9d5d05 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/PermissionRuleImpl.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/PermissionRuleImpl.java @@ -1,270 +1,270 @@ -/**
- * <copyright>
- * </copyright>
- *
+/** + * <copyright> + * </copyright> + * - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.ObjectRestriction;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Permission Rule</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.PermissionRuleImpl#getPermission <em>Permission</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.PermissionRuleImpl#getObjectRestriction <em>Object Restriction</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class PermissionRuleImpl extends MinimalEObjectImpl.Container implements PermissionRule
-{
- /**
- * The default value of the '{@link #getPermission() <em>Permission</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPermission()
- * @generated
- * @ordered
- */
- protected static final AccessPermissionEnum PERMISSION_EDEFAULT = AccessPermissionEnum.ALLOW;
-
- /**
- * The cached value of the '{@link #getPermission() <em>Permission</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPermission()
- * @generated
- * @ordered
- */
- protected AccessPermissionEnum permission = PERMISSION_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getObjectRestriction() <em>Object Restriction</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getObjectRestriction()
- * @generated
- * @ordered
- */
- protected ObjectRestriction objectRestriction;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected PermissionRuleImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OseeDslPackage.Literals.PERMISSION_RULE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AccessPermissionEnum getPermission()
- {
- return permission;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setPermission(AccessPermissionEnum newPermission)
- {
- AccessPermissionEnum oldPermission = permission;
- permission = newPermission == null ? PERMISSION_EDEFAULT : newPermission;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.PERMISSION_RULE__PERMISSION, oldPermission, permission));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ObjectRestriction getObjectRestriction()
- {
- return objectRestriction;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetObjectRestriction(ObjectRestriction newObjectRestriction, NotificationChain msgs)
- {
- ObjectRestriction oldObjectRestriction = objectRestriction;
- objectRestriction = newObjectRestriction;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OseeDslPackage.PERMISSION_RULE__OBJECT_RESTRICTION, oldObjectRestriction, newObjectRestriction);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setObjectRestriction(ObjectRestriction newObjectRestriction)
- {
- if (newObjectRestriction != objectRestriction)
- {
- NotificationChain msgs = null;
- if (objectRestriction != null)
- msgs = ((InternalEObject)objectRestriction).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OseeDslPackage.PERMISSION_RULE__OBJECT_RESTRICTION, null, msgs);
- if (newObjectRestriction != null)
- msgs = ((InternalEObject)newObjectRestriction).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OseeDslPackage.PERMISSION_RULE__OBJECT_RESTRICTION, null, msgs);
- msgs = basicSetObjectRestriction(newObjectRestriction, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.PERMISSION_RULE__OBJECT_RESTRICTION, newObjectRestriction, newObjectRestriction));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case OseeDslPackage.PERMISSION_RULE__OBJECT_RESTRICTION:
- return basicSetObjectRestriction(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case OseeDslPackage.PERMISSION_RULE__PERMISSION:
- return getPermission();
- case OseeDslPackage.PERMISSION_RULE__OBJECT_RESTRICTION:
- return getObjectRestriction();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OseeDslPackage.PERMISSION_RULE__PERMISSION:
- setPermission((AccessPermissionEnum)newValue);
- return;
- case OseeDslPackage.PERMISSION_RULE__OBJECT_RESTRICTION:
- setObjectRestriction((ObjectRestriction)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.PERMISSION_RULE__PERMISSION:
- setPermission(PERMISSION_EDEFAULT);
- return;
- case OseeDslPackage.PERMISSION_RULE__OBJECT_RESTRICTION:
- setObjectRestriction((ObjectRestriction)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.PERMISSION_RULE__PERMISSION:
- return permission != PERMISSION_EDEFAULT;
- case OseeDslPackage.PERMISSION_RULE__OBJECT_RESTRICTION:
- return objectRestriction != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (permission: ");
- result.append(permission);
- result.append(')');
- return result.toString();
- }
-
-} //PermissionRuleImpl
+ */ +package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.osee.framework.core.dsl.oseeDsl.AccessPermissionEnum; +import org.eclipse.osee.framework.core.dsl.oseeDsl.ObjectRestriction; +import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; +import org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Permission Rule</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.PermissionRuleImpl#getPermission <em>Permission</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.PermissionRuleImpl#getObjectRestriction <em>Object Restriction</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class PermissionRuleImpl extends MinimalEObjectImpl.Container implements PermissionRule +{ + /** + * The default value of the '{@link #getPermission() <em>Permission</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getPermission() + * @generated + * @ordered + */ + protected static final AccessPermissionEnum PERMISSION_EDEFAULT = AccessPermissionEnum.ALLOW; + + /** + * The cached value of the '{@link #getPermission() <em>Permission</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getPermission() + * @generated + * @ordered + */ + protected AccessPermissionEnum permission = PERMISSION_EDEFAULT; + + /** + * The cached value of the '{@link #getObjectRestriction() <em>Object Restriction</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getObjectRestriction() + * @generated + * @ordered + */ + protected ObjectRestriction objectRestriction; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected PermissionRuleImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return OseeDslPackage.Literals.PERMISSION_RULE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AccessPermissionEnum getPermission() + { + return permission; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setPermission(AccessPermissionEnum newPermission) + { + AccessPermissionEnum oldPermission = permission; + permission = newPermission == null ? PERMISSION_EDEFAULT : newPermission; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.PERMISSION_RULE__PERMISSION, oldPermission, permission)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ObjectRestriction getObjectRestriction() + { + return objectRestriction; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetObjectRestriction(ObjectRestriction newObjectRestriction, NotificationChain msgs) + { + ObjectRestriction oldObjectRestriction = objectRestriction; + objectRestriction = newObjectRestriction; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OseeDslPackage.PERMISSION_RULE__OBJECT_RESTRICTION, oldObjectRestriction, newObjectRestriction); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setObjectRestriction(ObjectRestriction newObjectRestriction) + { + if (newObjectRestriction != objectRestriction) + { + NotificationChain msgs = null; + if (objectRestriction != null) + msgs = ((InternalEObject)objectRestriction).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OseeDslPackage.PERMISSION_RULE__OBJECT_RESTRICTION, null, msgs); + if (newObjectRestriction != null) + msgs = ((InternalEObject)newObjectRestriction).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OseeDslPackage.PERMISSION_RULE__OBJECT_RESTRICTION, null, msgs); + msgs = basicSetObjectRestriction(newObjectRestriction, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.PERMISSION_RULE__OBJECT_RESTRICTION, newObjectRestriction, newObjectRestriction)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case OseeDslPackage.PERMISSION_RULE__OBJECT_RESTRICTION: + return basicSetObjectRestriction(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case OseeDslPackage.PERMISSION_RULE__PERMISSION: + return getPermission(); + case OseeDslPackage.PERMISSION_RULE__OBJECT_RESTRICTION: + return getObjectRestriction(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case OseeDslPackage.PERMISSION_RULE__PERMISSION: + setPermission((AccessPermissionEnum)newValue); + return; + case OseeDslPackage.PERMISSION_RULE__OBJECT_RESTRICTION: + setObjectRestriction((ObjectRestriction)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case OseeDslPackage.PERMISSION_RULE__PERMISSION: + setPermission(PERMISSION_EDEFAULT); + return; + case OseeDslPackage.PERMISSION_RULE__OBJECT_RESTRICTION: + setObjectRestriction((ObjectRestriction)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case OseeDslPackage.PERMISSION_RULE__PERMISSION: + return permission != PERMISSION_EDEFAULT; + case OseeDslPackage.PERMISSION_RULE__OBJECT_RESTRICTION: + return objectRestriction != null; + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (permission: "); + result.append(permission); + result.append(')'); + return result.toString(); + } + +} //PermissionRuleImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/RelationTypeRestrictionImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/RelationTypeRestrictionImpl.java index 1b6e58a542f..16eb8efe527 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/RelationTypeRestrictionImpl.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/RelationTypeRestrictionImpl.java @@ -1,237 +1,237 @@ -/**
- * <copyright>
- * </copyright>
- *
- - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.emf.ecore.util.EDataTypeEList;
-
-import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeSideRestriction;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Relation Type Restriction</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypeRestrictionImpl#getRelationType <em>Relation Type</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypeRestrictionImpl#getRestrictedTo <em>Restricted To</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class RelationTypeRestrictionImpl extends ObjectRestrictionImpl implements RelationTypeRestriction
-{
- /**
- * The cached value of the '{@link #getRelationType() <em>Relation Type</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getRelationType()
- * @generated
- * @ordered
- */
- protected XRelationType relationType;
-
- /**
- * The cached value of the '{@link #getRestrictedTo() <em>Restricted To</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getRestrictedTo()
- * @generated
- * @ordered
- */
- protected EList<RelationTypeSideRestriction> restrictedTo;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected RelationTypeRestrictionImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OseeDslPackage.Literals.RELATION_TYPE_RESTRICTION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XRelationType getRelationType()
- {
- if (relationType != null && relationType.eIsProxy())
- {
- InternalEObject oldRelationType = (InternalEObject)relationType;
- relationType = (XRelationType)eResolveProxy(oldRelationType);
- if (relationType != oldRelationType)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.RELATION_TYPE_RESTRICTION__RELATION_TYPE, oldRelationType, relationType));
- }
- }
- return relationType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XRelationType basicGetRelationType()
- {
- return relationType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setRelationType(XRelationType newRelationType)
- {
- XRelationType oldRelationType = relationType;
- relationType = newRelationType;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.RELATION_TYPE_RESTRICTION__RELATION_TYPE, oldRelationType, relationType));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<RelationTypeSideRestriction> getRestrictedTo()
- {
- if (restrictedTo == null)
- {
- restrictedTo = new EDataTypeEList<RelationTypeSideRestriction>(RelationTypeSideRestriction.class, this, OseeDslPackage.RELATION_TYPE_RESTRICTION__RESTRICTED_TO);
- }
- return restrictedTo;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case OseeDslPackage.RELATION_TYPE_RESTRICTION__RELATION_TYPE:
- if (resolve) return getRelationType();
- return basicGetRelationType();
- case OseeDslPackage.RELATION_TYPE_RESTRICTION__RESTRICTED_TO:
- return getRestrictedTo();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OseeDslPackage.RELATION_TYPE_RESTRICTION__RELATION_TYPE:
- setRelationType((XRelationType)newValue);
- return;
- case OseeDslPackage.RELATION_TYPE_RESTRICTION__RESTRICTED_TO:
- getRestrictedTo().clear();
- getRestrictedTo().addAll((Collection<? extends RelationTypeSideRestriction>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.RELATION_TYPE_RESTRICTION__RELATION_TYPE:
- setRelationType((XRelationType)null);
- return;
- case OseeDslPackage.RELATION_TYPE_RESTRICTION__RESTRICTED_TO:
- getRestrictedTo().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.RELATION_TYPE_RESTRICTION__RELATION_TYPE:
- return relationType != null;
- case OseeDslPackage.RELATION_TYPE_RESTRICTION__RESTRICTED_TO:
- return restrictedTo != null && !restrictedTo.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (restrictedTo: ");
- result.append(restrictedTo);
- result.append(')');
- return result.toString();
- }
-
-} //RelationTypeRestrictionImpl
+/** + * <copyright> + * </copyright> + * + + */ +package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.emf.ecore.util.EDataTypeEList; + +import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; +import org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction; +import org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeSideRestriction; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Relation Type Restriction</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypeRestrictionImpl#getRelationType <em>Relation Type</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypeRestrictionImpl#getRestrictedTo <em>Restricted To</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class RelationTypeRestrictionImpl extends ObjectRestrictionImpl implements RelationTypeRestriction +{ + /** + * The cached value of the '{@link #getRelationType() <em>Relation Type</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getRelationType() + * @generated + * @ordered + */ + protected XRelationType relationType; + + /** + * The cached value of the '{@link #getRestrictedTo() <em>Restricted To</em>}' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getRestrictedTo() + * @generated + * @ordered + */ + protected EList<RelationTypeSideRestriction> restrictedTo; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected RelationTypeRestrictionImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return OseeDslPackage.Literals.RELATION_TYPE_RESTRICTION; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XRelationType getRelationType() + { + if (relationType != null && relationType.eIsProxy()) + { + InternalEObject oldRelationType = (InternalEObject)relationType; + relationType = (XRelationType)eResolveProxy(oldRelationType); + if (relationType != oldRelationType) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.RELATION_TYPE_RESTRICTION__RELATION_TYPE, oldRelationType, relationType)); + } + } + return relationType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XRelationType basicGetRelationType() + { + return relationType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setRelationType(XRelationType newRelationType) + { + XRelationType oldRelationType = relationType; + relationType = newRelationType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.RELATION_TYPE_RESTRICTION__RELATION_TYPE, oldRelationType, relationType)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<RelationTypeSideRestriction> getRestrictedTo() + { + if (restrictedTo == null) + { + restrictedTo = new EDataTypeEList<RelationTypeSideRestriction>(RelationTypeSideRestriction.class, this, OseeDslPackage.RELATION_TYPE_RESTRICTION__RESTRICTED_TO); + } + return restrictedTo; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case OseeDslPackage.RELATION_TYPE_RESTRICTION__RELATION_TYPE: + if (resolve) return getRelationType(); + return basicGetRelationType(); + case OseeDslPackage.RELATION_TYPE_RESTRICTION__RESTRICTED_TO: + return getRestrictedTo(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case OseeDslPackage.RELATION_TYPE_RESTRICTION__RELATION_TYPE: + setRelationType((XRelationType)newValue); + return; + case OseeDslPackage.RELATION_TYPE_RESTRICTION__RESTRICTED_TO: + getRestrictedTo().clear(); + getRestrictedTo().addAll((Collection<? extends RelationTypeSideRestriction>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case OseeDslPackage.RELATION_TYPE_RESTRICTION__RELATION_TYPE: + setRelationType((XRelationType)null); + return; + case OseeDslPackage.RELATION_TYPE_RESTRICTION__RESTRICTED_TO: + getRestrictedTo().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case OseeDslPackage.RELATION_TYPE_RESTRICTION__RELATION_TYPE: + return relationType != null; + case OseeDslPackage.RELATION_TYPE_RESTRICTION__RESTRICTED_TO: + return restrictedTo != null && !restrictedTo.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (restrictedTo: "); + result.append(restrictedTo); + result.append(')'); + return result.toString(); + } + +} //RelationTypeRestrictionImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/RemoveEnumImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/RemoveEnumImpl.java index c4b623c2549..cd4fba33204 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/RemoveEnumImpl.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/RemoveEnumImpl.java @@ -1,176 +1,176 @@ -/**
- * <copyright>
- * </copyright>
- *
- - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Remove Enum</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RemoveEnumImpl#getEnumEntry <em>Enum Entry</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class RemoveEnumImpl extends OverrideOptionImpl implements RemoveEnum
-{
- /**
- * The cached value of the '{@link #getEnumEntry() <em>Enum Entry</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEnumEntry()
- * @generated
- * @ordered
- */
- protected XOseeEnumEntry enumEntry;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected RemoveEnumImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OseeDslPackage.Literals.REMOVE_ENUM;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XOseeEnumEntry getEnumEntry()
- {
- if (enumEntry != null && enumEntry.eIsProxy())
- {
- InternalEObject oldEnumEntry = (InternalEObject)enumEntry;
- enumEntry = (XOseeEnumEntry)eResolveProxy(oldEnumEntry);
- if (enumEntry != oldEnumEntry)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.REMOVE_ENUM__ENUM_ENTRY, oldEnumEntry, enumEntry));
- }
- }
- return enumEntry;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XOseeEnumEntry basicGetEnumEntry()
- {
- return enumEntry;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setEnumEntry(XOseeEnumEntry newEnumEntry)
- {
- XOseeEnumEntry oldEnumEntry = enumEntry;
- enumEntry = newEnumEntry;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.REMOVE_ENUM__ENUM_ENTRY, oldEnumEntry, enumEntry));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case OseeDslPackage.REMOVE_ENUM__ENUM_ENTRY:
- if (resolve) return getEnumEntry();
- return basicGetEnumEntry();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OseeDslPackage.REMOVE_ENUM__ENUM_ENTRY:
- setEnumEntry((XOseeEnumEntry)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.REMOVE_ENUM__ENUM_ENTRY:
- setEnumEntry((XOseeEnumEntry)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.REMOVE_ENUM__ENUM_ENTRY:
- return enumEntry != null;
- }
- return super.eIsSet(featureID);
- }
-
-} //RemoveEnumImpl
+/** + * <copyright> + * </copyright> + * + + */ +package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; +import org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Remove Enum</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RemoveEnumImpl#getEnumEntry <em>Enum Entry</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class RemoveEnumImpl extends OverrideOptionImpl implements RemoveEnum +{ + /** + * The cached value of the '{@link #getEnumEntry() <em>Enum Entry</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getEnumEntry() + * @generated + * @ordered + */ + protected XOseeEnumEntry enumEntry; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected RemoveEnumImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return OseeDslPackage.Literals.REMOVE_ENUM; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XOseeEnumEntry getEnumEntry() + { + if (enumEntry != null && enumEntry.eIsProxy()) + { + InternalEObject oldEnumEntry = (InternalEObject)enumEntry; + enumEntry = (XOseeEnumEntry)eResolveProxy(oldEnumEntry); + if (enumEntry != oldEnumEntry) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.REMOVE_ENUM__ENUM_ENTRY, oldEnumEntry, enumEntry)); + } + } + return enumEntry; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XOseeEnumEntry basicGetEnumEntry() + { + return enumEntry; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setEnumEntry(XOseeEnumEntry newEnumEntry) + { + XOseeEnumEntry oldEnumEntry = enumEntry; + enumEntry = newEnumEntry; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.REMOVE_ENUM__ENUM_ENTRY, oldEnumEntry, enumEntry)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case OseeDslPackage.REMOVE_ENUM__ENUM_ENTRY: + if (resolve) return getEnumEntry(); + return basicGetEnumEntry(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case OseeDslPackage.REMOVE_ENUM__ENUM_ENTRY: + setEnumEntry((XOseeEnumEntry)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case OseeDslPackage.REMOVE_ENUM__ENUM_ENTRY: + setEnumEntry((XOseeEnumEntry)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case OseeDslPackage.REMOVE_ENUM__ENUM_ENTRY: + return enumEntry != null; + } + return super.eIsSet(featureID); + } + +} //RemoveEnumImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XArtifactRefImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XArtifactRefImpl.java index 84a15da97ff..b4061afbf19 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XArtifactRefImpl.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XArtifactRefImpl.java @@ -1,237 +1,237 @@ -/**
- * <copyright>
- * </copyright>
- *
- - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>XArtifact Ref</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactRefImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactRefImpl#getGuid <em>Guid</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class XArtifactRefImpl extends MinimalEObjectImpl.Container implements XArtifactRef
-{
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #getGuid() <em>Guid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getGuid()
- * @generated
- * @ordered
- */
- protected static final String GUID_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getGuid() <em>Guid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getGuid()
- * @generated
- * @ordered
- */
- protected String guid = GUID_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected XArtifactRefImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OseeDslPackage.Literals.XARTIFACT_REF;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName()
- {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName)
- {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XARTIFACT_REF__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getGuid()
- {
- return guid;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setGuid(String newGuid)
- {
- String oldGuid = guid;
- guid = newGuid;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XARTIFACT_REF__GUID, oldGuid, guid));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case OseeDslPackage.XARTIFACT_REF__NAME:
- return getName();
- case OseeDslPackage.XARTIFACT_REF__GUID:
- return getGuid();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OseeDslPackage.XARTIFACT_REF__NAME:
- setName((String)newValue);
- return;
- case OseeDslPackage.XARTIFACT_REF__GUID:
- setGuid((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.XARTIFACT_REF__NAME:
- setName(NAME_EDEFAULT);
- return;
- case OseeDslPackage.XARTIFACT_REF__GUID:
- setGuid(GUID_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.XARTIFACT_REF__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case OseeDslPackage.XARTIFACT_REF__GUID:
- return GUID_EDEFAULT == null ? guid != null : !GUID_EDEFAULT.equals(guid);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (name: ");
- result.append(name);
- result.append(", guid: ");
- result.append(guid);
- result.append(')');
- return result.toString();
- }
-
-} //XArtifactRefImpl
+/** + * <copyright> + * </copyright> + * + + */ +package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>XArtifact Ref</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactRefImpl#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactRefImpl#getGuid <em>Guid</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class XArtifactRefImpl extends MinimalEObjectImpl.Container implements XArtifactRef +{ + /** + * The default value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The default value of the '{@link #getGuid() <em>Guid</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getGuid() + * @generated + * @ordered + */ + protected static final String GUID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getGuid() <em>Guid</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getGuid() + * @generated + * @ordered + */ + protected String guid = GUID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected XArtifactRefImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return OseeDslPackage.Literals.XARTIFACT_REF; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getName() + { + return name; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setName(String newName) + { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XARTIFACT_REF__NAME, oldName, name)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getGuid() + { + return guid; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setGuid(String newGuid) + { + String oldGuid = guid; + guid = newGuid; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XARTIFACT_REF__GUID, oldGuid, guid)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case OseeDslPackage.XARTIFACT_REF__NAME: + return getName(); + case OseeDslPackage.XARTIFACT_REF__GUID: + return getGuid(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case OseeDslPackage.XARTIFACT_REF__NAME: + setName((String)newValue); + return; + case OseeDslPackage.XARTIFACT_REF__GUID: + setGuid((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case OseeDslPackage.XARTIFACT_REF__NAME: + setName(NAME_EDEFAULT); + return; + case OseeDslPackage.XARTIFACT_REF__GUID: + setGuid(GUID_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case OseeDslPackage.XARTIFACT_REF__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case OseeDslPackage.XARTIFACT_REF__GUID: + return GUID_EDEFAULT == null ? guid != null : !GUID_EDEFAULT.equals(guid); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (name: "); + result.append(name); + result.append(", guid: "); + result.append(guid); + result.append(')'); + return result.toString(); + } + +} //XArtifactRefImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XArtifactTypeImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XArtifactTypeImpl.java index 283b728bf7e..e07e2b6a813 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XArtifactTypeImpl.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XArtifactTypeImpl.java @@ -1,280 +1,280 @@ -/**
- * <copyright>
- * </copyright>
- *
+/** + * <copyright> + * </copyright> + * - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.EObjectResolvingEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>XArtifact Type</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactTypeImpl#isAbstract <em>Abstract</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactTypeImpl#getSuperArtifactTypes <em>Super Artifact Types</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactTypeImpl#getValidAttributeTypes <em>Valid Attribute Types</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class XArtifactTypeImpl extends OseeTypeImpl implements XArtifactType
-{
- /**
- * The default value of the '{@link #isAbstract() <em>Abstract</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isAbstract()
- * @generated
- * @ordered
- */
- protected static final boolean ABSTRACT_EDEFAULT = false;
-
- /**
- * The cached value of the '{@link #isAbstract() <em>Abstract</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isAbstract()
- * @generated
- * @ordered
- */
- protected boolean abstract_ = ABSTRACT_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getSuperArtifactTypes() <em>Super Artifact Types</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSuperArtifactTypes()
- * @generated
- * @ordered
- */
- protected EList<XArtifactType> superArtifactTypes;
-
- /**
- * The cached value of the '{@link #getValidAttributeTypes() <em>Valid Attribute Types</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getValidAttributeTypes()
- * @generated
- * @ordered
- */
- protected EList<XAttributeTypeRef> validAttributeTypes;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected XArtifactTypeImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OseeDslPackage.Literals.XARTIFACT_TYPE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isAbstract()
- {
- return abstract_;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setAbstract(boolean newAbstract)
- {
- boolean oldAbstract = abstract_;
- abstract_ = newAbstract;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XARTIFACT_TYPE__ABSTRACT, oldAbstract, abstract_));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<XArtifactType> getSuperArtifactTypes()
- {
- if (superArtifactTypes == null)
- {
- superArtifactTypes = new EObjectResolvingEList<XArtifactType>(XArtifactType.class, this, OseeDslPackage.XARTIFACT_TYPE__SUPER_ARTIFACT_TYPES);
- }
- return superArtifactTypes;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<XAttributeTypeRef> getValidAttributeTypes()
- {
- if (validAttributeTypes == null)
- {
- validAttributeTypes = new EObjectContainmentEList<XAttributeTypeRef>(XAttributeTypeRef.class, this, OseeDslPackage.XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES);
- }
- return validAttributeTypes;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case OseeDslPackage.XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES:
- return ((InternalEList<?>)getValidAttributeTypes()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case OseeDslPackage.XARTIFACT_TYPE__ABSTRACT:
- return isAbstract();
- case OseeDslPackage.XARTIFACT_TYPE__SUPER_ARTIFACT_TYPES:
- return getSuperArtifactTypes();
- case OseeDslPackage.XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES:
- return getValidAttributeTypes();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OseeDslPackage.XARTIFACT_TYPE__ABSTRACT:
- setAbstract((Boolean)newValue);
- return;
- case OseeDslPackage.XARTIFACT_TYPE__SUPER_ARTIFACT_TYPES:
- getSuperArtifactTypes().clear();
- getSuperArtifactTypes().addAll((Collection<? extends XArtifactType>)newValue);
- return;
- case OseeDslPackage.XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES:
- getValidAttributeTypes().clear();
- getValidAttributeTypes().addAll((Collection<? extends XAttributeTypeRef>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.XARTIFACT_TYPE__ABSTRACT:
- setAbstract(ABSTRACT_EDEFAULT);
- return;
- case OseeDslPackage.XARTIFACT_TYPE__SUPER_ARTIFACT_TYPES:
- getSuperArtifactTypes().clear();
- return;
- case OseeDslPackage.XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES:
- getValidAttributeTypes().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.XARTIFACT_TYPE__ABSTRACT:
- return abstract_ != ABSTRACT_EDEFAULT;
- case OseeDslPackage.XARTIFACT_TYPE__SUPER_ARTIFACT_TYPES:
- return superArtifactTypes != null && !superArtifactTypes.isEmpty();
- case OseeDslPackage.XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES:
- return validAttributeTypes != null && !validAttributeTypes.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (abstract: ");
- result.append(abstract_);
- result.append(')');
- return result.toString();
- }
-
-} //XArtifactTypeImpl
+ */ +package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.EObjectResolvingEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>XArtifact Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactTypeImpl#isAbstract <em>Abstract</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactTypeImpl#getSuperArtifactTypes <em>Super Artifact Types</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XArtifactTypeImpl#getValidAttributeTypes <em>Valid Attribute Types</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class XArtifactTypeImpl extends OseeTypeImpl implements XArtifactType +{ + /** + * The default value of the '{@link #isAbstract() <em>Abstract</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isAbstract() + * @generated + * @ordered + */ + protected static final boolean ABSTRACT_EDEFAULT = false; + + /** + * The cached value of the '{@link #isAbstract() <em>Abstract</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isAbstract() + * @generated + * @ordered + */ + protected boolean abstract_ = ABSTRACT_EDEFAULT; + + /** + * The cached value of the '{@link #getSuperArtifactTypes() <em>Super Artifact Types</em>}' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getSuperArtifactTypes() + * @generated + * @ordered + */ + protected EList<XArtifactType> superArtifactTypes; + + /** + * The cached value of the '{@link #getValidAttributeTypes() <em>Valid Attribute Types</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getValidAttributeTypes() + * @generated + * @ordered + */ + protected EList<XAttributeTypeRef> validAttributeTypes; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected XArtifactTypeImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return OseeDslPackage.Literals.XARTIFACT_TYPE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isAbstract() + { + return abstract_; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setAbstract(boolean newAbstract) + { + boolean oldAbstract = abstract_; + abstract_ = newAbstract; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XARTIFACT_TYPE__ABSTRACT, oldAbstract, abstract_)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<XArtifactType> getSuperArtifactTypes() + { + if (superArtifactTypes == null) + { + superArtifactTypes = new EObjectResolvingEList<XArtifactType>(XArtifactType.class, this, OseeDslPackage.XARTIFACT_TYPE__SUPER_ARTIFACT_TYPES); + } + return superArtifactTypes; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<XAttributeTypeRef> getValidAttributeTypes() + { + if (validAttributeTypes == null) + { + validAttributeTypes = new EObjectContainmentEList<XAttributeTypeRef>(XAttributeTypeRef.class, this, OseeDslPackage.XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES); + } + return validAttributeTypes; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case OseeDslPackage.XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES: + return ((InternalEList<?>)getValidAttributeTypes()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case OseeDslPackage.XARTIFACT_TYPE__ABSTRACT: + return isAbstract(); + case OseeDslPackage.XARTIFACT_TYPE__SUPER_ARTIFACT_TYPES: + return getSuperArtifactTypes(); + case OseeDslPackage.XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES: + return getValidAttributeTypes(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case OseeDslPackage.XARTIFACT_TYPE__ABSTRACT: + setAbstract((Boolean)newValue); + return; + case OseeDslPackage.XARTIFACT_TYPE__SUPER_ARTIFACT_TYPES: + getSuperArtifactTypes().clear(); + getSuperArtifactTypes().addAll((Collection<? extends XArtifactType>)newValue); + return; + case OseeDslPackage.XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES: + getValidAttributeTypes().clear(); + getValidAttributeTypes().addAll((Collection<? extends XAttributeTypeRef>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case OseeDslPackage.XARTIFACT_TYPE__ABSTRACT: + setAbstract(ABSTRACT_EDEFAULT); + return; + case OseeDslPackage.XARTIFACT_TYPE__SUPER_ARTIFACT_TYPES: + getSuperArtifactTypes().clear(); + return; + case OseeDslPackage.XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES: + getValidAttributeTypes().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case OseeDslPackage.XARTIFACT_TYPE__ABSTRACT: + return abstract_ != ABSTRACT_EDEFAULT; + case OseeDslPackage.XARTIFACT_TYPE__SUPER_ARTIFACT_TYPES: + return superArtifactTypes != null && !superArtifactTypes.isEmpty(); + case OseeDslPackage.XARTIFACT_TYPE__VALID_ATTRIBUTE_TYPES: + return validAttributeTypes != null && !validAttributeTypes.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (abstract: "); + result.append(abstract_); + result.append(')'); + return result.toString(); + } + +} //XArtifactTypeImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XAttributeTypeImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XAttributeTypeImpl.java index a7b9494fda5..f0cd91eb0c4 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XAttributeTypeImpl.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XAttributeTypeImpl.java @@ -1,704 +1,704 @@ -/**
- * <copyright>
- * </copyright>
- *
- - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>XAttribute Type</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl#getBaseAttributeType <em>Base Attribute Type</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl#getOverride <em>Override</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl#getDataProvider <em>Data Provider</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl#getMin <em>Min</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl#getMax <em>Max</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl#getTaggerId <em>Tagger Id</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl#getEnumType <em>Enum Type</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl#getDescription <em>Description</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl#getDefaultValue <em>Default Value</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl#getFileExtension <em>File Extension</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class XAttributeTypeImpl extends OseeTypeImpl implements XAttributeType
-{
- /**
- * The default value of the '{@link #getBaseAttributeType() <em>Base Attribute Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getBaseAttributeType()
- * @generated
- * @ordered
- */
- protected static final String BASE_ATTRIBUTE_TYPE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getBaseAttributeType() <em>Base Attribute Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getBaseAttributeType()
- * @generated
- * @ordered
- */
- protected String baseAttributeType = BASE_ATTRIBUTE_TYPE_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getOverride() <em>Override</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getOverride()
- * @generated
- * @ordered
- */
- protected XAttributeType override;
-
- /**
- * The default value of the '{@link #getDataProvider() <em>Data Provider</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDataProvider()
- * @generated
- * @ordered
- */
- protected static final String DATA_PROVIDER_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDataProvider() <em>Data Provider</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDataProvider()
- * @generated
- * @ordered
- */
- protected String dataProvider = DATA_PROVIDER_EDEFAULT;
-
- /**
- * The default value of the '{@link #getMin() <em>Min</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMin()
- * @generated
- * @ordered
- */
- protected static final String MIN_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getMin() <em>Min</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMin()
- * @generated
- * @ordered
- */
- protected String min = MIN_EDEFAULT;
-
- /**
- * The default value of the '{@link #getMax() <em>Max</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMax()
- * @generated
- * @ordered
- */
- protected static final String MAX_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getMax() <em>Max</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMax()
- * @generated
- * @ordered
- */
- protected String max = MAX_EDEFAULT;
-
- /**
- * The default value of the '{@link #getTaggerId() <em>Tagger Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTaggerId()
- * @generated
- * @ordered
- */
- protected static final String TAGGER_ID_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getTaggerId() <em>Tagger Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTaggerId()
- * @generated
- * @ordered
- */
- protected String taggerId = TAGGER_ID_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getEnumType() <em>Enum Type</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEnumType()
- * @generated
- * @ordered
- */
- protected XOseeEnumType enumType;
-
- /**
- * The default value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected static final String DESCRIPTION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected String description = DESCRIPTION_EDEFAULT;
-
- /**
- * The default value of the '{@link #getDefaultValue() <em>Default Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDefaultValue()
- * @generated
- * @ordered
- */
- protected static final String DEFAULT_VALUE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDefaultValue() <em>Default Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDefaultValue()
- * @generated
- * @ordered
- */
- protected String defaultValue = DEFAULT_VALUE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getFileExtension() <em>File Extension</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getFileExtension()
- * @generated
- * @ordered
- */
- protected static final String FILE_EXTENSION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getFileExtension() <em>File Extension</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getFileExtension()
- * @generated
- * @ordered
- */
- protected String fileExtension = FILE_EXTENSION_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected XAttributeTypeImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OseeDslPackage.Literals.XATTRIBUTE_TYPE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getBaseAttributeType()
- {
- return baseAttributeType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setBaseAttributeType(String newBaseAttributeType)
- {
- String oldBaseAttributeType = baseAttributeType;
- baseAttributeType = newBaseAttributeType;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__BASE_ATTRIBUTE_TYPE, oldBaseAttributeType, baseAttributeType));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XAttributeType getOverride()
- {
- if (override != null && override.eIsProxy())
- {
- InternalEObject oldOverride = (InternalEObject)override;
- override = (XAttributeType)eResolveProxy(oldOverride);
- if (override != oldOverride)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.XATTRIBUTE_TYPE__OVERRIDE, oldOverride, override));
- }
- }
- return override;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XAttributeType basicGetOverride()
- {
- return override;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setOverride(XAttributeType newOverride)
- {
- XAttributeType oldOverride = override;
- override = newOverride;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__OVERRIDE, oldOverride, override));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getDataProvider()
- {
- return dataProvider;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDataProvider(String newDataProvider)
- {
- String oldDataProvider = dataProvider;
- dataProvider = newDataProvider;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__DATA_PROVIDER, oldDataProvider, dataProvider));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getMin()
- {
- return min;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setMin(String newMin)
- {
- String oldMin = min;
- min = newMin;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__MIN, oldMin, min));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getMax()
- {
- return max;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setMax(String newMax)
- {
- String oldMax = max;
- max = newMax;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__MAX, oldMax, max));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getTaggerId()
- {
- return taggerId;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTaggerId(String newTaggerId)
- {
- String oldTaggerId = taggerId;
- taggerId = newTaggerId;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__TAGGER_ID, oldTaggerId, taggerId));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XOseeEnumType getEnumType()
- {
- if (enumType != null && enumType.eIsProxy())
- {
- InternalEObject oldEnumType = (InternalEObject)enumType;
- enumType = (XOseeEnumType)eResolveProxy(oldEnumType);
- if (enumType != oldEnumType)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.XATTRIBUTE_TYPE__ENUM_TYPE, oldEnumType, enumType));
- }
- }
- return enumType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XOseeEnumType basicGetEnumType()
- {
- return enumType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setEnumType(XOseeEnumType newEnumType)
- {
- XOseeEnumType oldEnumType = enumType;
- enumType = newEnumType;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__ENUM_TYPE, oldEnumType, enumType));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getDescription()
- {
- return description;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDescription(String newDescription)
- {
- String oldDescription = description;
- description = newDescription;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__DESCRIPTION, oldDescription, description));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getDefaultValue()
- {
- return defaultValue;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDefaultValue(String newDefaultValue)
- {
- String oldDefaultValue = defaultValue;
- defaultValue = newDefaultValue;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__DEFAULT_VALUE, oldDefaultValue, defaultValue));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getFileExtension()
- {
- return fileExtension;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setFileExtension(String newFileExtension)
- {
- String oldFileExtension = fileExtension;
- fileExtension = newFileExtension;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__FILE_EXTENSION, oldFileExtension, fileExtension));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case OseeDslPackage.XATTRIBUTE_TYPE__BASE_ATTRIBUTE_TYPE:
- return getBaseAttributeType();
- case OseeDslPackage.XATTRIBUTE_TYPE__OVERRIDE:
- if (resolve) return getOverride();
- return basicGetOverride();
- case OseeDslPackage.XATTRIBUTE_TYPE__DATA_PROVIDER:
- return getDataProvider();
- case OseeDslPackage.XATTRIBUTE_TYPE__MIN:
- return getMin();
- case OseeDslPackage.XATTRIBUTE_TYPE__MAX:
- return getMax();
- case OseeDslPackage.XATTRIBUTE_TYPE__TAGGER_ID:
- return getTaggerId();
- case OseeDslPackage.XATTRIBUTE_TYPE__ENUM_TYPE:
- if (resolve) return getEnumType();
- return basicGetEnumType();
- case OseeDslPackage.XATTRIBUTE_TYPE__DESCRIPTION:
- return getDescription();
- case OseeDslPackage.XATTRIBUTE_TYPE__DEFAULT_VALUE:
- return getDefaultValue();
- case OseeDslPackage.XATTRIBUTE_TYPE__FILE_EXTENSION:
- return getFileExtension();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OseeDslPackage.XATTRIBUTE_TYPE__BASE_ATTRIBUTE_TYPE:
- setBaseAttributeType((String)newValue);
- return;
- case OseeDslPackage.XATTRIBUTE_TYPE__OVERRIDE:
- setOverride((XAttributeType)newValue);
- return;
- case OseeDslPackage.XATTRIBUTE_TYPE__DATA_PROVIDER:
- setDataProvider((String)newValue);
- return;
- case OseeDslPackage.XATTRIBUTE_TYPE__MIN:
- setMin((String)newValue);
- return;
- case OseeDslPackage.XATTRIBUTE_TYPE__MAX:
- setMax((String)newValue);
- return;
- case OseeDslPackage.XATTRIBUTE_TYPE__TAGGER_ID:
- setTaggerId((String)newValue);
- return;
- case OseeDslPackage.XATTRIBUTE_TYPE__ENUM_TYPE:
- setEnumType((XOseeEnumType)newValue);
- return;
- case OseeDslPackage.XATTRIBUTE_TYPE__DESCRIPTION:
- setDescription((String)newValue);
- return;
- case OseeDslPackage.XATTRIBUTE_TYPE__DEFAULT_VALUE:
- setDefaultValue((String)newValue);
- return;
- case OseeDslPackage.XATTRIBUTE_TYPE__FILE_EXTENSION:
- setFileExtension((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.XATTRIBUTE_TYPE__BASE_ATTRIBUTE_TYPE:
- setBaseAttributeType(BASE_ATTRIBUTE_TYPE_EDEFAULT);
- return;
- case OseeDslPackage.XATTRIBUTE_TYPE__OVERRIDE:
- setOverride((XAttributeType)null);
- return;
- case OseeDslPackage.XATTRIBUTE_TYPE__DATA_PROVIDER:
- setDataProvider(DATA_PROVIDER_EDEFAULT);
- return;
- case OseeDslPackage.XATTRIBUTE_TYPE__MIN:
- setMin(MIN_EDEFAULT);
- return;
- case OseeDslPackage.XATTRIBUTE_TYPE__MAX:
- setMax(MAX_EDEFAULT);
- return;
- case OseeDslPackage.XATTRIBUTE_TYPE__TAGGER_ID:
- setTaggerId(TAGGER_ID_EDEFAULT);
- return;
- case OseeDslPackage.XATTRIBUTE_TYPE__ENUM_TYPE:
- setEnumType((XOseeEnumType)null);
- return;
- case OseeDslPackage.XATTRIBUTE_TYPE__DESCRIPTION:
- setDescription(DESCRIPTION_EDEFAULT);
- return;
- case OseeDslPackage.XATTRIBUTE_TYPE__DEFAULT_VALUE:
- setDefaultValue(DEFAULT_VALUE_EDEFAULT);
- return;
- case OseeDslPackage.XATTRIBUTE_TYPE__FILE_EXTENSION:
- setFileExtension(FILE_EXTENSION_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.XATTRIBUTE_TYPE__BASE_ATTRIBUTE_TYPE:
- return BASE_ATTRIBUTE_TYPE_EDEFAULT == null ? baseAttributeType != null : !BASE_ATTRIBUTE_TYPE_EDEFAULT.equals(baseAttributeType);
- case OseeDslPackage.XATTRIBUTE_TYPE__OVERRIDE:
- return override != null;
- case OseeDslPackage.XATTRIBUTE_TYPE__DATA_PROVIDER:
- return DATA_PROVIDER_EDEFAULT == null ? dataProvider != null : !DATA_PROVIDER_EDEFAULT.equals(dataProvider);
- case OseeDslPackage.XATTRIBUTE_TYPE__MIN:
- return MIN_EDEFAULT == null ? min != null : !MIN_EDEFAULT.equals(min);
- case OseeDslPackage.XATTRIBUTE_TYPE__MAX:
- return MAX_EDEFAULT == null ? max != null : !MAX_EDEFAULT.equals(max);
- case OseeDslPackage.XATTRIBUTE_TYPE__TAGGER_ID:
- return TAGGER_ID_EDEFAULT == null ? taggerId != null : !TAGGER_ID_EDEFAULT.equals(taggerId);
- case OseeDslPackage.XATTRIBUTE_TYPE__ENUM_TYPE:
- return enumType != null;
- case OseeDslPackage.XATTRIBUTE_TYPE__DESCRIPTION:
- return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description);
- case OseeDslPackage.XATTRIBUTE_TYPE__DEFAULT_VALUE:
- return DEFAULT_VALUE_EDEFAULT == null ? defaultValue != null : !DEFAULT_VALUE_EDEFAULT.equals(defaultValue);
- case OseeDslPackage.XATTRIBUTE_TYPE__FILE_EXTENSION:
- return FILE_EXTENSION_EDEFAULT == null ? fileExtension != null : !FILE_EXTENSION_EDEFAULT.equals(fileExtension);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (baseAttributeType: ");
- result.append(baseAttributeType);
- result.append(", dataProvider: ");
- result.append(dataProvider);
- result.append(", min: ");
- result.append(min);
- result.append(", max: ");
- result.append(max);
- result.append(", taggerId: ");
- result.append(taggerId);
- result.append(", description: ");
- result.append(description);
- result.append(", defaultValue: ");
- result.append(defaultValue);
- result.append(", fileExtension: ");
- result.append(fileExtension);
- result.append(')');
- return result.toString();
- }
-
-} //XAttributeTypeImpl
+/** + * <copyright> + * </copyright> + * + + */ +package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>XAttribute Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl#getBaseAttributeType <em>Base Attribute Type</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl#getOverride <em>Override</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl#getDataProvider <em>Data Provider</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl#getMin <em>Min</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl#getMax <em>Max</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl#getTaggerId <em>Tagger Id</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl#getEnumType <em>Enum Type</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl#getDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl#getDefaultValue <em>Default Value</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeImpl#getFileExtension <em>File Extension</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class XAttributeTypeImpl extends OseeTypeImpl implements XAttributeType +{ + /** + * The default value of the '{@link #getBaseAttributeType() <em>Base Attribute Type</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBaseAttributeType() + * @generated + * @ordered + */ + protected static final String BASE_ATTRIBUTE_TYPE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getBaseAttributeType() <em>Base Attribute Type</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBaseAttributeType() + * @generated + * @ordered + */ + protected String baseAttributeType = BASE_ATTRIBUTE_TYPE_EDEFAULT; + + /** + * The cached value of the '{@link #getOverride() <em>Override</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getOverride() + * @generated + * @ordered + */ + protected XAttributeType override; + + /** + * The default value of the '{@link #getDataProvider() <em>Data Provider</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDataProvider() + * @generated + * @ordered + */ + protected static final String DATA_PROVIDER_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDataProvider() <em>Data Provider</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDataProvider() + * @generated + * @ordered + */ + protected String dataProvider = DATA_PROVIDER_EDEFAULT; + + /** + * The default value of the '{@link #getMin() <em>Min</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMin() + * @generated + * @ordered + */ + protected static final String MIN_EDEFAULT = null; + + /** + * The cached value of the '{@link #getMin() <em>Min</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMin() + * @generated + * @ordered + */ + protected String min = MIN_EDEFAULT; + + /** + * The default value of the '{@link #getMax() <em>Max</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMax() + * @generated + * @ordered + */ + protected static final String MAX_EDEFAULT = null; + + /** + * The cached value of the '{@link #getMax() <em>Max</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMax() + * @generated + * @ordered + */ + protected String max = MAX_EDEFAULT; + + /** + * The default value of the '{@link #getTaggerId() <em>Tagger Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTaggerId() + * @generated + * @ordered + */ + protected static final String TAGGER_ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTaggerId() <em>Tagger Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTaggerId() + * @generated + * @ordered + */ + protected String taggerId = TAGGER_ID_EDEFAULT; + + /** + * The cached value of the '{@link #getEnumType() <em>Enum Type</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getEnumType() + * @generated + * @ordered + */ + protected XOseeEnumType enumType; + + /** + * The default value of the '{@link #getDescription() <em>Description</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDescription() + * @generated + * @ordered + */ + protected static final String DESCRIPTION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDescription() <em>Description</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDescription() + * @generated + * @ordered + */ + protected String description = DESCRIPTION_EDEFAULT; + + /** + * The default value of the '{@link #getDefaultValue() <em>Default Value</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDefaultValue() + * @generated + * @ordered + */ + protected static final String DEFAULT_VALUE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDefaultValue() <em>Default Value</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDefaultValue() + * @generated + * @ordered + */ + protected String defaultValue = DEFAULT_VALUE_EDEFAULT; + + /** + * The default value of the '{@link #getFileExtension() <em>File Extension</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getFileExtension() + * @generated + * @ordered + */ + protected static final String FILE_EXTENSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getFileExtension() <em>File Extension</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getFileExtension() + * @generated + * @ordered + */ + protected String fileExtension = FILE_EXTENSION_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected XAttributeTypeImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return OseeDslPackage.Literals.XATTRIBUTE_TYPE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getBaseAttributeType() + { + return baseAttributeType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBaseAttributeType(String newBaseAttributeType) + { + String oldBaseAttributeType = baseAttributeType; + baseAttributeType = newBaseAttributeType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__BASE_ATTRIBUTE_TYPE, oldBaseAttributeType, baseAttributeType)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XAttributeType getOverride() + { + if (override != null && override.eIsProxy()) + { + InternalEObject oldOverride = (InternalEObject)override; + override = (XAttributeType)eResolveProxy(oldOverride); + if (override != oldOverride) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.XATTRIBUTE_TYPE__OVERRIDE, oldOverride, override)); + } + } + return override; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XAttributeType basicGetOverride() + { + return override; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setOverride(XAttributeType newOverride) + { + XAttributeType oldOverride = override; + override = newOverride; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__OVERRIDE, oldOverride, override)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getDataProvider() + { + return dataProvider; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setDataProvider(String newDataProvider) + { + String oldDataProvider = dataProvider; + dataProvider = newDataProvider; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__DATA_PROVIDER, oldDataProvider, dataProvider)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getMin() + { + return min; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setMin(String newMin) + { + String oldMin = min; + min = newMin; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__MIN, oldMin, min)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getMax() + { + return max; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setMax(String newMax) + { + String oldMax = max; + max = newMax; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__MAX, oldMax, max)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTaggerId() + { + return taggerId; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTaggerId(String newTaggerId) + { + String oldTaggerId = taggerId; + taggerId = newTaggerId; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__TAGGER_ID, oldTaggerId, taggerId)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XOseeEnumType getEnumType() + { + if (enumType != null && enumType.eIsProxy()) + { + InternalEObject oldEnumType = (InternalEObject)enumType; + enumType = (XOseeEnumType)eResolveProxy(oldEnumType); + if (enumType != oldEnumType) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.XATTRIBUTE_TYPE__ENUM_TYPE, oldEnumType, enumType)); + } + } + return enumType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XOseeEnumType basicGetEnumType() + { + return enumType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setEnumType(XOseeEnumType newEnumType) + { + XOseeEnumType oldEnumType = enumType; + enumType = newEnumType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__ENUM_TYPE, oldEnumType, enumType)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getDescription() + { + return description; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setDescription(String newDescription) + { + String oldDescription = description; + description = newDescription; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__DESCRIPTION, oldDescription, description)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getDefaultValue() + { + return defaultValue; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setDefaultValue(String newDefaultValue) + { + String oldDefaultValue = defaultValue; + defaultValue = newDefaultValue; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__DEFAULT_VALUE, oldDefaultValue, defaultValue)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getFileExtension() + { + return fileExtension; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setFileExtension(String newFileExtension) + { + String oldFileExtension = fileExtension; + fileExtension = newFileExtension; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE__FILE_EXTENSION, oldFileExtension, fileExtension)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case OseeDslPackage.XATTRIBUTE_TYPE__BASE_ATTRIBUTE_TYPE: + return getBaseAttributeType(); + case OseeDslPackage.XATTRIBUTE_TYPE__OVERRIDE: + if (resolve) return getOverride(); + return basicGetOverride(); + case OseeDslPackage.XATTRIBUTE_TYPE__DATA_PROVIDER: + return getDataProvider(); + case OseeDslPackage.XATTRIBUTE_TYPE__MIN: + return getMin(); + case OseeDslPackage.XATTRIBUTE_TYPE__MAX: + return getMax(); + case OseeDslPackage.XATTRIBUTE_TYPE__TAGGER_ID: + return getTaggerId(); + case OseeDslPackage.XATTRIBUTE_TYPE__ENUM_TYPE: + if (resolve) return getEnumType(); + return basicGetEnumType(); + case OseeDslPackage.XATTRIBUTE_TYPE__DESCRIPTION: + return getDescription(); + case OseeDslPackage.XATTRIBUTE_TYPE__DEFAULT_VALUE: + return getDefaultValue(); + case OseeDslPackage.XATTRIBUTE_TYPE__FILE_EXTENSION: + return getFileExtension(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case OseeDslPackage.XATTRIBUTE_TYPE__BASE_ATTRIBUTE_TYPE: + setBaseAttributeType((String)newValue); + return; + case OseeDslPackage.XATTRIBUTE_TYPE__OVERRIDE: + setOverride((XAttributeType)newValue); + return; + case OseeDslPackage.XATTRIBUTE_TYPE__DATA_PROVIDER: + setDataProvider((String)newValue); + return; + case OseeDslPackage.XATTRIBUTE_TYPE__MIN: + setMin((String)newValue); + return; + case OseeDslPackage.XATTRIBUTE_TYPE__MAX: + setMax((String)newValue); + return; + case OseeDslPackage.XATTRIBUTE_TYPE__TAGGER_ID: + setTaggerId((String)newValue); + return; + case OseeDslPackage.XATTRIBUTE_TYPE__ENUM_TYPE: + setEnumType((XOseeEnumType)newValue); + return; + case OseeDslPackage.XATTRIBUTE_TYPE__DESCRIPTION: + setDescription((String)newValue); + return; + case OseeDslPackage.XATTRIBUTE_TYPE__DEFAULT_VALUE: + setDefaultValue((String)newValue); + return; + case OseeDslPackage.XATTRIBUTE_TYPE__FILE_EXTENSION: + setFileExtension((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case OseeDslPackage.XATTRIBUTE_TYPE__BASE_ATTRIBUTE_TYPE: + setBaseAttributeType(BASE_ATTRIBUTE_TYPE_EDEFAULT); + return; + case OseeDslPackage.XATTRIBUTE_TYPE__OVERRIDE: + setOverride((XAttributeType)null); + return; + case OseeDslPackage.XATTRIBUTE_TYPE__DATA_PROVIDER: + setDataProvider(DATA_PROVIDER_EDEFAULT); + return; + case OseeDslPackage.XATTRIBUTE_TYPE__MIN: + setMin(MIN_EDEFAULT); + return; + case OseeDslPackage.XATTRIBUTE_TYPE__MAX: + setMax(MAX_EDEFAULT); + return; + case OseeDslPackage.XATTRIBUTE_TYPE__TAGGER_ID: + setTaggerId(TAGGER_ID_EDEFAULT); + return; + case OseeDslPackage.XATTRIBUTE_TYPE__ENUM_TYPE: + setEnumType((XOseeEnumType)null); + return; + case OseeDslPackage.XATTRIBUTE_TYPE__DESCRIPTION: + setDescription(DESCRIPTION_EDEFAULT); + return; + case OseeDslPackage.XATTRIBUTE_TYPE__DEFAULT_VALUE: + setDefaultValue(DEFAULT_VALUE_EDEFAULT); + return; + case OseeDslPackage.XATTRIBUTE_TYPE__FILE_EXTENSION: + setFileExtension(FILE_EXTENSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case OseeDslPackage.XATTRIBUTE_TYPE__BASE_ATTRIBUTE_TYPE: + return BASE_ATTRIBUTE_TYPE_EDEFAULT == null ? baseAttributeType != null : !BASE_ATTRIBUTE_TYPE_EDEFAULT.equals(baseAttributeType); + case OseeDslPackage.XATTRIBUTE_TYPE__OVERRIDE: + return override != null; + case OseeDslPackage.XATTRIBUTE_TYPE__DATA_PROVIDER: + return DATA_PROVIDER_EDEFAULT == null ? dataProvider != null : !DATA_PROVIDER_EDEFAULT.equals(dataProvider); + case OseeDslPackage.XATTRIBUTE_TYPE__MIN: + return MIN_EDEFAULT == null ? min != null : !MIN_EDEFAULT.equals(min); + case OseeDslPackage.XATTRIBUTE_TYPE__MAX: + return MAX_EDEFAULT == null ? max != null : !MAX_EDEFAULT.equals(max); + case OseeDslPackage.XATTRIBUTE_TYPE__TAGGER_ID: + return TAGGER_ID_EDEFAULT == null ? taggerId != null : !TAGGER_ID_EDEFAULT.equals(taggerId); + case OseeDslPackage.XATTRIBUTE_TYPE__ENUM_TYPE: + return enumType != null; + case OseeDslPackage.XATTRIBUTE_TYPE__DESCRIPTION: + return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description); + case OseeDslPackage.XATTRIBUTE_TYPE__DEFAULT_VALUE: + return DEFAULT_VALUE_EDEFAULT == null ? defaultValue != null : !DEFAULT_VALUE_EDEFAULT.equals(defaultValue); + case OseeDslPackage.XATTRIBUTE_TYPE__FILE_EXTENSION: + return FILE_EXTENSION_EDEFAULT == null ? fileExtension != null : !FILE_EXTENSION_EDEFAULT.equals(fileExtension); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (baseAttributeType: "); + result.append(baseAttributeType); + result.append(", dataProvider: "); + result.append(dataProvider); + result.append(", min: "); + result.append(min); + result.append(", max: "); + result.append(max); + result.append(", taggerId: "); + result.append(taggerId); + result.append(", description: "); + result.append(description); + result.append(", defaultValue: "); + result.append(defaultValue); + result.append(", fileExtension: "); + result.append(fileExtension); + result.append(')'); + return result.toString(); + } + +} //XAttributeTypeImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XAttributeTypeRefImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XAttributeTypeRefImpl.java index cf3b03f6c94..cb9acaea600 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XAttributeTypeRefImpl.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XAttributeTypeRefImpl.java @@ -1,248 +1,248 @@ -/**
- * <copyright>
- * </copyright>
- *
- - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>XAttribute Type Ref</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeRefImpl#getValidAttributeType <em>Valid Attribute Type</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeRefImpl#getBranchGuid <em>Branch Guid</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class XAttributeTypeRefImpl extends MinimalEObjectImpl.Container implements XAttributeTypeRef
-{
- /**
- * The cached value of the '{@link #getValidAttributeType() <em>Valid Attribute Type</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getValidAttributeType()
- * @generated
- * @ordered
- */
- protected XAttributeType validAttributeType;
-
- /**
- * The default value of the '{@link #getBranchGuid() <em>Branch Guid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getBranchGuid()
- * @generated
- * @ordered
- */
- protected static final String BRANCH_GUID_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getBranchGuid() <em>Branch Guid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getBranchGuid()
- * @generated
- * @ordered
- */
- protected String branchGuid = BRANCH_GUID_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected XAttributeTypeRefImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OseeDslPackage.Literals.XATTRIBUTE_TYPE_REF;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XAttributeType getValidAttributeType()
- {
- if (validAttributeType != null && validAttributeType.eIsProxy())
- {
- InternalEObject oldValidAttributeType = (InternalEObject)validAttributeType;
- validAttributeType = (XAttributeType)eResolveProxy(oldValidAttributeType);
- if (validAttributeType != oldValidAttributeType)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.XATTRIBUTE_TYPE_REF__VALID_ATTRIBUTE_TYPE, oldValidAttributeType, validAttributeType));
- }
- }
- return validAttributeType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XAttributeType basicGetValidAttributeType()
- {
- return validAttributeType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setValidAttributeType(XAttributeType newValidAttributeType)
- {
- XAttributeType oldValidAttributeType = validAttributeType;
- validAttributeType = newValidAttributeType;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE_REF__VALID_ATTRIBUTE_TYPE, oldValidAttributeType, validAttributeType));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getBranchGuid()
- {
- return branchGuid;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setBranchGuid(String newBranchGuid)
- {
- String oldBranchGuid = branchGuid;
- branchGuid = newBranchGuid;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE_REF__BRANCH_GUID, oldBranchGuid, branchGuid));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case OseeDslPackage.XATTRIBUTE_TYPE_REF__VALID_ATTRIBUTE_TYPE:
- if (resolve) return getValidAttributeType();
- return basicGetValidAttributeType();
- case OseeDslPackage.XATTRIBUTE_TYPE_REF__BRANCH_GUID:
- return getBranchGuid();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OseeDslPackage.XATTRIBUTE_TYPE_REF__VALID_ATTRIBUTE_TYPE:
- setValidAttributeType((XAttributeType)newValue);
- return;
- case OseeDslPackage.XATTRIBUTE_TYPE_REF__BRANCH_GUID:
- setBranchGuid((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.XATTRIBUTE_TYPE_REF__VALID_ATTRIBUTE_TYPE:
- setValidAttributeType((XAttributeType)null);
- return;
- case OseeDslPackage.XATTRIBUTE_TYPE_REF__BRANCH_GUID:
- setBranchGuid(BRANCH_GUID_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.XATTRIBUTE_TYPE_REF__VALID_ATTRIBUTE_TYPE:
- return validAttributeType != null;
- case OseeDslPackage.XATTRIBUTE_TYPE_REF__BRANCH_GUID:
- return BRANCH_GUID_EDEFAULT == null ? branchGuid != null : !BRANCH_GUID_EDEFAULT.equals(branchGuid);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (branchGuid: ");
- result.append(branchGuid);
- result.append(')');
- return result.toString();
- }
-
-} //XAttributeTypeRefImpl
+/** + * <copyright> + * </copyright> + * + + */ +package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>XAttribute Type Ref</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeRefImpl#getValidAttributeType <em>Valid Attribute Type</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XAttributeTypeRefImpl#getBranchGuid <em>Branch Guid</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class XAttributeTypeRefImpl extends MinimalEObjectImpl.Container implements XAttributeTypeRef +{ + /** + * The cached value of the '{@link #getValidAttributeType() <em>Valid Attribute Type</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getValidAttributeType() + * @generated + * @ordered + */ + protected XAttributeType validAttributeType; + + /** + * The default value of the '{@link #getBranchGuid() <em>Branch Guid</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBranchGuid() + * @generated + * @ordered + */ + protected static final String BRANCH_GUID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getBranchGuid() <em>Branch Guid</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBranchGuid() + * @generated + * @ordered + */ + protected String branchGuid = BRANCH_GUID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected XAttributeTypeRefImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return OseeDslPackage.Literals.XATTRIBUTE_TYPE_REF; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XAttributeType getValidAttributeType() + { + if (validAttributeType != null && validAttributeType.eIsProxy()) + { + InternalEObject oldValidAttributeType = (InternalEObject)validAttributeType; + validAttributeType = (XAttributeType)eResolveProxy(oldValidAttributeType); + if (validAttributeType != oldValidAttributeType) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.XATTRIBUTE_TYPE_REF__VALID_ATTRIBUTE_TYPE, oldValidAttributeType, validAttributeType)); + } + } + return validAttributeType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XAttributeType basicGetValidAttributeType() + { + return validAttributeType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setValidAttributeType(XAttributeType newValidAttributeType) + { + XAttributeType oldValidAttributeType = validAttributeType; + validAttributeType = newValidAttributeType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE_REF__VALID_ATTRIBUTE_TYPE, oldValidAttributeType, validAttributeType)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getBranchGuid() + { + return branchGuid; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBranchGuid(String newBranchGuid) + { + String oldBranchGuid = branchGuid; + branchGuid = newBranchGuid; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XATTRIBUTE_TYPE_REF__BRANCH_GUID, oldBranchGuid, branchGuid)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case OseeDslPackage.XATTRIBUTE_TYPE_REF__VALID_ATTRIBUTE_TYPE: + if (resolve) return getValidAttributeType(); + return basicGetValidAttributeType(); + case OseeDslPackage.XATTRIBUTE_TYPE_REF__BRANCH_GUID: + return getBranchGuid(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case OseeDslPackage.XATTRIBUTE_TYPE_REF__VALID_ATTRIBUTE_TYPE: + setValidAttributeType((XAttributeType)newValue); + return; + case OseeDslPackage.XATTRIBUTE_TYPE_REF__BRANCH_GUID: + setBranchGuid((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case OseeDslPackage.XATTRIBUTE_TYPE_REF__VALID_ATTRIBUTE_TYPE: + setValidAttributeType((XAttributeType)null); + return; + case OseeDslPackage.XATTRIBUTE_TYPE_REF__BRANCH_GUID: + setBranchGuid(BRANCH_GUID_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case OseeDslPackage.XATTRIBUTE_TYPE_REF__VALID_ATTRIBUTE_TYPE: + return validAttributeType != null; + case OseeDslPackage.XATTRIBUTE_TYPE_REF__BRANCH_GUID: + return BRANCH_GUID_EDEFAULT == null ? branchGuid != null : !BRANCH_GUID_EDEFAULT.equals(branchGuid); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (branchGuid: "); + result.append(branchGuid); + result.append(')'); + return result.toString(); + } + +} //XAttributeTypeRefImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XBranchRefImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XBranchRefImpl.java index 66c172b0eae..89329339d82 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XBranchRefImpl.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XBranchRefImpl.java @@ -1,237 +1,237 @@ -/**
- * <copyright>
- * </copyright>
- *
- - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>XBranch Ref</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XBranchRefImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XBranchRefImpl#getGuid <em>Guid</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class XBranchRefImpl extends MinimalEObjectImpl.Container implements XBranchRef
-{
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #getGuid() <em>Guid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getGuid()
- * @generated
- * @ordered
- */
- protected static final String GUID_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getGuid() <em>Guid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getGuid()
- * @generated
- * @ordered
- */
- protected String guid = GUID_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected XBranchRefImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OseeDslPackage.Literals.XBRANCH_REF;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName()
- {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName)
- {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XBRANCH_REF__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getGuid()
- {
- return guid;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setGuid(String newGuid)
- {
- String oldGuid = guid;
- guid = newGuid;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XBRANCH_REF__GUID, oldGuid, guid));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case OseeDslPackage.XBRANCH_REF__NAME:
- return getName();
- case OseeDslPackage.XBRANCH_REF__GUID:
- return getGuid();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OseeDslPackage.XBRANCH_REF__NAME:
- setName((String)newValue);
- return;
- case OseeDslPackage.XBRANCH_REF__GUID:
- setGuid((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.XBRANCH_REF__NAME:
- setName(NAME_EDEFAULT);
- return;
- case OseeDslPackage.XBRANCH_REF__GUID:
- setGuid(GUID_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.XBRANCH_REF__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case OseeDslPackage.XBRANCH_REF__GUID:
- return GUID_EDEFAULT == null ? guid != null : !GUID_EDEFAULT.equals(guid);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (name: ");
- result.append(name);
- result.append(", guid: ");
- result.append(guid);
- result.append(')');
- return result.toString();
- }
-
-} //XBranchRefImpl
+/** + * <copyright> + * </copyright> + * + + */ +package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>XBranch Ref</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XBranchRefImpl#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XBranchRefImpl#getGuid <em>Guid</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class XBranchRefImpl extends MinimalEObjectImpl.Container implements XBranchRef +{ + /** + * The default value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The default value of the '{@link #getGuid() <em>Guid</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getGuid() + * @generated + * @ordered + */ + protected static final String GUID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getGuid() <em>Guid</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getGuid() + * @generated + * @ordered + */ + protected String guid = GUID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected XBranchRefImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return OseeDslPackage.Literals.XBRANCH_REF; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getName() + { + return name; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setName(String newName) + { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XBRANCH_REF__NAME, oldName, name)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getGuid() + { + return guid; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setGuid(String newGuid) + { + String oldGuid = guid; + guid = newGuid; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XBRANCH_REF__GUID, oldGuid, guid)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case OseeDslPackage.XBRANCH_REF__NAME: + return getName(); + case OseeDslPackage.XBRANCH_REF__GUID: + return getGuid(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case OseeDslPackage.XBRANCH_REF__NAME: + setName((String)newValue); + return; + case OseeDslPackage.XBRANCH_REF__GUID: + setGuid((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case OseeDslPackage.XBRANCH_REF__NAME: + setName(NAME_EDEFAULT); + return; + case OseeDslPackage.XBRANCH_REF__GUID: + setGuid(GUID_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case OseeDslPackage.XBRANCH_REF__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case OseeDslPackage.XBRANCH_REF__GUID: + return GUID_EDEFAULT == null ? guid != null : !GUID_EDEFAULT.equals(guid); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (name: "); + result.append(name); + result.append(", guid: "); + result.append(guid); + result.append(')'); + return result.toString(); + } + +} //XBranchRefImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XOseeEnumEntryImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XOseeEnumEntryImpl.java index 5448de6a903..836de4fddba 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XOseeEnumEntryImpl.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XOseeEnumEntryImpl.java @@ -1,293 +1,293 @@ -/**
- * <copyright>
- * </copyright>
- *
+/** + * <copyright> + * </copyright> + * - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>XOsee Enum Entry</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumEntryImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumEntryImpl#getOrdinal <em>Ordinal</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumEntryImpl#getEntryGuid <em>Entry Guid</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class XOseeEnumEntryImpl extends MinimalEObjectImpl.Container implements XOseeEnumEntry
-{
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #getOrdinal() <em>Ordinal</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getOrdinal()
- * @generated
- * @ordered
- */
- protected static final String ORDINAL_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getOrdinal() <em>Ordinal</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getOrdinal()
- * @generated
- * @ordered
- */
- protected String ordinal = ORDINAL_EDEFAULT;
-
- /**
- * The default value of the '{@link #getEntryGuid() <em>Entry Guid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEntryGuid()
- * @generated
- * @ordered
- */
- protected static final String ENTRY_GUID_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getEntryGuid() <em>Entry Guid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEntryGuid()
- * @generated
- * @ordered
- */
- protected String entryGuid = ENTRY_GUID_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected XOseeEnumEntryImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OseeDslPackage.Literals.XOSEE_ENUM_ENTRY;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName()
- {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName)
- {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XOSEE_ENUM_ENTRY__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getOrdinal()
- {
- return ordinal;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setOrdinal(String newOrdinal)
- {
- String oldOrdinal = ordinal;
- ordinal = newOrdinal;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XOSEE_ENUM_ENTRY__ORDINAL, oldOrdinal, ordinal));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getEntryGuid()
- {
- return entryGuid;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setEntryGuid(String newEntryGuid)
- {
- String oldEntryGuid = entryGuid;
- entryGuid = newEntryGuid;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XOSEE_ENUM_ENTRY__ENTRY_GUID, oldEntryGuid, entryGuid));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case OseeDslPackage.XOSEE_ENUM_ENTRY__NAME:
- return getName();
- case OseeDslPackage.XOSEE_ENUM_ENTRY__ORDINAL:
- return getOrdinal();
- case OseeDslPackage.XOSEE_ENUM_ENTRY__ENTRY_GUID:
- return getEntryGuid();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OseeDslPackage.XOSEE_ENUM_ENTRY__NAME:
- setName((String)newValue);
- return;
- case OseeDslPackage.XOSEE_ENUM_ENTRY__ORDINAL:
- setOrdinal((String)newValue);
- return;
- case OseeDslPackage.XOSEE_ENUM_ENTRY__ENTRY_GUID:
- setEntryGuid((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.XOSEE_ENUM_ENTRY__NAME:
- setName(NAME_EDEFAULT);
- return;
- case OseeDslPackage.XOSEE_ENUM_ENTRY__ORDINAL:
- setOrdinal(ORDINAL_EDEFAULT);
- return;
- case OseeDslPackage.XOSEE_ENUM_ENTRY__ENTRY_GUID:
- setEntryGuid(ENTRY_GUID_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.XOSEE_ENUM_ENTRY__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case OseeDslPackage.XOSEE_ENUM_ENTRY__ORDINAL:
- return ORDINAL_EDEFAULT == null ? ordinal != null : !ORDINAL_EDEFAULT.equals(ordinal);
- case OseeDslPackage.XOSEE_ENUM_ENTRY__ENTRY_GUID:
- return ENTRY_GUID_EDEFAULT == null ? entryGuid != null : !ENTRY_GUID_EDEFAULT.equals(entryGuid);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (name: ");
- result.append(name);
- result.append(", ordinal: ");
- result.append(ordinal);
- result.append(", entryGuid: ");
- result.append(entryGuid);
- result.append(')');
- return result.toString();
- }
-
-} //XOseeEnumEntryImpl
+ */ +package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>XOsee Enum Entry</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumEntryImpl#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumEntryImpl#getOrdinal <em>Ordinal</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumEntryImpl#getEntryGuid <em>Entry Guid</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class XOseeEnumEntryImpl extends MinimalEObjectImpl.Container implements XOseeEnumEntry +{ + /** + * The default value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The default value of the '{@link #getOrdinal() <em>Ordinal</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getOrdinal() + * @generated + * @ordered + */ + protected static final String ORDINAL_EDEFAULT = null; + + /** + * The cached value of the '{@link #getOrdinal() <em>Ordinal</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getOrdinal() + * @generated + * @ordered + */ + protected String ordinal = ORDINAL_EDEFAULT; + + /** + * The default value of the '{@link #getEntryGuid() <em>Entry Guid</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getEntryGuid() + * @generated + * @ordered + */ + protected static final String ENTRY_GUID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getEntryGuid() <em>Entry Guid</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getEntryGuid() + * @generated + * @ordered + */ + protected String entryGuid = ENTRY_GUID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected XOseeEnumEntryImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return OseeDslPackage.Literals.XOSEE_ENUM_ENTRY; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getName() + { + return name; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setName(String newName) + { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XOSEE_ENUM_ENTRY__NAME, oldName, name)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getOrdinal() + { + return ordinal; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setOrdinal(String newOrdinal) + { + String oldOrdinal = ordinal; + ordinal = newOrdinal; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XOSEE_ENUM_ENTRY__ORDINAL, oldOrdinal, ordinal)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getEntryGuid() + { + return entryGuid; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setEntryGuid(String newEntryGuid) + { + String oldEntryGuid = entryGuid; + entryGuid = newEntryGuid; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XOSEE_ENUM_ENTRY__ENTRY_GUID, oldEntryGuid, entryGuid)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case OseeDslPackage.XOSEE_ENUM_ENTRY__NAME: + return getName(); + case OseeDslPackage.XOSEE_ENUM_ENTRY__ORDINAL: + return getOrdinal(); + case OseeDslPackage.XOSEE_ENUM_ENTRY__ENTRY_GUID: + return getEntryGuid(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case OseeDslPackage.XOSEE_ENUM_ENTRY__NAME: + setName((String)newValue); + return; + case OseeDslPackage.XOSEE_ENUM_ENTRY__ORDINAL: + setOrdinal((String)newValue); + return; + case OseeDslPackage.XOSEE_ENUM_ENTRY__ENTRY_GUID: + setEntryGuid((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case OseeDslPackage.XOSEE_ENUM_ENTRY__NAME: + setName(NAME_EDEFAULT); + return; + case OseeDslPackage.XOSEE_ENUM_ENTRY__ORDINAL: + setOrdinal(ORDINAL_EDEFAULT); + return; + case OseeDslPackage.XOSEE_ENUM_ENTRY__ENTRY_GUID: + setEntryGuid(ENTRY_GUID_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case OseeDslPackage.XOSEE_ENUM_ENTRY__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case OseeDslPackage.XOSEE_ENUM_ENTRY__ORDINAL: + return ORDINAL_EDEFAULT == null ? ordinal != null : !ORDINAL_EDEFAULT.equals(ordinal); + case OseeDslPackage.XOSEE_ENUM_ENTRY__ENTRY_GUID: + return ENTRY_GUID_EDEFAULT == null ? entryGuid != null : !ENTRY_GUID_EDEFAULT.equals(entryGuid); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (name: "); + result.append(name); + result.append(", ordinal: "); + result.append(ordinal); + result.append(", entryGuid: "); + result.append(entryGuid); + result.append(')'); + return result.toString(); + } + +} //XOseeEnumEntryImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XOseeEnumOverrideImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XOseeEnumOverrideImpl.java index 160448b7d51..30c14cc80ca 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XOseeEnumOverrideImpl.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XOseeEnumOverrideImpl.java @@ -1,309 +1,309 @@ -/**
- * <copyright>
- * </copyright>
- *
+/** + * <copyright> + * </copyright> + * - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.OverrideOption;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>XOsee Enum Override</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumOverrideImpl#getOverridenEnumType <em>Overriden Enum Type</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumOverrideImpl#isInheritAll <em>Inherit All</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumOverrideImpl#getOverrideOptions <em>Override Options</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class XOseeEnumOverrideImpl extends OseeElementImpl implements XOseeEnumOverride
-{
- /**
- * The cached value of the '{@link #getOverridenEnumType() <em>Overriden Enum Type</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getOverridenEnumType()
- * @generated
- * @ordered
- */
- protected XOseeEnumType overridenEnumType;
-
- /**
- * The default value of the '{@link #isInheritAll() <em>Inherit All</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isInheritAll()
- * @generated
- * @ordered
- */
- protected static final boolean INHERIT_ALL_EDEFAULT = false;
-
- /**
- * The cached value of the '{@link #isInheritAll() <em>Inherit All</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isInheritAll()
- * @generated
- * @ordered
- */
- protected boolean inheritAll = INHERIT_ALL_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getOverrideOptions() <em>Override Options</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getOverrideOptions()
- * @generated
- * @ordered
- */
- protected EList<OverrideOption> overrideOptions;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected XOseeEnumOverrideImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OseeDslPackage.Literals.XOSEE_ENUM_OVERRIDE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XOseeEnumType getOverridenEnumType()
- {
- if (overridenEnumType != null && overridenEnumType.eIsProxy())
- {
- InternalEObject oldOverridenEnumType = (InternalEObject)overridenEnumType;
- overridenEnumType = (XOseeEnumType)eResolveProxy(oldOverridenEnumType);
- if (overridenEnumType != oldOverridenEnumType)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDEN_ENUM_TYPE, oldOverridenEnumType, overridenEnumType));
- }
- }
- return overridenEnumType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XOseeEnumType basicGetOverridenEnumType()
- {
- return overridenEnumType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setOverridenEnumType(XOseeEnumType newOverridenEnumType)
- {
- XOseeEnumType oldOverridenEnumType = overridenEnumType;
- overridenEnumType = newOverridenEnumType;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDEN_ENUM_TYPE, oldOverridenEnumType, overridenEnumType));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isInheritAll()
- {
- return inheritAll;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setInheritAll(boolean newInheritAll)
- {
- boolean oldInheritAll = inheritAll;
- inheritAll = newInheritAll;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XOSEE_ENUM_OVERRIDE__INHERIT_ALL, oldInheritAll, inheritAll));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<OverrideOption> getOverrideOptions()
- {
- if (overrideOptions == null)
- {
- overrideOptions = new EObjectContainmentEList<OverrideOption>(OverrideOption.class, this, OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS);
- }
- return overrideOptions;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS:
- return ((InternalEList<?>)getOverrideOptions()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDEN_ENUM_TYPE:
- if (resolve) return getOverridenEnumType();
- return basicGetOverridenEnumType();
- case OseeDslPackage.XOSEE_ENUM_OVERRIDE__INHERIT_ALL:
- return isInheritAll();
- case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS:
- return getOverrideOptions();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDEN_ENUM_TYPE:
- setOverridenEnumType((XOseeEnumType)newValue);
- return;
- case OseeDslPackage.XOSEE_ENUM_OVERRIDE__INHERIT_ALL:
- setInheritAll((Boolean)newValue);
- return;
- case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS:
- getOverrideOptions().clear();
- getOverrideOptions().addAll((Collection<? extends OverrideOption>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDEN_ENUM_TYPE:
- setOverridenEnumType((XOseeEnumType)null);
- return;
- case OseeDslPackage.XOSEE_ENUM_OVERRIDE__INHERIT_ALL:
- setInheritAll(INHERIT_ALL_EDEFAULT);
- return;
- case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS:
- getOverrideOptions().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDEN_ENUM_TYPE:
- return overridenEnumType != null;
- case OseeDslPackage.XOSEE_ENUM_OVERRIDE__INHERIT_ALL:
- return inheritAll != INHERIT_ALL_EDEFAULT;
- case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS:
- return overrideOptions != null && !overrideOptions.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (inheritAll: ");
- result.append(inheritAll);
- result.append(')');
- return result.toString();
- }
-
-} //XOseeEnumOverrideImpl
+ */ +package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; +import org.eclipse.osee.framework.core.dsl.oseeDsl.OverrideOption; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>XOsee Enum Override</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumOverrideImpl#getOverridenEnumType <em>Overriden Enum Type</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumOverrideImpl#isInheritAll <em>Inherit All</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumOverrideImpl#getOverrideOptions <em>Override Options</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class XOseeEnumOverrideImpl extends OseeElementImpl implements XOseeEnumOverride +{ + /** + * The cached value of the '{@link #getOverridenEnumType() <em>Overriden Enum Type</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getOverridenEnumType() + * @generated + * @ordered + */ + protected XOseeEnumType overridenEnumType; + + /** + * The default value of the '{@link #isInheritAll() <em>Inherit All</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isInheritAll() + * @generated + * @ordered + */ + protected static final boolean INHERIT_ALL_EDEFAULT = false; + + /** + * The cached value of the '{@link #isInheritAll() <em>Inherit All</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isInheritAll() + * @generated + * @ordered + */ + protected boolean inheritAll = INHERIT_ALL_EDEFAULT; + + /** + * The cached value of the '{@link #getOverrideOptions() <em>Override Options</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getOverrideOptions() + * @generated + * @ordered + */ + protected EList<OverrideOption> overrideOptions; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected XOseeEnumOverrideImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return OseeDslPackage.Literals.XOSEE_ENUM_OVERRIDE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XOseeEnumType getOverridenEnumType() + { + if (overridenEnumType != null && overridenEnumType.eIsProxy()) + { + InternalEObject oldOverridenEnumType = (InternalEObject)overridenEnumType; + overridenEnumType = (XOseeEnumType)eResolveProxy(oldOverridenEnumType); + if (overridenEnumType != oldOverridenEnumType) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDEN_ENUM_TYPE, oldOverridenEnumType, overridenEnumType)); + } + } + return overridenEnumType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XOseeEnumType basicGetOverridenEnumType() + { + return overridenEnumType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setOverridenEnumType(XOseeEnumType newOverridenEnumType) + { + XOseeEnumType oldOverridenEnumType = overridenEnumType; + overridenEnumType = newOverridenEnumType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDEN_ENUM_TYPE, oldOverridenEnumType, overridenEnumType)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isInheritAll() + { + return inheritAll; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setInheritAll(boolean newInheritAll) + { + boolean oldInheritAll = inheritAll; + inheritAll = newInheritAll; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XOSEE_ENUM_OVERRIDE__INHERIT_ALL, oldInheritAll, inheritAll)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<OverrideOption> getOverrideOptions() + { + if (overrideOptions == null) + { + overrideOptions = new EObjectContainmentEList<OverrideOption>(OverrideOption.class, this, OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS); + } + return overrideOptions; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS: + return ((InternalEList<?>)getOverrideOptions()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDEN_ENUM_TYPE: + if (resolve) return getOverridenEnumType(); + return basicGetOverridenEnumType(); + case OseeDslPackage.XOSEE_ENUM_OVERRIDE__INHERIT_ALL: + return isInheritAll(); + case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS: + return getOverrideOptions(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDEN_ENUM_TYPE: + setOverridenEnumType((XOseeEnumType)newValue); + return; + case OseeDslPackage.XOSEE_ENUM_OVERRIDE__INHERIT_ALL: + setInheritAll((Boolean)newValue); + return; + case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS: + getOverrideOptions().clear(); + getOverrideOptions().addAll((Collection<? extends OverrideOption>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDEN_ENUM_TYPE: + setOverridenEnumType((XOseeEnumType)null); + return; + case OseeDslPackage.XOSEE_ENUM_OVERRIDE__INHERIT_ALL: + setInheritAll(INHERIT_ALL_EDEFAULT); + return; + case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS: + getOverrideOptions().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDEN_ENUM_TYPE: + return overridenEnumType != null; + case OseeDslPackage.XOSEE_ENUM_OVERRIDE__INHERIT_ALL: + return inheritAll != INHERIT_ALL_EDEFAULT; + case OseeDslPackage.XOSEE_ENUM_OVERRIDE__OVERRIDE_OPTIONS: + return overrideOptions != null && !overrideOptions.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (inheritAll: "); + result.append(inheritAll); + result.append(')'); + return result.toString(); + } + +} //XOseeEnumOverrideImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XOseeEnumTypeImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XOseeEnumTypeImpl.java index 925fb93469d..9f6deff0e97 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XOseeEnumTypeImpl.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XOseeEnumTypeImpl.java @@ -1,169 +1,169 @@ -/**
- * <copyright>
- * </copyright>
- *
- - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>XOsee Enum Type</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumTypeImpl#getEnumEntries <em>Enum Entries</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class XOseeEnumTypeImpl extends OseeTypeImpl implements XOseeEnumType
-{
- /**
- * The cached value of the '{@link #getEnumEntries() <em>Enum Entries</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEnumEntries()
- * @generated
- * @ordered
- */
- protected EList<XOseeEnumEntry> enumEntries;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected XOseeEnumTypeImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OseeDslPackage.Literals.XOSEE_ENUM_TYPE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<XOseeEnumEntry> getEnumEntries()
- {
- if (enumEntries == null)
- {
- enumEntries = new EObjectContainmentEList<XOseeEnumEntry>(XOseeEnumEntry.class, this, OseeDslPackage.XOSEE_ENUM_TYPE__ENUM_ENTRIES);
- }
- return enumEntries;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case OseeDslPackage.XOSEE_ENUM_TYPE__ENUM_ENTRIES:
- return ((InternalEList<?>)getEnumEntries()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case OseeDslPackage.XOSEE_ENUM_TYPE__ENUM_ENTRIES:
- return getEnumEntries();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OseeDslPackage.XOSEE_ENUM_TYPE__ENUM_ENTRIES:
- getEnumEntries().clear();
- getEnumEntries().addAll((Collection<? extends XOseeEnumEntry>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.XOSEE_ENUM_TYPE__ENUM_ENTRIES:
- getEnumEntries().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.XOSEE_ENUM_TYPE__ENUM_ENTRIES:
- return enumEntries != null && !enumEntries.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
-} //XOseeEnumTypeImpl
+/** + * <copyright> + * </copyright> + * + + */ +package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>XOsee Enum Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XOseeEnumTypeImpl#getEnumEntries <em>Enum Entries</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class XOseeEnumTypeImpl extends OseeTypeImpl implements XOseeEnumType +{ + /** + * The cached value of the '{@link #getEnumEntries() <em>Enum Entries</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getEnumEntries() + * @generated + * @ordered + */ + protected EList<XOseeEnumEntry> enumEntries; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected XOseeEnumTypeImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return OseeDslPackage.Literals.XOSEE_ENUM_TYPE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<XOseeEnumEntry> getEnumEntries() + { + if (enumEntries == null) + { + enumEntries = new EObjectContainmentEList<XOseeEnumEntry>(XOseeEnumEntry.class, this, OseeDslPackage.XOSEE_ENUM_TYPE__ENUM_ENTRIES); + } + return enumEntries; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case OseeDslPackage.XOSEE_ENUM_TYPE__ENUM_ENTRIES: + return ((InternalEList<?>)getEnumEntries()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case OseeDslPackage.XOSEE_ENUM_TYPE__ENUM_ENTRIES: + return getEnumEntries(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case OseeDslPackage.XOSEE_ENUM_TYPE__ENUM_ENTRIES: + getEnumEntries().clear(); + getEnumEntries().addAll((Collection<? extends XOseeEnumEntry>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case OseeDslPackage.XOSEE_ENUM_TYPE__ENUM_ENTRIES: + getEnumEntries().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case OseeDslPackage.XOSEE_ENUM_TYPE__ENUM_ENTRIES: + return enumEntries != null && !enumEntries.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //XOseeEnumTypeImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XRelationTypeImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XRelationTypeImpl.java index c00eb83d42d..f5c6605e109 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XRelationTypeImpl.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/XRelationTypeImpl.java @@ -1,481 +1,481 @@ -/**
- * <copyright>
- * </copyright>
- *
- - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType;
-import org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>XRelation Type</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl#getSideAName <em>Side AName</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl#getSideAArtifactType <em>Side AArtifact Type</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl#getSideBName <em>Side BName</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl#getSideBArtifactType <em>Side BArtifact Type</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl#getDefaultOrderType <em>Default Order Type</em>}</li>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl#getMultiplicity <em>Multiplicity</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class XRelationTypeImpl extends OseeTypeImpl implements XRelationType
-{
- /**
- * The default value of the '{@link #getSideAName() <em>Side AName</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSideAName()
- * @generated
- * @ordered
- */
- protected static final String SIDE_ANAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getSideAName() <em>Side AName</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSideAName()
- * @generated
- * @ordered
- */
- protected String sideAName = SIDE_ANAME_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getSideAArtifactType() <em>Side AArtifact Type</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSideAArtifactType()
- * @generated
- * @ordered
- */
- protected XArtifactType sideAArtifactType;
-
- /**
- * The default value of the '{@link #getSideBName() <em>Side BName</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSideBName()
- * @generated
- * @ordered
- */
- protected static final String SIDE_BNAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getSideBName() <em>Side BName</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSideBName()
- * @generated
- * @ordered
- */
- protected String sideBName = SIDE_BNAME_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getSideBArtifactType() <em>Side BArtifact Type</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSideBArtifactType()
- * @generated
- * @ordered
- */
- protected XArtifactType sideBArtifactType;
-
- /**
- * The default value of the '{@link #getDefaultOrderType() <em>Default Order Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDefaultOrderType()
- * @generated
- * @ordered
- */
- protected static final String DEFAULT_ORDER_TYPE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDefaultOrderType() <em>Default Order Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDefaultOrderType()
- * @generated
- * @ordered
- */
- protected String defaultOrderType = DEFAULT_ORDER_TYPE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getMultiplicity() <em>Multiplicity</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMultiplicity()
- * @generated
- * @ordered
- */
- protected static final RelationMultiplicityEnum MULTIPLICITY_EDEFAULT = RelationMultiplicityEnum.ONE_TO_ONE;
-
- /**
- * The cached value of the '{@link #getMultiplicity() <em>Multiplicity</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMultiplicity()
- * @generated
- * @ordered
- */
- protected RelationMultiplicityEnum multiplicity = MULTIPLICITY_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected XRelationTypeImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OseeDslPackage.Literals.XRELATION_TYPE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getSideAName()
- {
- return sideAName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setSideAName(String newSideAName)
- {
- String oldSideAName = sideAName;
- sideAName = newSideAName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XRELATION_TYPE__SIDE_ANAME, oldSideAName, sideAName));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XArtifactType getSideAArtifactType()
- {
- if (sideAArtifactType != null && sideAArtifactType.eIsProxy())
- {
- InternalEObject oldSideAArtifactType = (InternalEObject)sideAArtifactType;
- sideAArtifactType = (XArtifactType)eResolveProxy(oldSideAArtifactType);
- if (sideAArtifactType != oldSideAArtifactType)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.XRELATION_TYPE__SIDE_AARTIFACT_TYPE, oldSideAArtifactType, sideAArtifactType));
- }
- }
- return sideAArtifactType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XArtifactType basicGetSideAArtifactType()
- {
- return sideAArtifactType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setSideAArtifactType(XArtifactType newSideAArtifactType)
- {
- XArtifactType oldSideAArtifactType = sideAArtifactType;
- sideAArtifactType = newSideAArtifactType;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XRELATION_TYPE__SIDE_AARTIFACT_TYPE, oldSideAArtifactType, sideAArtifactType));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getSideBName()
- {
- return sideBName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setSideBName(String newSideBName)
- {
- String oldSideBName = sideBName;
- sideBName = newSideBName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XRELATION_TYPE__SIDE_BNAME, oldSideBName, sideBName));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XArtifactType getSideBArtifactType()
- {
- if (sideBArtifactType != null && sideBArtifactType.eIsProxy())
- {
- InternalEObject oldSideBArtifactType = (InternalEObject)sideBArtifactType;
- sideBArtifactType = (XArtifactType)eResolveProxy(oldSideBArtifactType);
- if (sideBArtifactType != oldSideBArtifactType)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.XRELATION_TYPE__SIDE_BARTIFACT_TYPE, oldSideBArtifactType, sideBArtifactType));
- }
- }
- return sideBArtifactType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XArtifactType basicGetSideBArtifactType()
- {
- return sideBArtifactType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setSideBArtifactType(XArtifactType newSideBArtifactType)
- {
- XArtifactType oldSideBArtifactType = sideBArtifactType;
- sideBArtifactType = newSideBArtifactType;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XRELATION_TYPE__SIDE_BARTIFACT_TYPE, oldSideBArtifactType, sideBArtifactType));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getDefaultOrderType()
- {
- return defaultOrderType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDefaultOrderType(String newDefaultOrderType)
- {
- String oldDefaultOrderType = defaultOrderType;
- defaultOrderType = newDefaultOrderType;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XRELATION_TYPE__DEFAULT_ORDER_TYPE, oldDefaultOrderType, defaultOrderType));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public RelationMultiplicityEnum getMultiplicity()
- {
- return multiplicity;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setMultiplicity(RelationMultiplicityEnum newMultiplicity)
- {
- RelationMultiplicityEnum oldMultiplicity = multiplicity;
- multiplicity = newMultiplicity == null ? MULTIPLICITY_EDEFAULT : newMultiplicity;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XRELATION_TYPE__MULTIPLICITY, oldMultiplicity, multiplicity));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case OseeDslPackage.XRELATION_TYPE__SIDE_ANAME:
- return getSideAName();
- case OseeDslPackage.XRELATION_TYPE__SIDE_AARTIFACT_TYPE:
- if (resolve) return getSideAArtifactType();
- return basicGetSideAArtifactType();
- case OseeDslPackage.XRELATION_TYPE__SIDE_BNAME:
- return getSideBName();
- case OseeDslPackage.XRELATION_TYPE__SIDE_BARTIFACT_TYPE:
- if (resolve) return getSideBArtifactType();
- return basicGetSideBArtifactType();
- case OseeDslPackage.XRELATION_TYPE__DEFAULT_ORDER_TYPE:
- return getDefaultOrderType();
- case OseeDslPackage.XRELATION_TYPE__MULTIPLICITY:
- return getMultiplicity();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OseeDslPackage.XRELATION_TYPE__SIDE_ANAME:
- setSideAName((String)newValue);
- return;
- case OseeDslPackage.XRELATION_TYPE__SIDE_AARTIFACT_TYPE:
- setSideAArtifactType((XArtifactType)newValue);
- return;
- case OseeDslPackage.XRELATION_TYPE__SIDE_BNAME:
- setSideBName((String)newValue);
- return;
- case OseeDslPackage.XRELATION_TYPE__SIDE_BARTIFACT_TYPE:
- setSideBArtifactType((XArtifactType)newValue);
- return;
- case OseeDslPackage.XRELATION_TYPE__DEFAULT_ORDER_TYPE:
- setDefaultOrderType((String)newValue);
- return;
- case OseeDslPackage.XRELATION_TYPE__MULTIPLICITY:
- setMultiplicity((RelationMultiplicityEnum)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.XRELATION_TYPE__SIDE_ANAME:
- setSideAName(SIDE_ANAME_EDEFAULT);
- return;
- case OseeDslPackage.XRELATION_TYPE__SIDE_AARTIFACT_TYPE:
- setSideAArtifactType((XArtifactType)null);
- return;
- case OseeDslPackage.XRELATION_TYPE__SIDE_BNAME:
- setSideBName(SIDE_BNAME_EDEFAULT);
- return;
- case OseeDslPackage.XRELATION_TYPE__SIDE_BARTIFACT_TYPE:
- setSideBArtifactType((XArtifactType)null);
- return;
- case OseeDslPackage.XRELATION_TYPE__DEFAULT_ORDER_TYPE:
- setDefaultOrderType(DEFAULT_ORDER_TYPE_EDEFAULT);
- return;
- case OseeDslPackage.XRELATION_TYPE__MULTIPLICITY:
- setMultiplicity(MULTIPLICITY_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OseeDslPackage.XRELATION_TYPE__SIDE_ANAME:
- return SIDE_ANAME_EDEFAULT == null ? sideAName != null : !SIDE_ANAME_EDEFAULT.equals(sideAName);
- case OseeDslPackage.XRELATION_TYPE__SIDE_AARTIFACT_TYPE:
- return sideAArtifactType != null;
- case OseeDslPackage.XRELATION_TYPE__SIDE_BNAME:
- return SIDE_BNAME_EDEFAULT == null ? sideBName != null : !SIDE_BNAME_EDEFAULT.equals(sideBName);
- case OseeDslPackage.XRELATION_TYPE__SIDE_BARTIFACT_TYPE:
- return sideBArtifactType != null;
- case OseeDslPackage.XRELATION_TYPE__DEFAULT_ORDER_TYPE:
- return DEFAULT_ORDER_TYPE_EDEFAULT == null ? defaultOrderType != null : !DEFAULT_ORDER_TYPE_EDEFAULT.equals(defaultOrderType);
- case OseeDslPackage.XRELATION_TYPE__MULTIPLICITY:
- return multiplicity != MULTIPLICITY_EDEFAULT;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (sideAName: ");
- result.append(sideAName);
- result.append(", sideBName: ");
- result.append(sideBName);
- result.append(", defaultOrderType: ");
- result.append(defaultOrderType);
- result.append(", multiplicity: ");
- result.append(multiplicity);
- result.append(')');
- return result.toString();
- }
-
-} //XRelationTypeImpl
+/** + * <copyright> + * </copyright> + * + + */ +package org.eclipse.osee.framework.core.dsl.oseeDsl.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage; +import org.eclipse.osee.framework.core.dsl.oseeDsl.RelationMultiplicityEnum; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType; +import org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>XRelation Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl#getSideAName <em>Side AName</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl#getSideAArtifactType <em>Side AArtifact Type</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl#getSideBName <em>Side BName</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl#getSideBArtifactType <em>Side BArtifact Type</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl#getDefaultOrderType <em>Default Order Type</em>}</li> + * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.XRelationTypeImpl#getMultiplicity <em>Multiplicity</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class XRelationTypeImpl extends OseeTypeImpl implements XRelationType +{ + /** + * The default value of the '{@link #getSideAName() <em>Side AName</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getSideAName() + * @generated + * @ordered + */ + protected static final String SIDE_ANAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getSideAName() <em>Side AName</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getSideAName() + * @generated + * @ordered + */ + protected String sideAName = SIDE_ANAME_EDEFAULT; + + /** + * The cached value of the '{@link #getSideAArtifactType() <em>Side AArtifact Type</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getSideAArtifactType() + * @generated + * @ordered + */ + protected XArtifactType sideAArtifactType; + + /** + * The default value of the '{@link #getSideBName() <em>Side BName</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getSideBName() + * @generated + * @ordered + */ + protected static final String SIDE_BNAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getSideBName() <em>Side BName</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getSideBName() + * @generated + * @ordered + */ + protected String sideBName = SIDE_BNAME_EDEFAULT; + + /** + * The cached value of the '{@link #getSideBArtifactType() <em>Side BArtifact Type</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getSideBArtifactType() + * @generated + * @ordered + */ + protected XArtifactType sideBArtifactType; + + /** + * The default value of the '{@link #getDefaultOrderType() <em>Default Order Type</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDefaultOrderType() + * @generated + * @ordered + */ + protected static final String DEFAULT_ORDER_TYPE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDefaultOrderType() <em>Default Order Type</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDefaultOrderType() + * @generated + * @ordered + */ + protected String defaultOrderType = DEFAULT_ORDER_TYPE_EDEFAULT; + + /** + * The default value of the '{@link #getMultiplicity() <em>Multiplicity</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMultiplicity() + * @generated + * @ordered + */ + protected static final RelationMultiplicityEnum MULTIPLICITY_EDEFAULT = RelationMultiplicityEnum.ONE_TO_ONE; + + /** + * The cached value of the '{@link #getMultiplicity() <em>Multiplicity</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMultiplicity() + * @generated + * @ordered + */ + protected RelationMultiplicityEnum multiplicity = MULTIPLICITY_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected XRelationTypeImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return OseeDslPackage.Literals.XRELATION_TYPE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getSideAName() + { + return sideAName; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setSideAName(String newSideAName) + { + String oldSideAName = sideAName; + sideAName = newSideAName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XRELATION_TYPE__SIDE_ANAME, oldSideAName, sideAName)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XArtifactType getSideAArtifactType() + { + if (sideAArtifactType != null && sideAArtifactType.eIsProxy()) + { + InternalEObject oldSideAArtifactType = (InternalEObject)sideAArtifactType; + sideAArtifactType = (XArtifactType)eResolveProxy(oldSideAArtifactType); + if (sideAArtifactType != oldSideAArtifactType) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.XRELATION_TYPE__SIDE_AARTIFACT_TYPE, oldSideAArtifactType, sideAArtifactType)); + } + } + return sideAArtifactType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XArtifactType basicGetSideAArtifactType() + { + return sideAArtifactType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setSideAArtifactType(XArtifactType newSideAArtifactType) + { + XArtifactType oldSideAArtifactType = sideAArtifactType; + sideAArtifactType = newSideAArtifactType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XRELATION_TYPE__SIDE_AARTIFACT_TYPE, oldSideAArtifactType, sideAArtifactType)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getSideBName() + { + return sideBName; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setSideBName(String newSideBName) + { + String oldSideBName = sideBName; + sideBName = newSideBName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XRELATION_TYPE__SIDE_BNAME, oldSideBName, sideBName)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XArtifactType getSideBArtifactType() + { + if (sideBArtifactType != null && sideBArtifactType.eIsProxy()) + { + InternalEObject oldSideBArtifactType = (InternalEObject)sideBArtifactType; + sideBArtifactType = (XArtifactType)eResolveProxy(oldSideBArtifactType); + if (sideBArtifactType != oldSideBArtifactType) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.XRELATION_TYPE__SIDE_BARTIFACT_TYPE, oldSideBArtifactType, sideBArtifactType)); + } + } + return sideBArtifactType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XArtifactType basicGetSideBArtifactType() + { + return sideBArtifactType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setSideBArtifactType(XArtifactType newSideBArtifactType) + { + XArtifactType oldSideBArtifactType = sideBArtifactType; + sideBArtifactType = newSideBArtifactType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XRELATION_TYPE__SIDE_BARTIFACT_TYPE, oldSideBArtifactType, sideBArtifactType)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getDefaultOrderType() + { + return defaultOrderType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setDefaultOrderType(String newDefaultOrderType) + { + String oldDefaultOrderType = defaultOrderType; + defaultOrderType = newDefaultOrderType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XRELATION_TYPE__DEFAULT_ORDER_TYPE, oldDefaultOrderType, defaultOrderType)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RelationMultiplicityEnum getMultiplicity() + { + return multiplicity; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setMultiplicity(RelationMultiplicityEnum newMultiplicity) + { + RelationMultiplicityEnum oldMultiplicity = multiplicity; + multiplicity = newMultiplicity == null ? MULTIPLICITY_EDEFAULT : newMultiplicity; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.XRELATION_TYPE__MULTIPLICITY, oldMultiplicity, multiplicity)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case OseeDslPackage.XRELATION_TYPE__SIDE_ANAME: + return getSideAName(); + case OseeDslPackage.XRELATION_TYPE__SIDE_AARTIFACT_TYPE: + if (resolve) return getSideAArtifactType(); + return basicGetSideAArtifactType(); + case OseeDslPackage.XRELATION_TYPE__SIDE_BNAME: + return getSideBName(); + case OseeDslPackage.XRELATION_TYPE__SIDE_BARTIFACT_TYPE: + if (resolve) return getSideBArtifactType(); + return basicGetSideBArtifactType(); + case OseeDslPackage.XRELATION_TYPE__DEFAULT_ORDER_TYPE: + return getDefaultOrderType(); + case OseeDslPackage.XRELATION_TYPE__MULTIPLICITY: + return getMultiplicity(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case OseeDslPackage.XRELATION_TYPE__SIDE_ANAME: + setSideAName((String)newValue); + return; + case OseeDslPackage.XRELATION_TYPE__SIDE_AARTIFACT_TYPE: + setSideAArtifactType((XArtifactType)newValue); + return; + case OseeDslPackage.XRELATION_TYPE__SIDE_BNAME: + setSideBName((String)newValue); + return; + case OseeDslPackage.XRELATION_TYPE__SIDE_BARTIFACT_TYPE: + setSideBArtifactType((XArtifactType)newValue); + return; + case OseeDslPackage.XRELATION_TYPE__DEFAULT_ORDER_TYPE: + setDefaultOrderType((String)newValue); + return; + case OseeDslPackage.XRELATION_TYPE__MULTIPLICITY: + setMultiplicity((RelationMultiplicityEnum)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case OseeDslPackage.XRELATION_TYPE__SIDE_ANAME: + setSideAName(SIDE_ANAME_EDEFAULT); + return; + case OseeDslPackage.XRELATION_TYPE__SIDE_AARTIFACT_TYPE: + setSideAArtifactType((XArtifactType)null); + return; + case OseeDslPackage.XRELATION_TYPE__SIDE_BNAME: + setSideBName(SIDE_BNAME_EDEFAULT); + return; + case OseeDslPackage.XRELATION_TYPE__SIDE_BARTIFACT_TYPE: + setSideBArtifactType((XArtifactType)null); + return; + case OseeDslPackage.XRELATION_TYPE__DEFAULT_ORDER_TYPE: + setDefaultOrderType(DEFAULT_ORDER_TYPE_EDEFAULT); + return; + case OseeDslPackage.XRELATION_TYPE__MULTIPLICITY: + setMultiplicity(MULTIPLICITY_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case OseeDslPackage.XRELATION_TYPE__SIDE_ANAME: + return SIDE_ANAME_EDEFAULT == null ? sideAName != null : !SIDE_ANAME_EDEFAULT.equals(sideAName); + case OseeDslPackage.XRELATION_TYPE__SIDE_AARTIFACT_TYPE: + return sideAArtifactType != null; + case OseeDslPackage.XRELATION_TYPE__SIDE_BNAME: + return SIDE_BNAME_EDEFAULT == null ? sideBName != null : !SIDE_BNAME_EDEFAULT.equals(sideBName); + case OseeDslPackage.XRELATION_TYPE__SIDE_BARTIFACT_TYPE: + return sideBArtifactType != null; + case OseeDslPackage.XRELATION_TYPE__DEFAULT_ORDER_TYPE: + return DEFAULT_ORDER_TYPE_EDEFAULT == null ? defaultOrderType != null : !DEFAULT_ORDER_TYPE_EDEFAULT.equals(defaultOrderType); + case OseeDslPackage.XRELATION_TYPE__MULTIPLICITY: + return multiplicity != MULTIPLICITY_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (sideAName: "); + result.append(sideAName); + result.append(", sideBName: "); + result.append(sideBName); + result.append(", defaultOrderType: "); + result.append(defaultOrderType); + result.append(", multiplicity: "); + result.append(multiplicity); + result.append(')'); + return result.toString(); + } + +} //XRelationTypeImpl diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/util/OseeDslAdapterFactory.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/util/OseeDslAdapterFactory.java index 95ec39e69b7..4c516f6c49c 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/util/OseeDslAdapterFactory.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/util/OseeDslAdapterFactory.java @@ -1,616 +1,616 @@ -/**
- * <copyright>
- * </copyright>
- *
- - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl.util;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-
-import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.osee.framework.core.dsl.oseeDsl.*;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Adapter Factory</b> for the model.
- * It provides an adapter <code>createXXX</code> method for each class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage
- * @generated
- */
-public class OseeDslAdapterFactory extends AdapterFactoryImpl
-{
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static OseeDslPackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public OseeDslAdapterFactory()
- {
- if (modelPackage == null)
- {
- modelPackage = OseeDslPackage.eINSTANCE;
- }
- }
-
- /**
- * Returns whether this factory is applicable for the type of the object.
- * <!-- begin-user-doc -->
- * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
- * <!-- end-user-doc -->
- * @return whether this factory is applicable for the type of the object.
- * @generated
- */
- @Override
- public boolean isFactoryForType(Object object)
- {
- if (object == modelPackage)
- {
- return true;
- }
- if (object instanceof EObject)
- {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
- }
- return false;
- }
-
- /**
- * The switch that delegates to the <code>createXXX</code> methods.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected OseeDslSwitch<Adapter> modelSwitch =
- new OseeDslSwitch<Adapter>()
- {
- @Override
- public Adapter caseOseeDsl(OseeDsl object)
- {
- return createOseeDslAdapter();
- }
- @Override
- public Adapter caseImport(Import object)
- {
- return createImportAdapter();
- }
- @Override
- public Adapter caseOseeElement(OseeElement object)
- {
- return createOseeElementAdapter();
- }
- @Override
- public Adapter caseOseeType(OseeType object)
- {
- return createOseeTypeAdapter();
- }
- @Override
- public Adapter caseXArtifactType(XArtifactType object)
- {
- return createXArtifactTypeAdapter();
- }
- @Override
- public Adapter caseXAttributeTypeRef(XAttributeTypeRef object)
- {
- return createXAttributeTypeRefAdapter();
- }
- @Override
- public Adapter caseXAttributeType(XAttributeType object)
- {
- return createXAttributeTypeAdapter();
- }
- @Override
- public Adapter caseXOseeEnumType(XOseeEnumType object)
- {
- return createXOseeEnumTypeAdapter();
- }
- @Override
- public Adapter caseXOseeEnumEntry(XOseeEnumEntry object)
- {
- return createXOseeEnumEntryAdapter();
- }
- @Override
- public Adapter caseXOseeEnumOverride(XOseeEnumOverride object)
- {
- return createXOseeEnumOverrideAdapter();
- }
- @Override
- public Adapter caseOverrideOption(OverrideOption object)
- {
- return createOverrideOptionAdapter();
- }
- @Override
- public Adapter caseAddEnum(AddEnum object)
- {
- return createAddEnumAdapter();
- }
- @Override
- public Adapter caseRemoveEnum(RemoveEnum object)
- {
- return createRemoveEnumAdapter();
- }
- @Override
- public Adapter caseXRelationType(XRelationType object)
- {
- return createXRelationTypeAdapter();
- }
- @Override
- public Adapter caseXArtifactRef(XArtifactRef object)
- {
- return createXArtifactRefAdapter();
- }
- @Override
- public Adapter caseXBranchRef(XBranchRef object)
- {
- return createXBranchRefAdapter();
- }
- @Override
- public Adapter caseAccessContext(AccessContext object)
- {
- return createAccessContextAdapter();
- }
- @Override
- public Adapter caseHierarchyRestriction(HierarchyRestriction object)
- {
- return createHierarchyRestrictionAdapter();
- }
- @Override
- public Adapter casePermissionRule(PermissionRule object)
- {
- return createPermissionRuleAdapter();
- }
- @Override
- public Adapter caseObjectRestriction(ObjectRestriction object)
- {
- return createObjectRestrictionAdapter();
- }
- @Override
- public Adapter caseArtifactInstanceRestriction(ArtifactInstanceRestriction object)
- {
- return createArtifactInstanceRestrictionAdapter();
- }
- @Override
- public Adapter caseArtifactTypeRestriction(ArtifactTypeRestriction object)
- {
- return createArtifactTypeRestrictionAdapter();
- }
- @Override
- public Adapter caseRelationTypeRestriction(RelationTypeRestriction object)
- {
- return createRelationTypeRestrictionAdapter();
- }
- @Override
- public Adapter caseAttributeTypeRestriction(AttributeTypeRestriction object)
- {
- return createAttributeTypeRestrictionAdapter();
- }
- @Override
- public Adapter caseAttributeTypeOfArtifactTypeRestriction(AttributeTypeOfArtifactTypeRestriction object)
- {
- return createAttributeTypeOfArtifactTypeRestrictionAdapter();
- }
- @Override
- public Adapter defaultCase(EObject object)
- {
- return createEObjectAdapter();
- }
- };
-
- /**
- * Creates an adapter for the <code>target</code>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param target the object to adapt.
- * @return the adapter for the <code>target</code>.
- * @generated
- */
- @Override
- public Adapter createAdapter(Notifier target)
- {
- return modelSwitch.doSwitch((EObject)target);
- }
-
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl <em>Osee Dsl</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl
- * @generated
- */
- public Adapter createOseeDslAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.Import <em>Import</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.Import
- * @generated
- */
- public Adapter createImportAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeElement <em>Osee Element</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeElement
- * @generated
- */
- public Adapter createOseeElementAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType <em>Osee Type</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType
- * @generated
- */
- public Adapter createOseeTypeAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType <em>XArtifact Type</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType
- * @generated
- */
- public Adapter createXArtifactTypeAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef <em>XAttribute Type Ref</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef
- * @generated
- */
- public Adapter createXAttributeTypeRefAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType <em>XAttribute Type</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType
- * @generated
- */
- public Adapter createXAttributeTypeAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType <em>XOsee Enum Type</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType
- * @generated
- */
- public Adapter createXOseeEnumTypeAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry <em>XOsee Enum Entry</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry
- * @generated
- */
- public Adapter createXOseeEnumEntryAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride <em>XOsee Enum Override</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride
- * @generated
- */
- public Adapter createXOseeEnumOverrideAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OverrideOption <em>Override Option</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OverrideOption
- * @generated
- */
- public Adapter createOverrideOptionAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum <em>Add Enum</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum
- * @generated
- */
- public Adapter createAddEnumAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum <em>Remove Enum</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum
- * @generated
- */
- public Adapter createRemoveEnumAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType <em>XRelation Type</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType
- * @generated
- */
- public Adapter createXRelationTypeAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef <em>XArtifact Ref</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef
- * @generated
- */
- public Adapter createXArtifactRefAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef <em>XBranch Ref</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef
- * @generated
- */
- public Adapter createXBranchRefAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext <em>Access Context</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext
- * @generated
- */
- public Adapter createAccessContextAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction <em>Hierarchy Restriction</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction
- * @generated
- */
- public Adapter createHierarchyRestrictionAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule <em>Permission Rule</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule
- * @generated
- */
- public Adapter createPermissionRuleAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ObjectRestriction <em>Object Restriction</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.ObjectRestriction
- * @generated
- */
- public Adapter createObjectRestrictionAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactInstanceRestriction <em>Artifact Instance Restriction</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactInstanceRestriction
- * @generated
- */
- public Adapter createArtifactInstanceRestrictionAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction <em>Artifact Type Restriction</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction
- * @generated
- */
- public Adapter createArtifactTypeRestrictionAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction <em>Relation Type Restriction</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction
- * @generated
- */
- public Adapter createRelationTypeRestrictionAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction <em>Attribute Type Restriction</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction
- * @generated
- */
- public Adapter createAttributeTypeRestrictionAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction <em>Attribute Type Of Artifact Type Restriction</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction
- * @generated
- */
- public Adapter createAttributeTypeOfArtifactTypeRestrictionAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for the default case.
- * <!-- begin-user-doc -->
- * This default implementation returns null.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @generated
- */
- public Adapter createEObjectAdapter()
- {
- return null;
- }
-
-} //OseeDslAdapterFactory
+/** + * <copyright> + * </copyright> + * + + */ +package org.eclipse.osee.framework.core.dsl.oseeDsl.util; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.osee.framework.core.dsl.oseeDsl.*; + +/** + * <!-- begin-user-doc --> + * The <b>Adapter Factory</b> for the model. + * It provides an adapter <code>createXXX</code> method for each class of the model. + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage + * @generated + */ +public class OseeDslAdapterFactory extends AdapterFactoryImpl +{ + /** + * The cached model package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected static OseeDslPackage modelPackage; + + /** + * Creates an instance of the adapter factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public OseeDslAdapterFactory() + { + if (modelPackage == null) + { + modelPackage = OseeDslPackage.eINSTANCE; + } + } + + /** + * Returns whether this factory is applicable for the type of the object. + * <!-- begin-user-doc --> + * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. + * <!-- end-user-doc --> + * @return whether this factory is applicable for the type of the object. + * @generated + */ + @Override + public boolean isFactoryForType(Object object) + { + if (object == modelPackage) + { + return true; + } + if (object instanceof EObject) + { + return ((EObject)object).eClass().getEPackage() == modelPackage; + } + return false; + } + + /** + * The switch that delegates to the <code>createXXX</code> methods. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected OseeDslSwitch<Adapter> modelSwitch = + new OseeDslSwitch<Adapter>() + { + @Override + public Adapter caseOseeDsl(OseeDsl object) + { + return createOseeDslAdapter(); + } + @Override + public Adapter caseImport(Import object) + { + return createImportAdapter(); + } + @Override + public Adapter caseOseeElement(OseeElement object) + { + return createOseeElementAdapter(); + } + @Override + public Adapter caseOseeType(OseeType object) + { + return createOseeTypeAdapter(); + } + @Override + public Adapter caseXArtifactType(XArtifactType object) + { + return createXArtifactTypeAdapter(); + } + @Override + public Adapter caseXAttributeTypeRef(XAttributeTypeRef object) + { + return createXAttributeTypeRefAdapter(); + } + @Override + public Adapter caseXAttributeType(XAttributeType object) + { + return createXAttributeTypeAdapter(); + } + @Override + public Adapter caseXOseeEnumType(XOseeEnumType object) + { + return createXOseeEnumTypeAdapter(); + } + @Override + public Adapter caseXOseeEnumEntry(XOseeEnumEntry object) + { + return createXOseeEnumEntryAdapter(); + } + @Override + public Adapter caseXOseeEnumOverride(XOseeEnumOverride object) + { + return createXOseeEnumOverrideAdapter(); + } + @Override + public Adapter caseOverrideOption(OverrideOption object) + { + return createOverrideOptionAdapter(); + } + @Override + public Adapter caseAddEnum(AddEnum object) + { + return createAddEnumAdapter(); + } + @Override + public Adapter caseRemoveEnum(RemoveEnum object) + { + return createRemoveEnumAdapter(); + } + @Override + public Adapter caseXRelationType(XRelationType object) + { + return createXRelationTypeAdapter(); + } + @Override + public Adapter caseXArtifactRef(XArtifactRef object) + { + return createXArtifactRefAdapter(); + } + @Override + public Adapter caseXBranchRef(XBranchRef object) + { + return createXBranchRefAdapter(); + } + @Override + public Adapter caseAccessContext(AccessContext object) + { + return createAccessContextAdapter(); + } + @Override + public Adapter caseHierarchyRestriction(HierarchyRestriction object) + { + return createHierarchyRestrictionAdapter(); + } + @Override + public Adapter casePermissionRule(PermissionRule object) + { + return createPermissionRuleAdapter(); + } + @Override + public Adapter caseObjectRestriction(ObjectRestriction object) + { + return createObjectRestrictionAdapter(); + } + @Override + public Adapter caseArtifactInstanceRestriction(ArtifactInstanceRestriction object) + { + return createArtifactInstanceRestrictionAdapter(); + } + @Override + public Adapter caseArtifactTypeRestriction(ArtifactTypeRestriction object) + { + return createArtifactTypeRestrictionAdapter(); + } + @Override + public Adapter caseRelationTypeRestriction(RelationTypeRestriction object) + { + return createRelationTypeRestrictionAdapter(); + } + @Override + public Adapter caseAttributeTypeRestriction(AttributeTypeRestriction object) + { + return createAttributeTypeRestrictionAdapter(); + } + @Override + public Adapter caseAttributeTypeOfArtifactTypeRestriction(AttributeTypeOfArtifactTypeRestriction object) + { + return createAttributeTypeOfArtifactTypeRestrictionAdapter(); + } + @Override + public Adapter defaultCase(EObject object) + { + return createEObjectAdapter(); + } + }; + + /** + * Creates an adapter for the <code>target</code>. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param target the object to adapt. + * @return the adapter for the <code>target</code>. + * @generated + */ + @Override + public Adapter createAdapter(Notifier target) + { + return modelSwitch.doSwitch((EObject)target); + } + + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl <em>Osee Dsl</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl + * @generated + */ + public Adapter createOseeDslAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.Import <em>Import</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.Import + * @generated + */ + public Adapter createImportAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeElement <em>Osee Element</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeElement + * @generated + */ + public Adapter createOseeElementAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType <em>Osee Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType + * @generated + */ + public Adapter createOseeTypeAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType <em>XArtifact Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactType + * @generated + */ + public Adapter createXArtifactTypeAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef <em>XAttribute Type Ref</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeTypeRef + * @generated + */ + public Adapter createXAttributeTypeRefAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType <em>XAttribute Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XAttributeType + * @generated + */ + public Adapter createXAttributeTypeAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType <em>XOsee Enum Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumType + * @generated + */ + public Adapter createXOseeEnumTypeAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry <em>XOsee Enum Entry</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumEntry + * @generated + */ + public Adapter createXOseeEnumEntryAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride <em>XOsee Enum Override</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XOseeEnumOverride + * @generated + */ + public Adapter createXOseeEnumOverrideAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.OverrideOption <em>Override Option</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OverrideOption + * @generated + */ + public Adapter createOverrideOptionAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum <em>Add Enum</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AddEnum + * @generated + */ + public Adapter createAddEnumAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum <em>Remove Enum</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RemoveEnum + * @generated + */ + public Adapter createRemoveEnumAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType <em>XRelation Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XRelationType + * @generated + */ + public Adapter createXRelationTypeAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef <em>XArtifact Ref</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactRef + * @generated + */ + public Adapter createXArtifactRefAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef <em>XBranch Ref</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.XBranchRef + * @generated + */ + public Adapter createXBranchRefAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext <em>Access Context</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext + * @generated + */ + public Adapter createAccessContextAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction <em>Hierarchy Restriction</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.HierarchyRestriction + * @generated + */ + public Adapter createHierarchyRestrictionAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule <em>Permission Rule</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.PermissionRule + * @generated + */ + public Adapter createPermissionRuleAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ObjectRestriction <em>Object Restriction</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.ObjectRestriction + * @generated + */ + public Adapter createObjectRestrictionAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactInstanceRestriction <em>Artifact Instance Restriction</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactInstanceRestriction + * @generated + */ + public Adapter createArtifactInstanceRestrictionAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction <em>Artifact Type Restriction</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.ArtifactTypeRestriction + * @generated + */ + public Adapter createArtifactTypeRestrictionAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction <em>Relation Type Restriction</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeRestriction + * @generated + */ + public Adapter createRelationTypeRestrictionAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction <em>Attribute Type Restriction</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeRestriction + * @generated + */ + public Adapter createAttributeTypeRestrictionAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction <em>Attribute Type Of Artifact Type Restriction</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.AttributeTypeOfArtifactTypeRestriction + * @generated + */ + public Adapter createAttributeTypeOfArtifactTypeRestrictionAdapter() + { + return null; + } + + /** + * Creates a new adapter for the default case. + * <!-- begin-user-doc --> + * This default implementation returns null. + * <!-- end-user-doc --> + * @return the new adapter. + * @generated + */ + public Adapter createEObjectAdapter() + { + return null; + } + +} //OseeDslAdapterFactory diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/util/OseeDslSwitch.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/util/OseeDslSwitch.java index da4cb0a6736..a0406fde8c7 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/util/OseeDslSwitch.java +++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/util/OseeDslSwitch.java @@ -1,711 +1,711 @@ -/**
- * <copyright>
- * </copyright>
- *
- - */
-package org.eclipse.osee.framework.core.dsl.oseeDsl.util;
-
-import java.util.List;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.osee.framework.core.dsl.oseeDsl.*;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Switch</b> for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
- * to invoke the <code>caseXXX</code> method for each class of the model,
- * starting with the actual class of the object
- * and proceeding up the inheritance hierarchy
- * until a non-null result is returned,
- * which is the result of the switch.
- * <!-- end-user-doc -->
- * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage
- * @generated
- */
-public class OseeDslSwitch<T>
-{
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static OseeDslPackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public OseeDslSwitch()
- {
- if (modelPackage == null)
- {
- modelPackage = OseeDslPackage.eINSTANCE;
- }
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- public T doSwitch(EObject theEObject)
- {
- return doSwitch(theEObject.eClass(), theEObject);
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- protected T doSwitch(EClass theEClass, EObject theEObject)
- {
- if (theEClass.eContainer() == modelPackage)
- {
- return doSwitch(theEClass.getClassifierID(), theEObject);
- }
- else
- {
- List<EClass> eSuperTypes = theEClass.getESuperTypes();
- return
- eSuperTypes.isEmpty() ?
- defaultCase(theEObject) :
- doSwitch(eSuperTypes.get(0), theEObject);
- }
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- protected T doSwitch(int classifierID, EObject theEObject)
- {
- switch (classifierID)
- {
- case OseeDslPackage.OSEE_DSL:
- {
- OseeDsl oseeDsl = (OseeDsl)theEObject;
- T result = caseOseeDsl(oseeDsl);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OseeDslPackage.IMPORT:
- {
- Import import_ = (Import)theEObject;
- T result = caseImport(import_);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OseeDslPackage.OSEE_ELEMENT:
- {
- OseeElement oseeElement = (OseeElement)theEObject;
- T result = caseOseeElement(oseeElement);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OseeDslPackage.OSEE_TYPE:
- {
- OseeType oseeType = (OseeType)theEObject;
- T result = caseOseeType(oseeType);
- if (result == null) result = caseOseeElement(oseeType);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OseeDslPackage.XARTIFACT_TYPE:
- {
- XArtifactType xArtifactType = (XArtifactType)theEObject;
- T result = caseXArtifactType(xArtifactType);
- if (result == null) result = caseOseeType(xArtifactType);
- if (result == null) result = caseOseeElement(xArtifactType);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OseeDslPackage.XATTRIBUTE_TYPE_REF:
- {
- XAttributeTypeRef xAttributeTypeRef = (XAttributeTypeRef)theEObject;
- T result = caseXAttributeTypeRef(xAttributeTypeRef);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OseeDslPackage.XATTRIBUTE_TYPE:
- {
- XAttributeType xAttributeType = (XAttributeType)theEObject;
- T result = caseXAttributeType(xAttributeType);
- if (result == null) result = caseOseeType(xAttributeType);
- if (result == null) result = caseOseeElement(xAttributeType);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OseeDslPackage.XOSEE_ENUM_TYPE:
- {
- XOseeEnumType xOseeEnumType = (XOseeEnumType)theEObject;
- T result = caseXOseeEnumType(xOseeEnumType);
- if (result == null) result = caseOseeType(xOseeEnumType);
- if (result == null) result = caseOseeElement(xOseeEnumType);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OseeDslPackage.XOSEE_ENUM_ENTRY:
- {
- XOseeEnumEntry xOseeEnumEntry = (XOseeEnumEntry)theEObject;
- T result = caseXOseeEnumEntry(xOseeEnumEntry);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OseeDslPackage.XOSEE_ENUM_OVERRIDE:
- {
- XOseeEnumOverride xOseeEnumOverride = (XOseeEnumOverride)theEObject;
- T result = caseXOseeEnumOverride(xOseeEnumOverride);
- if (result == null) result = caseOseeElement(xOseeEnumOverride);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OseeDslPackage.OVERRIDE_OPTION:
- {
- OverrideOption overrideOption = (OverrideOption)theEObject;
- T result = caseOverrideOption(overrideOption);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OseeDslPackage.ADD_ENUM:
- {
- AddEnum addEnum = (AddEnum)theEObject;
- T result = caseAddEnum(addEnum);
- if (result == null) result = caseOverrideOption(addEnum);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OseeDslPackage.REMOVE_ENUM:
- {
- RemoveEnum removeEnum = (RemoveEnum)theEObject;
- T result = caseRemoveEnum(removeEnum);
- if (result == null) result = caseOverrideOption(removeEnum);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OseeDslPackage.XRELATION_TYPE:
- {
- XRelationType xRelationType = (XRelationType)theEObject;
- T result = caseXRelationType(xRelationType);
- if (result == null) result = caseOseeType(xRelationType);
- if (result == null) result = caseOseeElement(xRelationType);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OseeDslPackage.XARTIFACT_REF:
- {
- XArtifactRef xArtifactRef = (XArtifactRef)theEObject;
- T result = caseXArtifactRef(xArtifactRef);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OseeDslPackage.XBRANCH_REF:
- {
- XBranchRef xBranchRef = (XBranchRef)theEObject;
- T result = caseXBranchRef(xBranchRef);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OseeDslPackage.ACCESS_CONTEXT:
- {
- AccessContext accessContext = (AccessContext)theEObject;
- T result = caseAccessContext(accessContext);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OseeDslPackage.HIERARCHY_RESTRICTION:
- {
- HierarchyRestriction hierarchyRestriction = (HierarchyRestriction)theEObject;
- T result = caseHierarchyRestriction(hierarchyRestriction);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OseeDslPackage.PERMISSION_RULE:
- {
- PermissionRule permissionRule = (PermissionRule)theEObject;
- T result = casePermissionRule(permissionRule);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OseeDslPackage.OBJECT_RESTRICTION:
- {
- ObjectRestriction objectRestriction = (ObjectRestriction)theEObject;
- T result = caseObjectRestriction(objectRestriction);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OseeDslPackage.ARTIFACT_INSTANCE_RESTRICTION:
- {
- ArtifactInstanceRestriction artifactInstanceRestriction = (ArtifactInstanceRestriction)theEObject;
- T result = caseArtifactInstanceRestriction(artifactInstanceRestriction);
- if (result == null) result = caseObjectRestriction(artifactInstanceRestriction);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OseeDslPackage.ARTIFACT_TYPE_RESTRICTION:
- {
- ArtifactTypeRestriction artifactTypeRestriction = (ArtifactTypeRestriction)theEObject;
- T result = caseArtifactTypeRestriction(artifactTypeRestriction);
- if (result == null) result = caseObjectRestriction(artifactTypeRestriction);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OseeDslPackage.RELATION_TYPE_RESTRICTION:
- {
- RelationTypeRestriction relationTypeRestriction = (RelationTypeRestriction)theEObject;
- T result = caseRelationTypeRestriction(relationTypeRestriction);
- if (result == null) result = caseObjectRestriction(relationTypeRestriction);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION:
- {
- AttributeTypeRestriction attributeTypeRestriction = (AttributeTypeRestriction)theEObject;
- T result = caseAttributeTypeRestriction(attributeTypeRestriction);
- if (result == null) result = caseObjectRestriction(attributeTypeRestriction);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION:
- {
- AttributeTypeOfArtifactTypeRestriction attributeTypeOfArtifactTypeRestriction = (AttributeTypeOfArtifactTypeRestriction)theEObject;
- T result = caseAttributeTypeOfArtifactTypeRestriction(attributeTypeOfArtifactTypeRestriction);
- if (result == null) result = caseObjectRestriction(attributeTypeOfArtifactTypeRestriction);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
- }
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Osee Dsl</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Osee Dsl</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseOseeDsl(OseeDsl object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Import</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Import</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseImport(Import object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Osee Element</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Osee Element</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseOseeElement(OseeElement object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Osee Type</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Osee Type</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseOseeType(OseeType object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>XArtifact Type</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>XArtifact Type</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseXArtifactType(XArtifactType object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>XAttribute Type Ref</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>XAttribute Type Ref</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseXAttributeTypeRef(XAttributeTypeRef object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>XAttribute Type</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>XAttribute Type</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseXAttributeType(XAttributeType object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>XOsee Enum Type</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>XOsee Enum Type</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseXOseeEnumType(XOseeEnumType object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>XOsee Enum Entry</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>XOsee Enum Entry</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseXOseeEnumEntry(XOseeEnumEntry object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>XOsee Enum Override</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>XOsee Enum Override</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseXOseeEnumOverride(XOseeEnumOverride object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Override Option</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Override Option</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseOverrideOption(OverrideOption object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Add Enum</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Add Enum</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseAddEnum(AddEnum object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Remove Enum</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Remove Enum</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseRemoveEnum(RemoveEnum object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>XRelation Type</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>XRelation Type</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseXRelationType(XRelationType object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>XArtifact Ref</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>XArtifact Ref</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseXArtifactRef(XArtifactRef object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>XBranch Ref</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>XBranch Ref</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseXBranchRef(XBranchRef object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Access Context</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Access Context</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseAccessContext(AccessContext object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Hierarchy Restriction</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Hierarchy Restriction</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseHierarchyRestriction(HierarchyRestriction object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Permission Rule</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Permission Rule</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T casePermissionRule(PermissionRule object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Object Restriction</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Object Restriction</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseObjectRestriction(ObjectRestriction object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Artifact Instance Restriction</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Artifact Instance Restriction</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseArtifactInstanceRestriction(ArtifactInstanceRestriction object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Artifact Type Restriction</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Artifact Type Restriction</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseArtifactTypeRestriction(ArtifactTypeRestriction object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Relation Type Restriction</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Relation Type Restriction</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseRelationTypeRestriction(RelationTypeRestriction object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Attribute Type Restriction</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Attribute Type Restriction</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseAttributeTypeRestriction(AttributeTypeRestriction object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Attribute Type Of Artifact Type Restriction</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Attribute Type Of Artifact Type Restriction</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseAttributeTypeOfArtifactTypeRestriction(AttributeTypeOfArtifactTypeRestriction object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch, but this is the last case anyway.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
- public T defaultCase(EObject object)
- {
- return null;
- }
-
-} //OseeDslSwitch
+/** + * <copyright> + * </copyright> + * + + */ +package org.eclipse.osee.framework.core.dsl.oseeDsl.util; + +import java.util.List; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.osee.framework.core.dsl.oseeDsl.*; + +/** + * <!-- begin-user-doc --> + * The <b>Switch</b> for the model's inheritance hierarchy. + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the <code>caseXXX</code> method for each class of the model, + * starting with the actual class of the object + * and proceeding up the inheritance hierarchy + * until a non-null result is returned, + * which is the result of the switch. + * <!-- end-user-doc --> + * @see org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage + * @generated + */ +public class OseeDslSwitch<T> +{ + /** + * The cached model package + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected static OseeDslPackage modelPackage; + + /** + * Creates an instance of the switch. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public OseeDslSwitch() + { + if (modelPackage == null) + { + modelPackage = OseeDslPackage.eINSTANCE; + } + } + + /** + * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the first non-null result returned by a <code>caseXXX</code> call. + * @generated + */ + public T doSwitch(EObject theEObject) + { + return doSwitch(theEObject.eClass(), theEObject); + } + + /** + * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the first non-null result returned by a <code>caseXXX</code> call. + * @generated + */ + protected T doSwitch(EClass theEClass, EObject theEObject) + { + if (theEClass.eContainer() == modelPackage) + { + return doSwitch(theEClass.getClassifierID(), theEObject); + } + else + { + List<EClass> eSuperTypes = theEClass.getESuperTypes(); + return + eSuperTypes.isEmpty() ? + defaultCase(theEObject) : + doSwitch(eSuperTypes.get(0), theEObject); + } + } + + /** + * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the first non-null result returned by a <code>caseXXX</code> call. + * @generated + */ + protected T doSwitch(int classifierID, EObject theEObject) + { + switch (classifierID) + { + case OseeDslPackage.OSEE_DSL: + { + OseeDsl oseeDsl = (OseeDsl)theEObject; + T result = caseOseeDsl(oseeDsl); + if (result == null) result = defaultCase(theEObject); + return result; + } + case OseeDslPackage.IMPORT: + { + Import import_ = (Import)theEObject; + T result = caseImport(import_); + if (result == null) result = defaultCase(theEObject); + return result; + } + case OseeDslPackage.OSEE_ELEMENT: + { + OseeElement oseeElement = (OseeElement)theEObject; + T result = caseOseeElement(oseeElement); + if (result == null) result = defaultCase(theEObject); + return result; + } + case OseeDslPackage.OSEE_TYPE: + { + OseeType oseeType = (OseeType)theEObject; + T result = caseOseeType(oseeType); + if (result == null) result = caseOseeElement(oseeType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case OseeDslPackage.XARTIFACT_TYPE: + { + XArtifactType xArtifactType = (XArtifactType)theEObject; + T result = caseXArtifactType(xArtifactType); + if (result == null) result = caseOseeType(xArtifactType); + if (result == null) result = caseOseeElement(xArtifactType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case OseeDslPackage.XATTRIBUTE_TYPE_REF: + { + XAttributeTypeRef xAttributeTypeRef = (XAttributeTypeRef)theEObject; + T result = caseXAttributeTypeRef(xAttributeTypeRef); + if (result == null) result = defaultCase(theEObject); + return result; + } + case OseeDslPackage.XATTRIBUTE_TYPE: + { + XAttributeType xAttributeType = (XAttributeType)theEObject; + T result = caseXAttributeType(xAttributeType); + if (result == null) result = caseOseeType(xAttributeType); + if (result == null) result = caseOseeElement(xAttributeType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case OseeDslPackage.XOSEE_ENUM_TYPE: + { + XOseeEnumType xOseeEnumType = (XOseeEnumType)theEObject; + T result = caseXOseeEnumType(xOseeEnumType); + if (result == null) result = caseOseeType(xOseeEnumType); + if (result == null) result = caseOseeElement(xOseeEnumType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case OseeDslPackage.XOSEE_ENUM_ENTRY: + { + XOseeEnumEntry xOseeEnumEntry = (XOseeEnumEntry)theEObject; + T result = caseXOseeEnumEntry(xOseeEnumEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case OseeDslPackage.XOSEE_ENUM_OVERRIDE: + { + XOseeEnumOverride xOseeEnumOverride = (XOseeEnumOverride)theEObject; + T result = caseXOseeEnumOverride(xOseeEnumOverride); + if (result == null) result = caseOseeElement(xOseeEnumOverride); + if (result == null) result = defaultCase(theEObject); + return result; + } + case OseeDslPackage.OVERRIDE_OPTION: + { + OverrideOption overrideOption = (OverrideOption)theEObject; + T result = caseOverrideOption(overrideOption); + if (result == null) result = defaultCase(theEObject); + return result; + } + case OseeDslPackage.ADD_ENUM: + { + AddEnum addEnum = (AddEnum)theEObject; + T result = caseAddEnum(addEnum); + if (result == null) result = caseOverrideOption(addEnum); + if (result == null) result = defaultCase(theEObject); + return result; + } + case OseeDslPackage.REMOVE_ENUM: + { + RemoveEnum removeEnum = (RemoveEnum)theEObject; + T result = caseRemoveEnum(removeEnum); + if (result == null) result = caseOverrideOption(removeEnum); + if (result == null) result = defaultCase(theEObject); + return result; + } + case OseeDslPackage.XRELATION_TYPE: + { + XRelationType xRelationType = (XRelationType)theEObject; + T result = caseXRelationType(xRelationType); + if (result == null) result = caseOseeType(xRelationType); + if (result == null) result = caseOseeElement(xRelationType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case OseeDslPackage.XARTIFACT_REF: + { + XArtifactRef xArtifactRef = (XArtifactRef)theEObject; + T result = caseXArtifactRef(xArtifactRef); + if (result == null) result = defaultCase(theEObject); + return result; + } + case OseeDslPackage.XBRANCH_REF: + { + XBranchRef xBranchRef = (XBranchRef)theEObject; + T result = caseXBranchRef(xBranchRef); + if (result == null) result = defaultCase(theEObject); + return result; + } + case OseeDslPackage.ACCESS_CONTEXT: + { + AccessContext accessContext = (AccessContext)theEObject; + T result = caseAccessContext(accessContext); + if (result == null) result = defaultCase(theEObject); + return result; + } + case OseeDslPackage.HIERARCHY_RESTRICTION: + { + HierarchyRestriction hierarchyRestriction = (HierarchyRestriction)theEObject; + T result = caseHierarchyRestriction(hierarchyRestriction); + if (result == null) result = defaultCase(theEObject); + return result; + } + case OseeDslPackage.PERMISSION_RULE: + { + PermissionRule permissionRule = (PermissionRule)theEObject; + T result = casePermissionRule(permissionRule); + if (result == null) result = defaultCase(theEObject); + return result; + } + case OseeDslPackage.OBJECT_RESTRICTION: + { + ObjectRestriction objectRestriction = (ObjectRestriction)theEObject; + T result = caseObjectRestriction(objectRestriction); + if (result == null) result = defaultCase(theEObject); + return result; + } + case OseeDslPackage.ARTIFACT_INSTANCE_RESTRICTION: + { + ArtifactInstanceRestriction artifactInstanceRestriction = (ArtifactInstanceRestriction)theEObject; + T result = caseArtifactInstanceRestriction(artifactInstanceRestriction); + if (result == null) result = caseObjectRestriction(artifactInstanceRestriction); + if (result == null) result = defaultCase(theEObject); + return result; + } + case OseeDslPackage.ARTIFACT_TYPE_RESTRICTION: + { + ArtifactTypeRestriction artifactTypeRestriction = (ArtifactTypeRestriction)theEObject; + T result = caseArtifactTypeRestriction(artifactTypeRestriction); + if (result == null) result = caseObjectRestriction(artifactTypeRestriction); + if (result == null) result = defaultCase(theEObject); + return result; + } + case OseeDslPackage.RELATION_TYPE_RESTRICTION: + { + RelationTypeRestriction relationTypeRestriction = (RelationTypeRestriction)theEObject; + T result = caseRelationTypeRestriction(relationTypeRestriction); + if (result == null) result = caseObjectRestriction(relationTypeRestriction); + if (result == null) result = defaultCase(theEObject); + return result; + } + case OseeDslPackage.ATTRIBUTE_TYPE_RESTRICTION: + { + AttributeTypeRestriction attributeTypeRestriction = (AttributeTypeRestriction)theEObject; + T result = caseAttributeTypeRestriction(attributeTypeRestriction); + if (result == null) result = caseObjectRestriction(attributeTypeRestriction); + if (result == null) result = defaultCase(theEObject); + return result; + } + case OseeDslPackage.ATTRIBUTE_TYPE_OF_ARTIFACT_TYPE_RESTRICTION: + { + AttributeTypeOfArtifactTypeRestriction attributeTypeOfArtifactTypeRestriction = (AttributeTypeOfArtifactTypeRestriction)theEObject; + T result = caseAttributeTypeOfArtifactTypeRestriction(attributeTypeOfArtifactTypeRestriction); + if (result == null) result = caseObjectRestriction(attributeTypeOfArtifactTypeRestriction); + if (result == null) result = defaultCase(theEObject); + return result; + } + default: return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Osee Dsl</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Osee Dsl</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseOseeDsl(OseeDsl object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Import</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Import</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseImport(Import object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Osee Element</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Osee Element</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseOseeElement(OseeElement object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Osee Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Osee Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseOseeType(OseeType object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>XArtifact Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>XArtifact Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseXArtifactType(XArtifactType object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>XAttribute Type Ref</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>XAttribute Type Ref</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseXAttributeTypeRef(XAttributeTypeRef object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>XAttribute Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>XAttribute Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseXAttributeType(XAttributeType object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>XOsee Enum Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>XOsee Enum Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseXOseeEnumType(XOseeEnumType object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>XOsee Enum Entry</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>XOsee Enum Entry</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseXOseeEnumEntry(XOseeEnumEntry object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>XOsee Enum Override</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>XOsee Enum Override</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseXOseeEnumOverride(XOseeEnumOverride object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Override Option</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Override Option</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseOverrideOption(OverrideOption object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Add Enum</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Add Enum</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAddEnum(AddEnum object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Remove Enum</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Remove Enum</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRemoveEnum(RemoveEnum object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>XRelation Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>XRelation Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseXRelationType(XRelationType object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>XArtifact Ref</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>XArtifact Ref</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseXArtifactRef(XArtifactRef object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>XBranch Ref</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>XBranch Ref</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseXBranchRef(XBranchRef object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Access Context</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Access Context</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAccessContext(AccessContext object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Hierarchy Restriction</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Hierarchy Restriction</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseHierarchyRestriction(HierarchyRestriction object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Permission Rule</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Permission Rule</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePermissionRule(PermissionRule object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Object Restriction</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Object Restriction</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseObjectRestriction(ObjectRestriction object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Artifact Instance Restriction</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Artifact Instance Restriction</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseArtifactInstanceRestriction(ArtifactInstanceRestriction object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Artifact Type Restriction</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Artifact Type Restriction</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseArtifactTypeRestriction(ArtifactTypeRestriction object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Relation Type Restriction</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Relation Type Restriction</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRelationTypeRestriction(RelationTypeRestriction object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Attribute Type Restriction</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Attribute Type Restriction</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAttributeTypeRestriction(AttributeTypeRestriction object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Attribute Type Of Artifact Type Restriction</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Attribute Type Of Artifact Type Restriction</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAttributeTypeOfArtifactTypeRestriction(AttributeTypeOfArtifactTypeRestriction object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch, but this is the last case anyway. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>EObject</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) + * @generated + */ + public T defaultCase(EObject object) + { + return null; + } + +} //OseeDslSwitch |