Class Topics

  • All Implemented Interfaces:
    com.hack23.cia.model.common.api.ModelObject, java.io.Serializable

    @Entity(name="Topics")
    public class Topics
    extends java.lang.Object
    implements com.hack23.cia.model.common.api.ModelObject
    The Class Topics.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.Long hjid
      The hjid.
      protected java.util.List<Topic> topic
      The topic.
    • Constructor Summary

      Constructors 
      Constructor Description
      Topics()  
    • Field Detail

      • topic

        protected java.util.List<Topic> topic
        The topic.
      • hjid

        protected java.lang.Long hjid
        The hjid.
    • Constructor Detail

      • Topics

        public Topics()
    • Method Detail

      • getTopic

        public java.util.List<Topic> getTopic()
        Gets the topic.
        Returns:
        the topic
      • setTopic

        public void setTopic​(java.util.List<Topic> topic)
        Sets the topic.
        Parameters:
        topic - the new topic
      • withTopic

        public Topics withTopic​(java.util.List<Topic> topic)
        With topic.
        Parameters:
        topic - the topic
        Returns:
        the topics
      • toString

        public final java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getHjid

        public java.lang.Long getHjid()
        Gets the hjid.
        Returns:
        the hjid
      • setHjid

        public void setHjid​(java.lang.Long value)
        Sets the hjid.
        Parameters:
        value - the new hjid
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class java.lang.Object