Class StationServantKey
- java.lang.Object
-
- io.naradrama.prologue.domain.office.ServantKey
-
- io.naradrama.prologue.domain.office.StationServantKey
-
- All Implemented Interfaces:
JsonSerializable
public class StationServantKey extends ServantKey
-
-
Field Summary
-
Fields inherited from class io.naradrama.prologue.domain.office.ServantKey
SERVANT_DELIMITER
-
-
Constructor Summary
Constructors Constructor Description StationServantKey(java.lang.String stationServantId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StationServantKeyfromId(java.lang.String stationServantId)static StationServantKeyfromJson(java.lang.String json)static voidmain(java.lang.String[] args)static StationServantKeynewKey()static StationServantKeynewKey(long stationSequence)static StationServantKeysample()java.lang.StringtoString()-
Methods inherited from class io.naradrama.prologue.domain.office.ServantKey
equals, hashCode, parseToOfficeKey
-
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
-
-
-
-
Method Detail
-
newKey
public static StationServantKey newKey()
-
newKey
public static StationServantKey newKey(long stationSequence)
-
fromId
public static StationServantKey fromId(java.lang.String stationServantId)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classServantKey
-
fromJson
public static StationServantKey fromJson(java.lang.String json)
-
sample
public static StationServantKey sample()
-
main
public static void main(java.lang.String[] args)
-
-