Class Domain

  • All Implemented Interfaces:
    java.io.Serializable

    public class Domain
    extends java.lang.Object
    implements java.io.Serializable
    Class representing a domain 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 Domain
      protected long timestamp  
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getId()
      id of the Domain
      java.lang.String getName()
      name of the Domain
      void setId​(int id)
      void setName​(java.lang.String name)
      • 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 Domain
      • timestamp

        protected long timestamp
    • Constructor Detail

      • Domain

        public Domain()
      • Domain

        public Domain​(int id,
                      java.lang.String name)
    • Method Detail

      • getName

        public java.lang.String getName()
        name of the Domain
      • setName

        public void setName​(java.lang.String name)
      • getId

        public int getId()
        id of the Domain
      • setId

        public void setId​(int id)