com.intland.codebeamer.persistence.dto
Class ArtifactCommentDto
java.lang.Object
com.intland.codebeamer.persistence.dto.base.IdentifiableDto
com.intland.codebeamer.persistence.dto.base.NamedDto
com.intland.codebeamer.persistence.dto.base.DescribeableDto
com.intland.codebeamer.persistence.dto.base.AbstractCommentDto
com.intland.codebeamer.persistence.dto.ArtifactCommentDto
- All Implemented Interfaces:
- BaseDto, IndexableDto, ReferableDto, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable
- Direct Known Subclasses:
- WikiPageCommentDto
public class ArtifactCommentDto
- extends AbstractCommentDto
- implements ReferableDto
Wraps an artifact comment.
This can be a stand-alone textual comment or a textual comment
with an attached file.
- See Also:
- Serialized Form
Method Summary |
int |
compareTo(java.lang.Object obj)
Caution: NamedDto compareTo violates the rule that a.equals(b)
is equivalent to a.compareTo(b) == 0 , because only the names are compared |
ArtifactDto |
getArtifact()
|
java.lang.Long |
getDataLength()
|
java.lang.String |
getFilename()
|
java.lang.String |
getIconUrl()
Returns the URL of the (small) icon image that represents
this DTO type. |
java.lang.String |
getInterwikiLink()
Returns the interwiki link that points to the web page
where this DTO is managed. |
java.lang.String |
getMimeType()
|
java.lang.String |
getShortDescription()
Returns the short description that represent this
entity in the user interface. |
java.lang.String |
getUrlLink()
Returns the local URL that points to the web page
where this DTO is managed. |
void |
setArtifact(ArtifactDto artifact)
|
void |
setDataLength(java.lang.Long dataLength)
|
void |
setFilename(java.lang.String filename)
|
void |
setMimeType(java.lang.String mimeType)
|
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
ArtifactCommentDto
public ArtifactCommentDto()
ArtifactCommentDto
public ArtifactCommentDto(ArtifactCommentDto comment)
getArtifact
public ArtifactDto getArtifact()
setArtifact
public void setArtifact(ArtifactDto artifact)
getMimeType
public java.lang.String getMimeType()
setMimeType
public void setMimeType(java.lang.String mimeType)
getFilename
public java.lang.String getFilename()
setFilename
public void setFilename(java.lang.String filename)
getDataLength
public java.lang.Long getDataLength()
setDataLength
public void setDataLength(java.lang.Long dataLength)
getShortDescription
public java.lang.String getShortDescription()
- Description copied from interface:
ReferableDto
- Returns the short description that represent this
entity in the user interface.
This normally delegates to another getter, like
ProjectDto.getName()
or
TrackerItemDto.getSummary()
.
- Specified by:
getShortDescription
in interface ReferableDto
getUrlLink
public java.lang.String getUrlLink()
- Description copied from interface:
ReferableDto
- Returns the local URL that points to the web page
where this DTO is managed.
- Specified by:
getUrlLink
in interface ReferableDto
getInterwikiLink
public java.lang.String getInterwikiLink()
- Description copied from interface:
ReferableDto
- Returns the interwiki link that points to the web page
where this DTO is managed.
- Specified by:
getInterwikiLink
in interface ReferableDto
getIconUrl
public java.lang.String getIconUrl()
- Description copied from interface:
ReferableDto
- Returns the URL of the (small) icon image that represents
this DTO type.
- Specified by:
getIconUrl
in interface ReferableDto
compareTo
public int compareTo(java.lang.Object obj)
- Description copied from class:
NamedDto
- Caution: NamedDto compareTo violates the rule that
a.equals(b)
is equivalent to a.compareTo(b) == 0
, because only the names are compared
- Specified by:
compareTo
in interface java.lang.Comparable
- Overrides:
compareTo
in class AbstractCommentDto
Copyright © 2006-2009 Intland Software. All rights reserved.