Class ReferenceName

All Implemented Interfaces:
ValueOfContractor, Serializable, CharSequence, Comparable<ReferenceName>

@NonExtendable public class ReferenceName extends AbstractTextType<ReferenceName>
String implementation for reference names.
Since:
4.2
See Also:
  • Constructor Details

    • ReferenceName

      public ReferenceName()
  • Method Details

    • valueOf

      @Contract("null -> null") public static ReferenceName valueOf(@Nullable @Nullable String string)
      Create an instance from String.

      Fulfills the ValueOfContractor marker.

      Parameters:
      string - The string to create from.
      Returns:
      The created instance or null, iff the given string is null.
      Throws:
      IllegalArgumentException - If the given string does not match basic criteria for being a language abbreviation.
      Since:
      4.2