Class SquareKey
- java.lang.Object
-
- io.naradrama.prologue.domain.tenant.TenantKey
-
- io.naradrama.prologue.domain.tenant.SquareKey
-
- All Implemented Interfaces:
JsonSerializable
public class SquareKey extends TenantKey
-
-
Field Summary
-
Fields inherited from class io.naradrama.prologue.domain.tenant.TenantKey
HIERARCHY_DELIMITER, MEMBER_DELIMITER
-
-
Constructor Summary
Constructors Constructor Description SquareKey(java.lang.String squareId)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SquareKeyfromId(java.lang.String squareId)static SquareKeyfromJson(java.lang.String json)static voidmain(java.lang.String[] args)static SquareKeynewKey(long squareSequence)static SquareKeysample()-
Methods inherited from class io.naradrama.prologue.domain.tenant.TenantKey
buildMemberKey, buildMemberKey, buildSpaceKey, equals, hashCode, isValidFor, parseSpaceKey, parseToParentSpaceKey, parseToSequence36, parseToSequence36, parseToSpaceKey, toString
-
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 SquareKey newKey(long squareSequence)
-
fromId
public static SquareKey fromId(java.lang.String squareId)
-
fromJson
public static SquareKey fromJson(java.lang.String json)
-
sample
public static SquareKey sample()
-
main
public static void main(java.lang.String[] args)
-
-