Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AccessPermissionEnum.java')
-rw-r--r--plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/AccessPermissionEnum.java393
1 files changed, 187 insertions, 206 deletions
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 a770e9e951c..452df05af89 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
@@ -5,219 +5,200 @@ 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 -->
+ * <!-- 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;
+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 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;
- }
-
- /**
- * 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;
- }
-
+ 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
+ */
+ @Override
+ public int getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ 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

Back to the top