aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/metadata/metadata-model/src
diff options
context:
space:
mode:
authorBrett Porter <brett@apache.org>2009-11-27 00:16:19 +0000
committerBrett Porter <brett@apache.org>2009-11-27 00:16:19 +0000
commit9ca17ec770de3824fec6313c5a095cd7cf107c92 (patch)
tree32245afdf640a26357063c48abb3dcb369f4608f /archiva-modules/metadata/metadata-model/src
parentcd4c3cb104aa2ed4153e14a60c322b7845a922da (diff)
downloadarchiva-9ca17ec770de3824fec6313c5a095cd7cf107c92.tar.gz
archiva-9ca17ec770de3824fec6313c5a095cd7cf107c92.zip
[MRM-1283] migrate dependees() / "used by" tab to metadata repository and remove repositoryBrowsing from ShowArtifactAction
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884727 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/metadata/metadata-model/src')
-rw-r--r--archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectVersionReference.java77
1 files changed, 77 insertions, 0 deletions
diff --git a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectVersionReference.java b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectVersionReference.java
new file mode 100644
index 000000000..5dd4b902b
--- /dev/null
+++ b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectVersionReference.java
@@ -0,0 +1,77 @@
+package org.apache.archiva.metadata.model;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+public class ProjectVersionReference
+{
+ private ReferenceType referenceType;
+
+ private String projectId;
+
+ private String namespace;
+
+ private String projectVersion;
+
+ public void setReferenceType( ReferenceType referenceType )
+ {
+ this.referenceType = referenceType;
+ }
+
+ public void setNamespace( String namespace )
+ {
+ this.namespace = namespace;
+ }
+
+ public void setProjectId( String projectId )
+ {
+ this.projectId = projectId;
+ }
+
+ public ReferenceType getReferenceType()
+ {
+ return referenceType;
+ }
+
+ public String getProjectId()
+ {
+ return projectId;
+ }
+
+ public String getProjectVersion()
+ {
+ return projectVersion;
+ }
+
+ public String getNamespace()
+ {
+ return namespace;
+ }
+
+ public void setProjectVersion( String projectVersion )
+ {
+ this.projectVersion = projectVersion;
+ }
+
+ public enum ReferenceType
+ {
+ DEPENDENCY,
+ PARENT
+ }
+}