Class StationKey
- java.lang.Object
-
- io.naradrama.prologue.domain.office.ServantKey
-
- io.naradrama.prologue.domain.office.StationKey
-
- All Implemented Interfaces:
JsonSerializable
public class StationKey extends ServantKey
-
-
Field Summary
-
Fields inherited from class io.naradrama.prologue.domain.office.ServantKey
SERVANT_DELIMITER
-
-
Constructor Summary
Constructors Constructor Description StationKey(java.lang.String stationId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StationKeyfromId(java.lang.String stationId)static StationKeyfromJson(java.lang.String json)static voidmain(java.lang.String[] args)static StationKeynewKey()static StationKeynewKey(long stationSequence)static StationKeysample()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 StationKey newKey()
-
newKey
public static StationKey newKey(long stationSequence)
-
fromId
public static StationKey fromId(java.lang.String stationId)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classServantKey
-
fromJson
public static StationKey fromJson(java.lang.String json)
-
sample
public static StationKey sample()
-
main
public static void main(java.lang.String[] args)
-
-