Class SequenceElement


public final class SequenceElement extends GrainElement
Sequence object in metadata.
  • Method Details

    • getArguments

      public Map<SequenceElement.Argument,Object> getArguments()
      Returns a map of all arguments with values for the sequence.
    • hasArgument

      public boolean hasArgument(SequenceElement.Argument argument)
      Whether the sequence contains the specified argument.
      Parameters:
      argument - argument
    • getStartWith

      public Long getStartWith()
      Returns STARTS WITH parameter for this SEQUENCE.
    • getMinValue

      public Long getMinValue()
      Returns MINVALUE parameter for this SEQUENCE.
    • getMaxValue

      public Long getMaxValue()
      Returns MAXVALUE parameter for this SEQUENCE.
    • getIncrementBy

      public Long getIncrementBy()
      Returns INCREMENT BY parameter for this SEQUENCE.
    • isCycle

      public Boolean isCycle()
      Returns CYCLE parameter for this SEQUENCE.