|
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.ReferenceDto
public class ReferenceDto
A ReferenceDto represents a reference to a ReferableDto
.
Nested Class Summary |
---|
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 | |
---|---|
ReferenceDto()
|
|
ReferenceDto(java.lang.Integer typeId,
java.lang.Integer id)
Create a reference to the object with the specified type and id |
|
ReferenceDto(ReferableDto dto)
Create a reference to the specified ReferableDto |
|
ReferenceDto(ReferenceDto reference)
Create a shallow copy of the specified reference |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object obj)
|
boolean |
equals(java.lang.Object obj)
|
ReferableDto |
getDto()
Get the referenced ReferableDto instance |
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 |
getShortDescription()
Returns the short description that represent this entity in the user interface. |
java.lang.Integer |
getTypeId()
Get the GroupType discriminator of the referenced object |
java.lang.String |
getUrlLink()
Returns the local URL that points to the web page where this DTO is managed. |
int |
hashCode()
|
void |
setDto(ReferableDto dto)
Set the referenced ReferableDto instance |
void |
setTypeId(java.lang.Integer typeId)
Set the GroupType of the referenced object |
java.lang.String |
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 ReferenceDto()
public ReferenceDto(java.lang.Integer typeId, java.lang.Integer id)
typeId
- is the GroupType
of the referenced objectid
- is the id of the referenced objectpublic ReferenceDto(ReferableDto dto)
dto
- is the ReferableDto
instance to refer topublic ReferenceDto(ReferenceDto reference)
reference
- to copyMethod Detail |
---|
public java.lang.Integer getTypeId()
GroupType
discriminator of the referenced object
public void setTypeId(java.lang.Integer typeId)
GroupType
of the referenced object
typeId
- is the type discriminator of the referenced objectpublic ReferableDto getDto()
ReferableDto
instance
public void setDto(ReferableDto dto)
ReferableDto
instance
dto
- is the referenced object instance, or nullpublic java.lang.String getIconUrl()
ReferableDto
getIconUrl
in interface ReferableDto
public java.lang.String getInterwikiLink()
ReferableDto
getInterwikiLink
in interface ReferableDto
public java.lang.String getShortDescription()
ReferableDto
ProjectDto.getName()
or
TrackerItemDto.getSummary()
.
getShortDescription
in interface ReferableDto
public java.lang.String getUrlLink()
ReferableDto
getUrlLink
in interface ReferableDto
public int compareTo(java.lang.Object obj)
compareTo
in interface java.lang.Comparable
compareTo
in class IdentifiableDto
public boolean equals(java.lang.Object obj)
equals
in class IdentifiableDto
public int hashCode()
hashCode
in class IdentifiableDto
public java.lang.String toString()
toString
in class IdentifiableDto
|
CodeBeamer 5.4.0.1-RC API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |