Class StageId

java.lang.Object
ch.ivyteam.ivy.model.SimpleValueObject<String>
ch.ivyteam.ivy.workflow.businesscase.StageId
All Implemented Interfaces:
Serializable

public class StageId extends SimpleValueObject<String>
Value object for stage id.
See Also:
API:
This is a public API.
  • Constructor Details

    • StageId

      public StageId(String id)
      API:
      This public API is available in IvyScript and Java. It has the visibility NOVICE.
  • Method Details

    • isValid

      public boolean isValid()
      Returns:
      true if the stage id is valid lowercase java identifier otherwise false
      API:
      This public API is available in IvyScript and Java. It has the visibility ADVANCED.
    • checkValid

      public void checkValid()
      Checks if this StageId is valid.
      Throws:
      IllegalArgumentException
      API:
      This public API is available in IvyScript and Java. It has the visibility ADVANCED.
    • getRaw

      public String getRaw()
      Returns:
      stage id as string
      API:
      This public API is available in IvyScript and Java. It has the visibility NOVICE.