summaryrefslogtreecommitdiffstats
path: root/pki/base/common/src/com/netscape/certsrv/property/Descriptor.java
diff options
context:
space:
mode:
Diffstat (limited to 'pki/base/common/src/com/netscape/certsrv/property/Descriptor.java')
-rw-r--r--pki/base/common/src/com/netscape/certsrv/property/Descriptor.java17
1 files changed, 8 insertions, 9 deletions
diff --git a/pki/base/common/src/com/netscape/certsrv/property/Descriptor.java b/pki/base/common/src/com/netscape/certsrv/property/Descriptor.java
index 92aeff185..bd2b56340 100644
--- a/pki/base/common/src/com/netscape/certsrv/property/Descriptor.java
+++ b/pki/base/common/src/com/netscape/certsrv/property/Descriptor.java
@@ -19,7 +19,6 @@ package com.netscape.certsrv.property;
import java.util.Locale;
-
/**
* This interface represents a property descriptor. A descriptor
* includes information that describe a property.
@@ -35,7 +34,7 @@ public class Descriptor implements IDescriptor {
/**
* Constructs a descriptor.
- *
+ *
* @param syntax syntax
* @param constraint constraint
* @param defValue default value
@@ -50,16 +49,16 @@ public class Descriptor implements IDescriptor {
/**
* Returns the syntax of the property.
- *
+ *
* @return syntax
*/
public String getSyntax() {
return mSyntax;
}
-
+
/**
* Returns the default value of the property.
- *
+ *
* @return default value
*/
public String getDefaultValue() {
@@ -69,14 +68,13 @@ public class Descriptor implements IDescriptor {
/**
* Constraint for the given syntax. For example,
* <p>
- * - number(1-5): 1-5 is the constraint, and it indicates
- * that the number must be in the range of 1 to 5.
+ * - number(1-5): 1-5 is the constraint, and it indicates that the number must be in the range of 1 to 5.
* <p>
- * - choice(cert,crl): cert,crl is the constraint
- * for choice
+ * - choice(cert,crl): cert,crl is the constraint for choice
* <p>
* If null, no constraint shall be enforced.
* <p>
+ *
* @return constraint
*/
public String getConstraint() {
@@ -85,6 +83,7 @@ public class Descriptor implements IDescriptor {
/**
* Retrieves the description of the property.
+ *
* @param locale user locale
* @return description
*/