perfsonar-dev - [pS-dev] [GEANT/SA2/ps-java-services] r6349 - trunk/perfsonar-base/annotations/src/main/java/net/geant/p erfsonar/annotations
Subject: perfsonar development work
List archive
[pS-dev] [GEANT/SA2/ps-java-services] r6349 - trunk/perfsonar-base/annotations/src/main/java/net/geant/p erfsonar/annotations
Chronological Thread
- From:
- To:
- Subject: [pS-dev] [GEANT/SA2/ps-java-services] r6349 - trunk/perfsonar-base/annotations/src/main/java/net/geant/p erfsonar/annotations
- Date: Mon, 6 May 2013 13:58:23 +0100 (BST)
- Authentication-results: sfpop-ironport01.merit.edu; dkim=neutral (message not signed) header.i=none
Author: psnc.pietrzak
Date: 2013-05-06 13:58:23 +0100 (Mon, 06 May 2013)
New Revision: 6349
Added:
trunk/perfsonar-base/annotations/src/main/java/net/geant/perfsonar/annotations/Identifier.java
trunk/perfsonar-base/annotations/src/main/java/net/geant/perfsonar/annotations/XPaths.java
Log:
Added new annotations.
Added:
trunk/perfsonar-base/annotations/src/main/java/net/geant/perfsonar/annotations/Identifier.java
===================================================================
---
trunk/perfsonar-base/annotations/src/main/java/net/geant/perfsonar/annotations/Identifier.java
(rev 0)
+++
trunk/perfsonar-base/annotations/src/main/java/net/geant/perfsonar/annotations/Identifier.java
2013-05-06 12:58:23 UTC (rev 6349)
@@ -0,0 +1,18 @@
+package net.geant.perfsonar.annotations;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * Annotates getter method of type String that identifies the object of the
class.
+ *
+ * @author <a
href="mailto:">Blazej
Pietrzak</a>
+ *
+ */
+@Target(ElementType.METHOD)
+@Retention(RetentionPolicy.SOURCE)
+public @interface Identifier {
+
+}
Added:
trunk/perfsonar-base/annotations/src/main/java/net/geant/perfsonar/annotations/XPaths.java
===================================================================
---
trunk/perfsonar-base/annotations/src/main/java/net/geant/perfsonar/annotations/XPaths.java
(rev 0)
+++
trunk/perfsonar-base/annotations/src/main/java/net/geant/perfsonar/annotations/XPaths.java
2013-05-06 12:58:23 UTC (rev 6349)
@@ -0,0 +1,18 @@
+package net.geant.perfsonar.annotations;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * Aggregates multiple xpaths for the given method.
+ *
+ * @author <a
href="mailto:">Blazej
Pietrzak</a>
+ *
+ */
+@Target(ElementType.METHOD)
+@Retention(RetentionPolicy.SOURCE)
+public @interface XPaths {
+ XPath[] value();
+}
- [pS-dev] [GEANT/SA2/ps-java-services] r6349 - trunk/perfsonar-base/annotations/src/main/java/net/geant/p erfsonar/annotations, svn-noreply, 05/06/2013
Archive powered by MHonArc 2.6.16.