Class State

  • All Implemented Interfaces:
    java.io.Serializable

    public class State
    extends java.lang.Object
    implements java.io.Serializable
    Class representing a state element for Template in Planner REST Service.
    See Also:
    Template, Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int id
      id of the State
      protected long timestamp  
    • Constructor Summary

      Constructors 
      Constructor Description
      State()  
      State​(int id, java.lang.String value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getId()
      id of the State
      java.lang.String getValue()
      value of the State
      void setId​(int id)
      void setValue​(java.lang.String value)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • id

        protected int id
        id of the State
      • timestamp

        protected long timestamp
    • Constructor Detail

      • State

        public State()
      • State

        public State​(int id,
                     java.lang.String value)
    • Method Detail

      • getValue

        public java.lang.String getValue()
        value of the State
      • setValue

        public void setValue​(java.lang.String value)
      • getId

        public int getId()
        id of the State
      • setId

        public void setId​(int id)