Class CastKey
- java.lang.Object
-
- io.naradrama.prologue.domain.stage.SpaceKey
-
- io.naradrama.prologue.domain.stage.CastKey
-
- All Implemented Interfaces:
JsonSerializable
public class CastKey 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 CastKeyfromId(java.lang.String castId)static CastKeyfromJson(java.lang.String json)StageKeygenStageKey()java.lang.StringgenTroupeId()TroupeKeygenTroupeKey()static voidmain(java.lang.String[] args)static CastKeynewInstance(TroupeKey troupeKey, long castSequence)static CastKeynewInstance(java.lang.String troupeId, long castSequence)static CastKeysample()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
-
CastKey
public CastKey(java.lang.String castId)
-
CastKey
public CastKey(java.lang.String troupeId, long castSequence)
-
CastKey
public CastKey(TroupeKey troupeKey, long castSequence)
-
-
Method Detail
-
newInstance
public static CastKey newInstance(java.lang.String troupeId, long castSequence)
-
fromId
public static CastKey fromId(java.lang.String castId)
-
fromJson
public static CastKey fromJson(java.lang.String json)
-
genStageKey
public StageKey genStageKey()
-
genTroupeId
public java.lang.String genTroupeId()
-
genTroupeKey
public TroupeKey genTroupeKey()
-
sample
public static CastKey sample()
-
main
public static void main(java.lang.String[] args)
-
-