Class AccordionPanel

  • All Implemented Interfaces:
    java.io.Serializable

    @Entity
    public class AccordionPanel
    extends CompositeModule
    This class represents the an Panel with an accordion layout.
    Author:
    Kai Volland
    See Also:
    Serialized Form
    • Constructor Detail

      • AccordionPanel

        public AccordionPanel()
        Explicitly adding the default constructor as this is important, e.g. for Hibernate: http://goo.gl/3Cr1pw
    • Method Detail

      • getExpandedItem

        public Module getExpandedItem()
        Returns:
        the expandedItem
      • setExpandedItem

        public void setExpandedItem​(Module expandedItem)
        Parameters:
        expandedItem - the expandedItem to set
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class CompositeModule
        See Also:
        According to http://stackoverflow.com/questions/27581/overriding-equals -and-hashcode-in-java it is recommended only to use getter-methods when using ORM like Hibernate
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class CompositeModule
        See Also:
        According to http://stackoverflow.com/questions/27581/overriding-equals -and-hashcode-in-java it is recommended only to use getter-methods when using ORM like Hibernate