CodeBeamer 5.4.0.1-RC API

com.intland.codebeamer.persistence.dto
Class ArtifactCommentDto

java.lang.Object
  extended by com.intland.codebeamer.persistence.dto.base.IdentifiableDto
      extended by com.intland.codebeamer.persistence.dto.base.NamedDto
          extended by com.intland.codebeamer.persistence.dto.base.DescribeableDto
              extended by com.intland.codebeamer.persistence.dto.base.AbstractCommentDto
                  extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class com.intland.codebeamer.persistence.dto.base.DescribeableDto
DescribeableDto.DescriptionComparator
 
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
 
Nested classes/interfaces inherited from interface com.intland.codebeamer.persistence.dto.base.ReferableDto
ReferableDto.DescriptionComparator
 
Field Summary
 
Fields inherited from interface com.intland.codebeamer.persistence.dto.base.ReferableDto
HEAD_VERSION, SECTION_DELIMITER, VERSION_DELIMITER
 
Constructor Summary
ArtifactCommentDto()
           
ArtifactCommentDto(ArtifactCommentDto comment)
           
 
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 com.intland.codebeamer.persistence.dto.base.AbstractCommentDto
compareDates, equals, getSubmittedAt, getSubmitter, isIndexed, setIndexed, setSubmittedAt, setSubmitter
 
Methods inherited from class com.intland.codebeamer.persistence.dto.base.DescribeableDto
compareByDescription, getDescription, getDescriptionFormat, setDescription, setDescriptionFormat
 
Methods inherited from class com.intland.codebeamer.persistence.dto.base.NamedDto
compareNames, compareString, compareStringIgnoreCase, createLookupMap, 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

ArtifactCommentDto

public ArtifactCommentDto()

ArtifactCommentDto

public ArtifactCommentDto(ArtifactCommentDto comment)
Method Detail

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

CodeBeamer 5.4.0.1-RC API

Copyright © 2006-2009 Intland Software. All rights reserved.