summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordterry2013-10-17 13:00:47 (EDT)
committer dterry2013-10-17 13:00:47 (EDT)
commitf1e104a1b1b405a9b4edbbf46afecf6c85f7e61c (patch)
tree18559b7980ca5e2b4af4448a73a15f3db5fc50d7
parent9c0ed89d54308c397eb6a7e7a922c523a2c5c8a6 (diff)
downloadorg.eclipse.lyo.core-f1e104a1b1b405a9b4edbbf46afecf6c85f7e61c.zip
org.eclipse.lyo.core-f1e104a1b1b405a9b4edbbf46afecf6c85f7e61c.tar.gz
org.eclipse.lyo.core-f1e104a1b1b405a9b4edbbf46afecf6c85f7e61c.tar.bz2
[Bug 419625] Should not instantiate TRS ChangeEvent classrefs/changes/72/17472/1
Change-Id: I8e7882ce8bd729e0ed216c7db1be4db9002083f9 Signed-off-by: dterry <dgterry@us.ibm.com>
-rw-r--r--org.eclipse.lyo.core.trs/src/main/java/org/eclipse/lyo/core/trs/ChangeEvent.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/org.eclipse.lyo.core.trs/src/main/java/org/eclipse/lyo/core/trs/ChangeEvent.java b/org.eclipse.lyo.core.trs/src/main/java/org/eclipse/lyo/core/trs/ChangeEvent.java
index 8969106..1e48e3c 100644
--- a/org.eclipse.lyo.core.trs/src/main/java/org/eclipse/lyo/core/trs/ChangeEvent.java
+++ b/org.eclipse.lyo.core.trs/src/main/java/org/eclipse/lyo/core/trs/ChangeEvent.java
@@ -26,9 +26,14 @@ import org.eclipse.lyo.oslc4j.core.model.AbstractResource;
import static org.eclipse.lyo.core.trs.TRSConstants.*;
/**
- * Each entry referenced by trs:change is a Local Resource representing a Change Event with the following properties:
+ * Each entry referenced by trs:change is a Local Resource representing a
+ * Change Event consisting of the properties contained in this class.
+ *
+ * Note: This class cannot be instantiated directly. Instead create an instance
+ * of one of the child classes depending on the type of event taking place. The
+ * child classes are: Creation, Modification, and Deletion.
*/
-public class ChangeEvent extends AbstractResource {
+public abstract class ChangeEvent extends AbstractResource {
private URI changed;
private int order;