Class LdapUrl.Extension

java.lang.Object
org.apache.directory.api.ldap.model.url.LdapUrl.Extension
Enclosing class:
LdapUrl

public static class LdapUrl.Extension extends Object
An inner bean to hold extension information.
Author:
Apache Directory Project
  • Constructor Details

    • Extension

      public Extension(boolean isCritical, String type, String value)
      Creates a new instance of Extension.
      Parameters:
      isCritical - true for critical extension
      type - the extension type
      value - the extension value
  • Method Details

    • isCritical

      public boolean isCritical()
      Checks if is critical.
      Returns:
      true, if is critical
    • setCritical

      public void setCritical(boolean critical)
      Sets the critical flag.
      Parameters:
      critical - the new critical flag
    • getType

      public String getType()
      Gets the type.
      Returns:
      the type
    • setType

      public void setType(String type)
      Sets the type.
      Parameters:
      type - the new type
    • getValue

      public String getValue()
      Gets the value.
      Returns:
      the value
    • setValue

      public void setValue(String value)
      Sets the value.
      Parameters:
      value - the new value