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

matthew_swift
04.27.2007 cc08b5573ab5fb3b88ef64a48d3edeae475b852a
refs
author matthew_swift <matthew_swift@localhost>
Tuesday, September 4, 2007 21:27 +0200
committer matthew_swift <matthew_swift@localhost>
Tuesday, September 4, 2007 21:27 +0200
commitcc08b5573ab5fb3b88ef64a48d3edeae475b852a
tree 19dc2548588efc5f1d3a1f188210dab77287c20a tree | zip | gz
parent e778e6f04a36e55cdb88ff8448eef804c487286b view | diff
Move the DNBuilder implementation into the core ManagedObjectPath
class and add the following methods:

ManagedObjectPath.toDN()

Converts a ManagedObjectPath to a DN


ManagedObjectPath.matches(ManagedObjectPath)

Compares the two paths to see if they refer to the same location.
This differs from equals() which performs an exact comparisons
where types must match as well.

This will be required in order to support aggregations, where
property values are represented using just their common name,
but their LDAP encoding is the full DN.
4 files modified
342 ■■■■■ changed files
opends/src/server/org/opends/server/admin/ManagedObjectPath.java 130 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/admin/server/DNBuilder.java 116 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/admin/ManagedObjectPathTest.java 84 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/admin/server/DNBuilderTest.java 12 ●●●● diff | view | raw | blame | history