Class MultiNameFactory

Object
MultiNameFactory

public class MultiNameFactory extends Object
Creates MultiName.
Author:
Owen Feehan
  • Method Details

    • create

      public static MultiName create(Optional<String> groupIdentifier, String nonGroupIdentifier)
      Creates either a multi-name that is either has a single part or a double part.

      The first part is always a grouping key for aggregation.

      Parameters:
      groupIdentifier - if present, a group identifier that becomes the first part.
      nonGroupIdentifier - the non-group part of the identifier that is present irrespective.
      Returns:
      the created multi-name.