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:
- Serialized Form
- API:
- This is a public API.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckValid()Checks if thisStageIdis valid.StringgetRaw()booleanisValid()-
Methods inherited from class ch.ivyteam.ivy.model.SimpleValueObject
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
StageId
public StageId(String id)
- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
-
Method Detail
-
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 thisStageIdis 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.
-
-