Class PavilionServantKey
- java.lang.Object
-
- io.naradrama.prologue.domain.office.ServantKey
-
- io.naradrama.prologue.domain.office.PavilionServantKey
-
- All Implemented Interfaces:
JsonSerializable
public class PavilionServantKey extends ServantKey
-
-
Field Summary
-
Fields inherited from class io.naradrama.prologue.domain.office.ServantKey
SERVANT_DELIMITER
-
-
Constructor Summary
Constructors Constructor Description PavilionServantKey(PavilionOfficeKey pavilionOfficeKey, long pavilionServantSequence)PavilionServantKey(java.lang.String pavilionServantId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PavilionServantKeyfromId(java.lang.String pavilionServantId)static PavilionServantKeyfromJson(java.lang.String json)PavilionOfficeKeygenPavilionOfficeKey()static voidmain(java.lang.String[] args)static PavilionServantKeynewKey(PavilionOfficeKey pavilionOfficeKey, long pavilionServantSequence)static PavilionServantKeysample()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
-
-
-
-
Constructor Detail
-
PavilionServantKey
public PavilionServantKey(java.lang.String pavilionServantId)
-
PavilionServantKey
public PavilionServantKey(PavilionOfficeKey pavilionOfficeKey, long pavilionServantSequence)
-
-
Method Detail
-
newKey
public static PavilionServantKey newKey(PavilionOfficeKey pavilionOfficeKey, long pavilionServantSequence)
-
fromId
public static PavilionServantKey fromId(java.lang.String pavilionServantId)
-
genPavilionOfficeKey
public PavilionOfficeKey genPavilionOfficeKey()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classServantKey
-
fromJson
public static PavilionServantKey fromJson(java.lang.String json)
-
sample
public static PavilionServantKey sample()
-
main
public static void main(java.lang.String[] args)
-
-