Package wt.occurrence

Interface OccurrenceNameValidationDelegate

All Known Implementing Classes:
UniqueWithinPathOccurrenceContextOccurrenceNameValidationDelegate

public interface OccurrenceNameValidationDelegate
Checks an Occurrence to see if the name is valid, including a check for uniqueness within its context (except we allow duplicates with null names).

Supported API: true

Extendable: true
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Checks whether the name is valid.
    void
    Checks whether the name is valid.
  • Method Details

    • validateName

      void validateName(Occurrence occurrence) throws WTException
      Checks whether the name is valid.

      Supported API: true
      Parameters:
      occurrence -
      Throws:
      WTException
    • validateName

      void validateName(WTCollection occurrences) throws WTException
      Checks whether the name is valid.

      Supported API: true
      Parameters:
      occurrences -
      Throws:
      WTException