From 02d3bf611bd9d4c33d8ae74d320790cfb0495d8e Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Thu, 03 May 2007 09:37:28 +0000
Subject: [PATCH] Three introspection related changes required in order to support the CLI:
---
opends/src/server/org/opends/server/admin/client/PropertySet.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/opends/src/server/org/opends/server/admin/client/PropertySet.java b/opends/src/server/org/opends/server/admin/client/PropertySet.java
index 83272d4..155ad0b 100644
--- a/opends/src/server/org/opends/server/admin/client/PropertySet.java
+++ b/opends/src/server/org/opends/server/admin/client/PropertySet.java
@@ -434,7 +434,7 @@
new HashMap<PropertyDefinition, MyProperty>();
// Copy the properties from the provider.
- for (PropertyDefinition<?> pd : d.getPropertyDefinitions()) {
+ for (PropertyDefinition<?> pd : d.getAllPropertyDefinitions()) {
createProperty(pd, p, i, properties, exceptions);
}
@@ -472,7 +472,7 @@
new HashMap<PropertyDefinition, MyProperty>();
// Copy the properties from the provider.
- for (PropertyDefinition<?> pd : d.getPropertyDefinitions()) {
+ for (PropertyDefinition<?> pd : d.getAllPropertyDefinitions()) {
createProperty(pd, p, i, properties, exceptions);
}
@@ -692,7 +692,7 @@
* If an attempt was made to remove a mandatory property.
* @throws IllegalArgumentException
* If the specified property definition is not associated with this
- * managed object, or if the property is read-only.
+ * managed object.
*/
public <T> void setPropertyValue(PropertyDefinition<T> d, T value)
throws IllegalPropertyValueException, PropertyIsReadOnlyException,
@@ -732,7 +732,7 @@
* If an attempt was made to remove a mandatory property.
* @throws IllegalArgumentException
* If the specified property definition is not associated with this
- * managed object, or if the property is read-only.
+ * managed object.
*/
public <T> void setPropertyValues(PropertyDefinition<T> d,
Collection<T> values) throws IllegalPropertyValueException,
--
Gitblit v1.10.0