lucas theisen created DIRAPI-164:
------------------------------------
Summary: Add fluent entry builder to AddRequest
Key: DIRAPI-164
URL: https://issues.apache.org/jira/browse/DIRAPI-164
Project: Directory Client API
Issue Type: New Feature
Reporter: lucas theisen
Other XxxRequest objects have convenient fluent interfaces to build them. The
only thing AddRequest has is setEntry(). So you have to build your entry
separately. Instead, AddRequest could additionally have add( attribType,
value1, ...) which pass through to the contained entry (and create a new
DefaultEntry if entry was not set). Conversely, DefaultEntry could be modified
to provide the Fluent interface, or a Builder...
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)