[Yanel-commits] rev 21988 -
public/yanel/trunk/src/core/java/org/wyona/yanel/core
michi at wyona.com
michi at wyona.com
Mon Jan 22 11:35:29 CET 2007
Author: michi
Date: 2007-01-22 11:35:27 +0100 (Mon, 22 Jan 2007)
New Revision: 21988
Modified:
public/yanel/trunk/src/core/java/org/wyona/yanel/core/ResourceTypeIdentifier.java
Log:
javadoc added
Modified: public/yanel/trunk/src/core/java/org/wyona/yanel/core/ResourceTypeIdentifier.java
===================================================================
--- public/yanel/trunk/src/core/java/org/wyona/yanel/core/ResourceTypeIdentifier.java 2007-01-22 10:35:00 UTC (rev 21987)
+++ public/yanel/trunk/src/core/java/org/wyona/yanel/core/ResourceTypeIdentifier.java 2007-01-22 10:35:27 UTC (rev 21988)
@@ -33,6 +33,9 @@
* - lines which don't contain a ':' are ignored
*
* TODO: this class should be renamed
+ *
+ * @deprecated
+ * @see org.wyona.yanel.core.ResourceConfiguration
*/
public class ResourceTypeIdentifier {
@@ -58,6 +61,9 @@
}
}
+ /**
+ * Create RTI from scratch
+ */
public ResourceTypeIdentifier(String universalName, Map properties) {
if (properties == null) {
this.properties = new HashMap();
@@ -67,6 +73,9 @@
this.universalName = universalName;
}
+ /**
+ * Get universal name of resource type
+ */
public String getUniversalName() {
return universalName;
}
@@ -79,9 +88,10 @@
return (String)properties.get(key);
}
+ /**
+ * Check if property exists
+ */
public boolean containsKey(String key) {
return properties.containsKey(key);
}
-
-
}
More information about the Yanel-commits
mailing list