[quote author=Kubig link=topic=8662.msg38435#msg38435 date=1421671100]
I am not using this comparing of two configuration object, but from my point of view the way through the toString methods is not good. ToString method in general is not good to use

Or it is necessary to use it properly.
[/quote]
Yes, obviously :-) but failing any alternative.
Anyways, for future reference, in case Genesys not add anymore functions to the ConfObjectDelta class,
this is another way it can be done.
Apologies but am using python syntax (cos that is what I use for this).
Given we have a ConfObjectDelta instance called confObjectDelta and it is a result of comparing 2 CFGDns.
Get the conf object inside the ConfObjectDelta
confObject = confObjectDelta.getOrCreatePropertyValue("deltaDN")
Iterate through all the attributes, can use either getIndex() or getMappingName()
isDifferent = False
for attributes in confObject.getClassInfo().getAttributes():
if confObject.getPropertyValue(attributes.getMappingName()) == "DBID":
continue
if confObject.getPropertyValue(attributes.getIndex()) is not None:
isDifferent = True
break
There :-)
It would have been much easier if the ConfDeltaUtility.createDelta() returned a null or something
to indicate that there are no changes. Or so I think.
Hope this helps someone in the future.
Or maybe I have missed something somewhere.