Class DbItem<T>

    • Constructor Detail

      • DbItem

        public DbItem()
        null constructor for hibernate
    • Method Detail

      • setId

        public void setId​(Long val)
        Parameters:
        val -
      • getId

        public Long getId()
        Returns:
        Long id
      • unsaved

        public boolean unsaved()
        Returns:
        true if this entity is not saved.
      • setSeq

        public void setSeq​(Integer val)
        Set the seq for this entity
        Parameters:
        val - int seq
      • getSeq

        public Integer getSeq()
        Get the entity seq
        Returns:
        int the entity seq
      • toStringSegment

        protected org.bedework.util.misc.ToString toStringSegment​(org.bedework.util.misc.ToString ts)
        Add our stuff to the StringBuilder
        Parameters:
        ts - ToString builder for result
      • clone

        public Object clone()
        Make visible
        Overrides:
        clone in class Object
        Returns:
        Object of class T
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object