Class ContextIndex

    • Field Detail

      • itemType

        private int itemType
      • subContext

        private String subContext
    • Constructor Detail

      • ContextIndex

        ContextIndex()
    • Method Detail

      • getClient

        public ClientData getClient()
        Get the client which uses this context.
        Hibernate: many-to-one
        column="`client_id`" update="false" insert="false"
      • setClient

        void setClient​(ClientData client)
      • getItemType

        public int getItemType()
        Hibernate: property
        column="`item_type`" type="int" insert="false" update="false"
      • setItemType

        void setItemType​(int itemType)
      • getSubContext

        public String getSubContext()
        Get the subcontext this Context belongs to.
        Hibernate: property
        column="`subcontext`" type="string" length="255" insert="false" update="false"
      • setSubContext

        void setSubContext​(String subContext)
      • getName

        public String getName()
        Get the name of this Context item.
        Hibernate: property
        column="`name`" type="string" length="255" insert="false" update="false"
      • setName

        void setName​(String name)
      • equals

        public boolean equals​(Object o)
        Check if this object is equal to another ContextIndex object. They are equal if both have the same client, item type and context type
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Calculate the hash code for the object.
        Overrides:
        hashCode in class Object