Class TypeImpl_stringSubtype

All Implemented Interfaces:
Comparable<TypeImpl>, Iterable<Feature>, Type

public class TypeImpl_stringSubtype extends TypeImpl_string
  • Field Details

    • allowedValues

      private final Set<String> allowedValues
  • Constructor Details

  • Method Details

    • getAllowedValues

      Set<String> getAllowedValues()
    • validateIsInAllowedValues

      void validateIsInAllowedValues(String s)
    • isStringSubtype

      public boolean isStringSubtype()
      Description copied from interface: Type
      Check if the type is a String subtype. Note: returns false if a plain string
      Specified by:
      isStringSubtype in interface Type
      Overrides:
      isStringSubtype in class TypeImpl
      Returns:
      true iff the type is a String subtype type; false for plain string
      See Also: