Class ServantKey
- java.lang.Object
-
- io.naradrama.prologue.domain.office.ServantKey
-
- All Implemented Interfaces:
JsonSerializable
- Direct Known Subclasses:
BackStageServantKey,CineroomOfficeKey,CineroomServantKey,PavilionOfficeKey,PavilionServantKey,SquareOfficeKey,SquareServantKey,StationKey,StationServantKey
public abstract class ServantKey extends java.lang.Object implements JsonSerializable
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSERVANT_DELIMITER
-
Constructor Summary
Constructors Modifier Constructor Description protectedServantKey(ServantKey servantKey)protectedServantKey(java.lang.String id, ServantType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object target)inthashCode()protected java.lang.StringparseToOfficeKey()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
-
-
-
-
Field Detail
-
SERVANT_DELIMITER
public static final java.lang.String SERVANT_DELIMITER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ServantKey
protected ServantKey(java.lang.String id, ServantType type)
-
ServantKey
protected ServantKey(ServantKey servantKey)
-
-
Method Detail
-
parseToOfficeKey
protected java.lang.String parseToOfficeKey()
-
equals
public boolean equals(java.lang.Object target)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-