Class ObjectNormalizerFacade


  • public final class ObjectNormalizerFacade
    extends Object
    • Constructor Detail

      • ObjectNormalizerFacade

        public ObjectNormalizerFacade​(ObjectClass objectClass,
                                      AttributeNormalizer normalizer)
        Create a new ObjectNormalizer.
        Parameters:
        objectClass - The object class
        normalizer - The normalizer. May be null.
    • Method Detail

      • normalizeAttribute

        public Attribute normalizeAttribute​(Attribute attribute)
        Returns the normalized value of the attribute. If no normalizer is specified, returns the original attribute.
        Parameters:
        attribute - The attribute to normalize.
        Returns:
        The normalized attribute
      • normalizeAttributes

        public Set<Attribute> normalizeAttributes​(Set<Attribute> attributes)
        Returns the normalized set of attributes or null if the original set is null.
        Parameters:
        attributes - The original attributes.
        Returns:
        The normalized attributes or null if the original set is null.
      • normalizeObject

        public ConnectorObject normalizeObject​(ConnectorObject orig)
        Returns the normalized object.
        Parameters:
        orig - The original object
        Returns:
        The normalized object.
      • normalizeSyncDelta

        public SyncDelta normalizeSyncDelta​(SyncDelta delta)
        Returns the normalized sync delta.
        Parameters:
        delta - The original delta.
        Returns:
        The normalized delta.
      • normalizeFilter

        public Filter normalizeFilter​(Filter filter)
        Returns a filter consisting of the original with all attributes normalized.
        Parameters:
        filter - The original.
        Returns:
        The normalized filter.