summaryrefslogtreecommitdiffstats
path: root/pki/base/common/src/com/netscape/certsrv/property/IDescriptor.java
diff options
context:
space:
mode:
Diffstat (limited to 'pki/base/common/src/com/netscape/certsrv/property/IDescriptor.java')
-rw-r--r--pki/base/common/src/com/netscape/certsrv/property/IDescriptor.java22
1 files changed, 13 insertions, 9 deletions
diff --git a/pki/base/common/src/com/netscape/certsrv/property/IDescriptor.java b/pki/base/common/src/com/netscape/certsrv/property/IDescriptor.java
index d70156f72..271c1808a 100644
--- a/pki/base/common/src/com/netscape/certsrv/property/IDescriptor.java
+++ b/pki/base/common/src/com/netscape/certsrv/property/IDescriptor.java
@@ -17,11 +17,13 @@
// --- END COPYRIGHT BLOCK ---
package com.netscape.certsrv.property;
+
import java.util.Locale;
+
/**
* This interface represents a property descriptor.
- *
+ *
* @version $Revision$, $Date$
*/
public interface IDescriptor {
@@ -52,24 +54,26 @@ public interface IDescriptor {
/**
* Returns the syntax of the property.
- *
+ *
* @return syntax
*/
public String getSyntax();
/**
- * Constraint for the given syntax. For example, - number(1-5): 1-5 is the
- * constraint, and it indicates that the number must be in the range of 1 to
- * 5. - choice(cert,crl): cert,crl is the constraint for choice If null, no
- * constraint shall be enforced.
- *
+ * Constraint for the given syntax. For example,
+ * - number(1-5): 1-5 is the constraint, and it indicates
+ * that the number must be in the range of 1 to 5.
+ * - choice(cert,crl): cert,crl is the constraint
+ * for choice
+ * If null, no constraint shall be enforced.
+ *
* @return constraint
*/
public String getConstraint();
/**
* Retrieves the description of the property.
- *
+ *
* @param locale user locale
* @return localized description
*/
@@ -77,7 +81,7 @@ public interface IDescriptor {
/**
* Retrieves the default value of the property.
- *
+ *
* @return default value
*/
public String getDefaultValue();