public class WsModule extends Object
| Constructor and Description |
|---|
WsModule()
Creates an empty WsModule object.
|
WsModule(WsProject project,
WsDocumentType documentType)
Creates a new WsModule object from the given
WsProject and WsDocumentType. |
| Modifier and Type | Method and Description |
|---|---|
WsDocumentType |
getDocumentType()
Gets the document type this module inherits from.
|
Integer |
getId()
Gets the module's id.
|
WsProject |
getProject()
Gets the project this module belongs to.
|
Integer |
getSortOrder()
Gets the module's sort order
|
boolean |
isActive()
Is this module active?
|
void |
setActive(boolean active)
Sets whether or not this module is active.
|
void |
setDocumentType(WsDocumentType documentType)
Sets the document type this module inherits from.
|
void |
setId(Integer id)
Sets the module's id.
|
void |
setProject(WsProject project)
Sets the project this module belongs to.
|
void |
setSortOrder(Integer sortOrder)
Sets the module's sort order
|
String |
toString()
Gets a string representation of this module.
|
public WsModule()
public WsModule(WsProject project, WsDocumentType documentType)
WsProject and WsDocumentType.project - project the module is indocumentType - document type the module representspublic Integer getId()
public void setId(Integer id)
id - module idpublic WsProject getProject()
WsProjectpublic void setProject(WsProject project)
project - project this module is inWsProjectpublic WsDocumentType getDocumentType()
public void setDocumentType(WsDocumentType documentType)
documentType - module document typepublic boolean isActive()
public void setActive(boolean active)
active - whether or not this module should be activepublic Integer getSortOrder()
public void setSortOrder(Integer sortOrder)
sortOrder - module sort orderCopyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.