mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

matthew_swift
11.51.2007 40818a70d58f4918563ced5f85321116576ca6b5
Define encoder for attribute type properties (previously the entire attribute type definition was being generated as a result of the default encoder).
1 files modified
11 ■■■■■ changed files
opends/src/server/org/opends/server/admin/AttributeTypePropertyDefinition.java 11 ●●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/admin/AttributeTypePropertyDefinition.java
@@ -197,6 +197,17 @@
   * {@inheritDoc}
   */
  @Override
  public String encodeValue(AttributeType value)
      throws IllegalPropertyValueException {
    return value.getNameOrOID();
  }
  /**
   * {@inheritDoc}
   */
  @Override
  public void validateValue(AttributeType value)
      throws IllegalPropertyValueException {
    ensureNotNull(value);