|
CodeBeamer 5.4.0.1-RC API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.intland.codebeamer.persistence.dto.base.IdentifiableDto
com.intland.codebeamer.persistence.dto.base.NamedDto
com.intland.codebeamer.persistence.dto.base.DescribeableDto
public abstract class DescribeableDto
All named DTO classes with description property must extend this.
Nested Class Summary | |
---|---|
static class |
DescribeableDto.DescriptionComparator
A special Comparator to compare/sort DescribeableDto by description |
Nested classes/interfaces inherited from class com.intland.codebeamer.persistence.dto.base.NamedDto |
---|
NamedDto.NameComparator |
Nested classes/interfaces inherited from class com.intland.codebeamer.persistence.dto.base.IdentifiableDto |
---|
IdentifiableDto.IdComparator |
Constructor Summary | |
---|---|
DescribeableDto()
Default constructor |
|
DescribeableDto(DescribeableDto dto)
DescribeableDto copy constructor |
|
DescribeableDto(java.lang.Integer id,
java.lang.String name,
java.lang.String description,
java.lang.String format)
Create a new DescribeableDto with id, name and description |
|
DescribeableDto(NamedDto named,
java.lang.String description,
java.lang.String format)
Create a new DescribeableDto from a NamedDto plus description |
Method Summary | |
---|---|
static int |
compareByDescription(DescribeableDto dto1,
DescribeableDto dto2)
|
java.lang.String |
getDescription()
Get the description text |
java.lang.String |
getDescriptionFormat()
Get the description format @see DescriptionFormat |
void |
setDescription(java.lang.String details)
Set the description text |
void |
setDescriptionFormat(java.lang.String descriptionFormat)
Set the description format @see DescriptionFormat |
Methods inherited from class com.intland.codebeamer.persistence.dto.base.NamedDto |
---|
compareNames, compareString, compareStringIgnoreCase, compareTo, createLookupMap, equals, getName, hashCode, setName, toString |
Methods inherited from class com.intland.codebeamer.persistence.dto.base.IdentifiableDto |
---|
clone, compare, compareInteger, equals, getId, hashCode, setId |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DescribeableDto()
public DescribeableDto(java.lang.Integer id, java.lang.String name, java.lang.String description, java.lang.String format)
id
- of the Dtoname
- of the Dtodescription
- of the Dtoformat
- of the Dto description @see DescriptionFormatpublic DescribeableDto(NamedDto named, java.lang.String description, java.lang.String format)
named
- Dto to describedescription
- of the Dtoformat
- of the Dto description @see DescriptionFormatpublic DescribeableDto(DescribeableDto dto)
dto
- to copyMethod Detail |
---|
public java.lang.String getDescription()
public void setDescription(java.lang.String details)
details
- the description textpublic java.lang.String getDescriptionFormat()
public void setDescriptionFormat(java.lang.String descriptionFormat)
descriptionFormat
- to setpublic static int compareByDescription(DescribeableDto dto1, DescribeableDto dto2)
|
CodeBeamer 5.4.0.1-RC API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |