diff options
author | Olivier Lamy <olamy@apache.org> | 2013-05-21 10:44:20 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2013-05-21 10:44:20 +0000 |
commit | 8998f919420bf4ffb198f2cc31b3a3a33a55a838 (patch) | |
tree | cc5a34929882d7544c2f8f323ef4c141cef91284 /archiva-modules/metadata/metadata-model/src | |
parent | 81af14c206dde756a24a2665235f28d291c551ff (diff) | |
download | archiva-8998f919420bf4ffb198f2cc31b3a3a33a55a838.tar.gz archiva-8998f919420bf4ffb198f2cc31b3a3a33a55a838.zip |
add @Entity annotation to ease cassandra impl
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1484745 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/metadata/metadata-model/src')
4 files changed, 8 insertions, 0 deletions
diff --git a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/CiManagement.java b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/CiManagement.java index d9b643449..c52d6c258 100644 --- a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/CiManagement.java +++ b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/CiManagement.java @@ -19,6 +19,7 @@ package org.apache.archiva.metadata.model; * under the License. */ +import javax.persistence.Entity; import javax.xml.bind.annotation.XmlRootElement; import java.io.Serializable; @@ -28,6 +29,7 @@ import java.io.Serializable; * @todo considering moving this to a facet - avoid referring to it externally */ @XmlRootElement(name = "ciManagement") +@Entity public class CiManagement implements Serializable { diff --git a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/IssueManagement.java b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/IssueManagement.java index 04f039d96..4d304afaa 100644 --- a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/IssueManagement.java +++ b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/IssueManagement.java @@ -19,6 +19,7 @@ package org.apache.archiva.metadata.model; * under the License. */ +import javax.persistence.Entity; import javax.xml.bind.annotation.XmlRootElement; import java.io.Serializable; @@ -28,6 +29,7 @@ import java.io.Serializable; * @todo considering moving this to a facet - avoid referring to it externally */ @XmlRootElement(name = "issueManagement") +@Entity public class IssueManagement implements Serializable { diff --git a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Organization.java b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Organization.java index 603c44213..9b8961399 100644 --- a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Organization.java +++ b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Organization.java @@ -19,10 +19,12 @@ package org.apache.archiva.metadata.model; * under the License. */ +import javax.persistence.Entity; import javax.xml.bind.annotation.XmlRootElement; import java.io.Serializable; @XmlRootElement(name = "organization") +@Entity public class Organization implements Serializable { diff --git a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Scm.java b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Scm.java index 8086472bd..ff9f704cd 100644 --- a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Scm.java +++ b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Scm.java @@ -19,10 +19,12 @@ package org.apache.archiva.metadata.model; * under the License. */ +import javax.persistence.Entity; import javax.xml.bind.annotation.XmlRootElement; import java.io.Serializable; @XmlRootElement(name = "scm") +@Entity public class Scm implements Serializable { |