|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jamasoftware.contour.ws.v2.domain.WsModule
public class WsModule
This object represents a Contour document group (also known as a set). A Set in Contour is a group of Items of the same type. Each Set is created from an Item Type.
| Constructor Summary | |
|---|---|
WsModule()
Creates an empty WsModule object. |
|
WsModule(java.lang.String display,
java.lang.String displayPlural,
WsProject project,
java.lang.String prefix,
java.lang.String keySeparator,
java.lang.Boolean displayInReleaseTree,
boolean notification)
Creates a new WsModule object with the given values. |
|
WsModule(java.lang.String display,
WsProject project)
Creates a new WsModule object from the given display and project. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Gets the module's description. |
java.lang.String |
getDisplay()
Gets the module's display. |
java.lang.Boolean |
getDisplayInReleaseTree()
Does this module display in the release tree? |
java.lang.String |
getDisplayPlural()
Gets the module's plural display. |
WsDocumentType |
getDocumentType()
Gets the document type this module inherits from. |
java.lang.Integer |
getId()
Gets the module's id. |
java.lang.String |
getImage()
Gets the image associated with this module |
java.lang.String |
getKeySeparator()
Gets module's key separator. |
java.lang.String |
getPrefix()
Gets module's prefix |
WsProject |
getProject()
Gets the project this module belongs to. |
java.lang.Integer |
getSequenceNumber()
Gets module's starting sequence number. |
java.lang.Integer |
getSortOrder()
Gets the module's sort order |
boolean |
isActive()
Is this module active? |
boolean |
isEditable()
Is this module editable? |
boolean |
isNotification()
Is this module set to send notifications? |
boolean |
isParentNotification()
Is this module set to send parent notifications? |
void |
setActive(boolean active)
Sets whether or not this module is active. |
void |
setDescription(java.lang.String description)
Sets the module's description. |
void |
setDisplay(java.lang.String display)
Sets the module's display. |
void |
setDisplayInReleaseTree(java.lang.Boolean displayInReleaseTree)
Sets whether or not this module is shown in the release tree |
void |
setDisplayPlural(java.lang.String displayPlural)
Sets the module's plural display. |
void |
setDocumentType(WsDocumentType documentType)
Sets the document type this module inherits from. |
void |
setEditable(boolean editable)
Sets whether or not this module is editable. |
void |
setId(java.lang.Integer id)
Sets the module's id. |
void |
setImage(java.lang.String image)
Sets the image associated with this module |
void |
setKeySeparator(java.lang.String keySeparator)
Sets module's key separator. |
void |
setNotification(boolean notification)
Sets whether or not this module is set to send notifications. |
void |
setParentNotification(boolean parentNotification)
Sets whether or not this module is set to send parent notifications. |
void |
setPrefix(java.lang.String prefix)
Sets module's prefix |
void |
setProject(WsProject project)
Sets the project this module belongs to. |
void |
setSequenceNumber(java.lang.Integer sequenceNumber)
Set module's starting sequence number. |
void |
setSortOrder(java.lang.Integer sortOrder)
Sets the module's sort order |
java.lang.String |
toString()
Gets a string representation of this module. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WsModule()
public WsModule(java.lang.String display,
java.lang.String displayPlural,
WsProject project,
java.lang.String prefix,
java.lang.String keySeparator,
java.lang.Boolean displayInReleaseTree,
boolean notification)
display - name of the moduledisplayPlural - plural name of the module (can be null)project - project the module is inprefix - prefix to put before item numbers (i.e. "TST" for "TST-05")
(can be null)keySeparator - separator between the prefix and item number (i.e.
"-" for "TST-05") (can be null)displayInReleaseTree - should this be displayed in the release tree?notification - enable notifications?
public WsModule(java.lang.String display,
WsProject project)
display - name of the moduleproject - project the module is in| Method Detail |
|---|
public java.lang.Integer getId()
public void setId(java.lang.Integer id)
id - module idpublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - module descriptionpublic java.lang.String getDisplay()
public void setDisplay(java.lang.String display)
display - module displaypublic java.lang.String getDisplayPlural()
public void setDisplayPlural(java.lang.String displayPlural)
displayPlural - module plural displaypublic WsProject getProject()
WsProjectpublic void setProject(WsProject project)
project - project this module is inWsProjectpublic WsDocumentType getDocumentType()
public void setDocumentType(WsDocumentType documentType)
documentType - module document typepublic java.lang.String getImage()
public void setImage(java.lang.String image)
image - module imagepublic boolean isActive()
public void setActive(boolean active)
active - whether or not this module should be activepublic java.lang.String getPrefix()
public void setPrefix(java.lang.String prefix)
prefix - prefix to put before item numbers (i.e. "TST" for "TST-05")public java.lang.Integer getSequenceNumber()
public void setSequenceNumber(java.lang.Integer sequenceNumber)
sequenceNumber - module sequence numberpublic java.lang.String getKeySeparator()
public void setKeySeparator(java.lang.String keySeparator)
keySeperator - separator between the prefix and item number (i.e.
"-" for "TST-05")public java.lang.Boolean getDisplayInReleaseTree()
public void setDisplayInReleaseTree(java.lang.Boolean displayInReleaseTree)
displayInReleaseTree - whether or not this module should be shown in
the release treepublic java.lang.Integer getSortOrder()
public void setSortOrder(java.lang.Integer sortOrder)
sortOrder - module sort orderpublic boolean isNotification()
public void setNotification(boolean notification)
notification - whether or not this module should be set to send
notificationspublic boolean isParentNotification()
public void setParentNotification(boolean parentNotification)
parentNotification - whether or not this module should be set to
send parent notificationspublic boolean isEditable()
public void setEditable(boolean editable)
editable - whether or not this module should be editablepublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||