Package io.molr.commons.domain
Class Strand
- java.lang.Object
-
- io.molr.commons.domain.Strand
-
public final class Strand extends java.lang.Object
One 'story line' within a mission. A mission might split up in different strands, of which each of them can have its own state (e.g. running, paused ...). (If you would like to relate this to java, you would probably imagine it as a Thread ;-)
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
int
hashCode()
java.lang.String
id()
static Strand
ofId(java.lang.String id)
java.lang.String
toString()
-
-
-
Method Detail
-
ofId
public static Strand ofId(java.lang.String id)
-
id
public java.lang.String id()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-