Class MenuEntryDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityDTO
-
- org.cyclos.model.NamedEntityDTO
-
- org.cyclos.model.contentmanagement.contentitems.ContentItemDTO
-
- org.cyclos.model.contentmanagement.contentitems.MenuEntryDTO
-
- All Implemented Interfaces:
Serializable,Comparable<NamedEntityDTO>,IEntity,IInternalNamedEntity,INamedEntity
- Direct Known Subclasses:
MenuGroupDTO,MenuItemDTO
public class MenuEntryDTO extends ContentItemDTO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<MenuEntryVO,MenuEntryDTO>GROUPstatic BasicProperty<MenuEntryNature,MenuEntryDTO>NATUREstatic BasicProperty<String,MenuEntryDTO>SVG_ICON-
Fields inherited from class org.cyclos.model.contentmanagement.contentitems.ContentItemDTO
CONFIGURATION, INTERNAL_NAME, VISIBILITY
-
Fields inherited from class org.cyclos.model.NamedEntityDTO
NAME
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description MenuEntryDTO()MenuEntryDTO(Long id)MenuEntryDTO(Property<T,? super MenuEntryDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()MenuEntryVOgetGroup()MenuEntryNaturegetNature()StringgetSvgIcon()voidsetGroup(MenuEntryVO group)voidsetNature(MenuEntryNature nature)voidsetSvgIcon(String svgIcon)-
Methods inherited from class org.cyclos.model.contentmanagement.contentitems.ContentItemDTO
getConfiguration, getInternalName, getVisibility, setConfiguration, setInternalName, setVisibility
-
Methods inherited from class org.cyclos.model.NamedEntityDTO
compareTo, getName, setName, toString
-
Methods inherited from class org.cyclos.model.EntityDTO
getVersion, isPersistent, isTransient, setVersion
-
Methods inherited from class org.cyclos.model.EntityModel
equals, getId, hashCode, setId
-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId, values
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
GROUP
public static final BasicProperty<MenuEntryVO,MenuEntryDTO> GROUP
-
NATURE
public static final BasicProperty<MenuEntryNature,MenuEntryDTO> NATURE
-
SVG_ICON
public static final BasicProperty<String,MenuEntryDTO> SVG_ICON
-
-
Constructor Detail
-
MenuEntryDTO
public MenuEntryDTO()
-
MenuEntryDTO
public MenuEntryDTO(Long id)
-
MenuEntryDTO
public MenuEntryDTO(Property<T,? super MenuEntryDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classContentItemDTO
-
getGroup
public MenuEntryVO getGroup()
-
setGroup
public void setGroup(MenuEntryVO group)
-
getNature
public MenuEntryNature getNature()
-
setNature
public void setNature(MenuEntryNature nature)
-
getSvgIcon
public String getSvgIcon()
-
setSvgIcon
public void setSvgIcon(String svgIcon)
-
className
public String className()
- Overrides:
classNamein classContentItemDTO
-
-