Class AccordionPanel
- java.lang.Object
-
- de.terrestris.shoguncore.model.PersistentObject
-
- de.terrestris.shoguncore.model.module.Module
-
- de.terrestris.shoguncore.model.module.CompositeModule
-
- de.terrestris.shoguncore.model.module.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 Summary
Constructors Constructor Description AccordionPanel()Explicitly adding the default constructor as this is important, e.g. for Hibernate: http://goo.gl/3Cr1pw
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)ModulegetExpandedItem()inthashCode()voidsetExpandedItem(Module expandedItem)-
Methods inherited from class de.terrestris.shoguncore.model.module.CompositeModule
addModule, getLayout, getSubModules, remove, setLayout, setSubModules
-
Methods inherited from class de.terrestris.shoguncore.model.module.Module
getName, getProperties, getXtype, setName, setProperties, setXtype
-
Methods inherited from class de.terrestris.shoguncore.model.PersistentObject
getCreated, getGroupPermissions, getId, getModified, getUserPermissions, setGroupPermissions, setModified, setUserPermissions, toString
-
-
-
-
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:
hashCodein classCompositeModule- 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:
equalsin classCompositeModule- 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
-
-