Class Layout
- java.lang.Object
-
- de.terrestris.shoguncore.model.PersistentObject
-
- de.terrestris.shoguncore.model.layout.Layout
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AbsoluteLayout,BorderLayout
@Entity public class Layout extends PersistentObject
This class represents the layout of aCompositeModulein a GUI. It providespropertyHints, which are (names) of recommended properties for the children of the correspondingCompositeModuleandpropertyMusts, which are (names) of required properties for the children of theCompositeModule. The values of such properties should be stored in the childModules property map. (Module.setProperties(java.util.Map))- Author:
- Nils Bühner
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Layout()Explicitly adding the default constructor as this is important, e.g.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Set<String>getPropertyHints()Set<String>getPropertyMusts()StringgetType()inthashCode()voidsetPropertyHints(Set<String> propertyHints)voidsetPropertyMusts(Set<String> propertyMusts)voidsetType(String type)-
Methods inherited from class de.terrestris.shoguncore.model.PersistentObject
getCreated, getGroupPermissions, getId, getModified, getUserPermissions, setGroupPermissions, setModified, setUserPermissions, toString
-
-
-
-
Method Detail
-
getType
public String getType()
- Returns:
-
setType
public void setType(String type)
- Parameters:
type-
-
setPropertyHints
public void setPropertyHints(Set<String> propertyHints)
- Parameters:
propertyHints- the propertyHints to set
-
setPropertyMusts
public void setPropertyMusts(Set<String> propertyMusts)
- Parameters:
propertyMusts- the propertyMusts to set
-
hashCode
public int hashCode()
-
equals
public boolean equals(Object obj)
-
-