Class SequenceType


  • public class SequenceType
    extends java.lang.Object
    A SequenceType is the combination of an ItemType and an OccurrenceIndicator
    • Method Detail

      • makeSequenceType

        public static SequenceType makeSequenceType​(ItemType itemType,
                                                    OccurrenceIndicator occurrenceIndicator)
        Factory method to construct a SequenceType
        Parameters:
        itemType - the ItemType
        occurrenceIndicator - the permitted number of occurrences of the item in the sequence
        Returns:
        the constricted SequenceType
      • getItemType

        public ItemType getItemType()
        Get the item type
        Returns:
        the item type
      • getOccurrenceIndicator

        public OccurrenceIndicator getOccurrenceIndicator()
        Get the occurrence indicator
        Returns:
        the occurrence indicator