Interface IDescriptor

  • All Known Implementing Classes:
    Descriptor

    public interface IDescriptor
    This interface represents a property descriptor.
    Version:
    $Revision$, $Date$
    • Method Detail

      • getSyntax

        java.lang.String getSyntax()
        Returns the syntax of the property.
        Returns:
        syntax
      • getConstraint

        java.lang.String getConstraint()
        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.
        Returns:
        constraint
      • getDescription

        java.lang.String getDescription​(java.util.Locale locale)
        Retrieves the description of the property.
        Parameters:
        locale - user locale
        Returns:
        localized description
      • getDefaultValue

        java.lang.String getDefaultValue()
        Retrieves the default value of the property.
        Returns:
        default value