Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.orcs/src/org/eclipse/osee/orcs/data/RelationReadable.java')
-rw-r--r--plugins/org.eclipse.osee.orcs/src/org/eclipse/osee/orcs/data/RelationReadable.java35
1 files changed, 35 insertions, 0 deletions
diff --git a/plugins/org.eclipse.osee.orcs/src/org/eclipse/osee/orcs/data/RelationReadable.java b/plugins/org.eclipse.osee.orcs/src/org/eclipse/osee/orcs/data/RelationReadable.java
new file mode 100644
index 00000000000..5571466d226
--- /dev/null
+++ b/plugins/org.eclipse.osee.orcs/src/org/eclipse/osee/orcs/data/RelationReadable.java
@@ -0,0 +1,35 @@
+/*******************************************************************************
+ * Copyright (c) 2016 Boeing.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Boeing - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.osee.orcs.data;
+
+import org.eclipse.osee.framework.core.data.IRelationType;
+import org.eclipse.osee.framework.core.data.RelationId;
+import org.eclipse.osee.framework.core.enums.ModificationType;
+import org.eclipse.osee.framework.jdk.core.type.OseeCoreException;
+
+/**
+ * @author Donald G. Dunne
+ */
+public interface RelationReadable<T> extends RelationId, OrcsReadable {
+
+ long getGammaId();
+
+ @Override
+ ModificationType getModificationType();
+
+ IRelationType getRelationType() throws OseeCoreException;
+
+ boolean isOfType(IRelationType relationType) throws OseeCoreException;
+
+ @Override
+ String toString();
+
+} \ No newline at end of file

Back to the top