public final class Module extends QTestBaseModel<Module>
NL, properties, RESERVED_NAME| Constructor and Description |
|---|
Module()
Creates module instance.
|
| Modifier and Type | Method and Description |
|---|---|
Module |
clone() |
java.lang.String |
elementName() |
java.util.List<Module> |
getChildren() |
java.lang.String |
getDescription() |
java.lang.Long |
getId() |
java.lang.String |
getName() |
java.lang.Integer |
getOrder() |
java.lang.Long |
getParentId() |
java.lang.String |
getPid() |
java.lang.Boolean |
getShared() |
Module |
setChildren(java.util.List<Module> modules)
Sets the list of module's children.
|
Module |
setDescription(java.lang.String description)
Sets module description.
|
Module |
setId(java.lang.Long id)
Sets module identifier.
|
Module |
setName(java.lang.String name)
Sets the module name.
|
Module |
setOrder(java.lang.Integer order)
Sets the module order.
|
Module |
setParentId(java.lang.Long parentId)
Sets the parent identifier of module.
|
Module |
setPid(java.lang.String pid)
Sets the display identifier of module.
|
Module |
setShared(java.lang.Boolean shared)
Sets the module shared flag.
|
Module |
withChildren(java.util.List<Module> modules)
Sets the list of module's children.
|
Module |
withDescription(java.lang.String description)
Sets module description.
|
Module |
withId(java.lang.Long id)
Sets module identifier and return the current module instance.
|
Module |
withName(java.lang.String name)
Sets the module name.
|
Module |
withOrder(java.lang.Integer order)
Sets the module order and return itself.
|
Module |
withParentId(java.lang.Long parentId)
Sets the parent identifier of module and return the current module
instance.
|
Module |
withPid(java.lang.String pid)
Sets the display identifier of module and return itself.
|
Module |
withShared(java.lang.Boolean shared)
Sets the module shared flag.
|
getBinaryFromInputStream, getLinks, getWebUrl, setLinks, setWebUrl, validateInputStream, withLinks, withWebUrlappendPropertiesTo, appendPropertiesTo, asDate, asDate, asInteger, asInteger, asLong, asLong, asString, asString, getProperties, getProperty, getPropertyMap, hasProperties, hasProperty, isVisible, jsonElementName, removeProperty, setPropertiesFrom, setProperty, toJson, toStringpublic java.lang.Long getId()
public Module setId(java.lang.Long id)
id - the given module identifier to set.public Module withId(java.lang.Long id)
id - the given module identifier to set.public java.lang.Long getParentId()
public Module setParentId(java.lang.Long parentId)
parentId - the given parent identifier of module to set.public Module withParentId(java.lang.Long parentId)
parentId - the given parent identifier of module to set.public java.lang.String getName()
public Module setName(java.lang.String name)
name - the given module name to set.public Module withName(java.lang.String name)
name - the given module name to set.public java.lang.Boolean getShared()
public Module setShared(java.lang.Boolean shared)
shared - the given module shared flag.public Module withShared(java.lang.Boolean shared)
shared - the given shared flag.public java.lang.String getPid()
public Module setPid(java.lang.String pid)
pid - the given display identifier of module to set.public Module withPid(java.lang.String pid)
pid - the given display identifier of module to set.public java.lang.Integer getOrder()
public Module setOrder(java.lang.Integer order)
order - the given module order to set.public Module withOrder(java.lang.Integer order)
order - the given module order to set.public java.lang.String getDescription()
public Module setDescription(java.lang.String description)
description - the given module description to set.public Module withDescription(java.lang.String description)
description - the given module description to set.public java.util.List<Module> getChildren()
public Module setChildren(java.util.List<Module> modules)
modules - the given list of module's children.public Module withChildren(java.util.List<Module> modules)
modules - the given list of module's children.public Module clone()
clone in class PropertyContainerpublic java.lang.String elementName()
elementName in class PropertyContainer