Class SquareOfficeKey
- java.lang.Object
-
- io.naradrama.prologue.domain.office.ServantKey
-
- io.naradrama.prologue.domain.office.SquareOfficeKey
-
- All Implemented Interfaces:
JsonSerializable
public class SquareOfficeKey extends ServantKey
-
-
Field Summary
-
Fields inherited from class io.naradrama.prologue.domain.office.ServantKey
SERVANT_DELIMITER
-
-
Constructor Summary
Constructors Constructor Description SquareOfficeKey(SquareKey squareKey)SquareOfficeKey(java.lang.String squareOfficeId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SquareOfficeKeyfromId(java.lang.String squareOfficeId)static SquareOfficeKeyfromJson(java.lang.String json)static voidmain(java.lang.String[] args)static SquareOfficeKeynewKeyFromSquare(SquareKey squareKey)static SquareOfficeKeysample()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
-
SquareOfficeKey
public SquareOfficeKey(java.lang.String squareOfficeId)
-
SquareOfficeKey
public SquareOfficeKey(SquareKey squareKey)
-
-
Method Detail
-
newKeyFromSquare
public static SquareOfficeKey newKeyFromSquare(SquareKey squareKey)
-
fromId
public static SquareOfficeKey fromId(java.lang.String squareOfficeId)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classServantKey
-
fromJson
public static SquareOfficeKey fromJson(java.lang.String json)
-
sample
public static SquareOfficeKey sample()
-
main
public static void main(java.lang.String[] args)
-
-