directory-api mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <>
Subject Re: Immutable SyntexCheckers
Date Sun, 19 Mar 2017 16:47:52 GMT
Thanks, Stefan.

I'll have a look at generics tonite.

Regarding the need of a builder for each class, I think it would help
habing a consistent system across all the SCs.

Otherwise, this idea should apply to the other schema objects.

Le dim. 19 mars 2017 à 10:58, Stefan Seelmann <> a
écrit :

> On 03/17/2017 11:00 AM, Emmanuel Lécharny wrote:
> > The only requirement is that each SC has its own builder (we can't put
> > this code in the abstract SC, because it's abstract...)
> With some generics magic it should at least be possible to move common
> stuff (setOid) to the parent.
> Otherwise, I'm not sure if it's worth to create builders for all the
> "simple" syntax checkers (Boolean, DirectoryString, etc.) or if just a
> singleton immutable instance is sufficient.
> But in general it makes sense to have immutable syntax checkers :)
> --
Emmanuel Lécharny

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message