Class TroupeKey
- java.lang.Object
-
- io.naradrama.prologue.domain.stage.SpaceKey
-
- io.naradrama.prologue.domain.stage.TroupeKey
-
- All Implemented Interfaces:
JsonSerializable
- Direct Known Subclasses:
BackStageKey
public class TroupeKey extends SpaceKey
-
-
Field Summary
-
Fields inherited from class io.naradrama.prologue.domain.stage.SpaceKey
MEMBER_DELIMITER
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TroupeKeyfromId(java.lang.String troupeId)static TroupeKeyfromJson(java.lang.String json)BackStageKeygenBackStageKey()CineroomKeygenCineroomKey()longgenSequence()java.lang.StringgenStageChartId()StageChartKeygenStageChartKey()static voidmain(java.lang.String[] args)static TroupeKeynewInstance(StageChartKey stageChartKey, long troupeSequence)static TroupeKeynewInstance(java.lang.String stageChartId, long troupeSequence)static TroupeKeysample()java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.naradrama.prologue.util.json.JsonSerializable
toJson, toPrettyJson
-
-
-
-
Constructor Detail
-
TroupeKey
public TroupeKey(java.lang.String troupeId)
-
TroupeKey
protected TroupeKey(java.lang.String troupeId, SpaceType spaceType)
-
TroupeKey
public TroupeKey(java.lang.String stageChartId, long troupeSequence)
-
TroupeKey
public TroupeKey(StageChartKey stageChartKey, long troupeSequence)
-
-
Method Detail
-
newInstance
public static TroupeKey newInstance(java.lang.String stageChartId, long troupeSequence)
-
newInstance
public static TroupeKey newInstance(StageChartKey stageChartKey, long troupeSequence)
-
fromId
public static TroupeKey fromId(java.lang.String troupeId)
-
fromJson
public static TroupeKey fromJson(java.lang.String json)
-
genCineroomKey
public CineroomKey genCineroomKey()
-
genBackStageKey
public BackStageKey genBackStageKey()
-
genStageChartKey
public StageChartKey genStageChartKey()
-
genStageChartId
public java.lang.String genStageChartId()
-
genSequence
public long genSequence()
-
sample
public static TroupeKey sample()
-
main
public static void main(java.lang.String[] args)
-
-