Interface IWithITSGroups

  • All Known Implementing Classes:
    Unit

    public interface IWithITSGroups
    Provides a common interface to all objects that can have ITS stand-off elements (groups)
    • Method Detail

      • hasITSGroup

        boolean hasITSGroup()
        Indicates if the object has at least one ITS group.
        Returns:
        true if the object has at least one ITS group.
      • getITSGroups

        List<DataCategoryGroup<?>> getITSGroups()
        Gets the ITS groups associated with this object.
        Returns:
        the ITS groups associated with this object (can be empty, but never null).
      • addITSGroup

        DataCategoryGroup<?> addITSGroup​(DataCategoryGroup<?> group)
        Adds an ITS group to this object.
        Parameters:
        group - the group to add.
        Returns:
        the group added.