com.tszadel.qctools4j.model.metadata
Class Link

java.lang.Object
  extended by com.tszadel.qctools4j.model.metadata.Link

public class Link
extends Object

Associations between defects and other entities.

Author:
tszadel

Constructor Summary
Link()
           
 
Method Summary
 Integer getBugId()
          Get the field LN_BUG_ID.
 String getCreatedBy()
          Get the field LN_CREATED_BY.
 Date getCreationDate()
          Get the field LN_CREATION_DATE.
 Integer getEntityId()
          Get the field LN_ENTITY_ID.
 String getEntityType()
          Get the field LN_ENTITY_TYPE.
 String getLinkComment()
          Get the field LN_LINK_COMMENT.
 Integer getLinkId()
          Get the field LN_LINK_ID.
 String getLinkType()
          Get the field LN_LINK_TYPE.
 void setBugId(Integer pBugId)
          Set the field LN_BUG_ID.
 void setCreatedBy(String pCreatedBy)
          Set the field LN_CREATED_BY.
 void setCreationDate(Date pCreationDate)
          Set the field LN_CREATION_DATE.
 void setEntityId(Integer pEntityId)
          Set the field LN_ENTITY_ID.
 void setEntityType(String pEntityType)
          Set the field LN_ENTITY_TYPE.
 void setLinkComment(String pLinkComment)
          Set the field LN_LINK_COMMENT.
 void setLinkId(Integer pLinkId)
          Set the field LN_LINK_ID.
 void setLinkType(String pLinkType)
          Set the field LN_LINK_TYPE.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Link

public Link()
Method Detail

getBugId

public Integer getBugId()
Get the field LN_BUG_ID.
Description:The defect to which the entity is linked: BUG.BG_BUG_ID .

Returns:
The field LN_BUG_ID.

getCreatedBy

public String getCreatedBy()
Get the field LN_CREATED_BY.
Description:The link author.

Returns:
The field LN_CREATED_BY.

getCreationDate

public Date getCreationDate()
Get the field LN_CREATION_DATE.
Description:The date the link was created, based on the database-server clock.

Returns:
The field LN_CREATION_DATE.

getEntityId

public Integer getEntityId()
Get the field LN_ENTITY_ID.
Description:The record ID of the entity in the table specified by LN_ENTITY_TYPE.

Returns:
The field LN_ENTITY_ID.

getEntityType

public String getEntityType()
Get the field LN_ENTITY_TYPE.
Description:The table name of the entity linked to the defect. If LN_ENTITY_TYPE is BUG, then the link is between two defects.

Returns:
The field LN_ENTITY_TYPE.

getLinkComment

public String getLinkComment()
Get the field LN_LINK_COMMENT.
Description:The link description.

Returns:
The field LN_LINK_COMMENT.

getLinkId

public Integer getLinkId()
Get the field LN_LINK_ID.
Description:The record ID.

Returns:
The field LN_LINK_ID.

getLinkType

public String getLinkType()
Get the field LN_LINK_TYPE.
Description:A value of the Link Type custom list.

Returns:
The field LN_LINK_TYPE.

setBugId

public void setBugId(Integer pBugId)
Set the field LN_BUG_ID.
Description:The defect to which the entity is linked: BUG.BG_BUG_ID .

Parameters:
pBugId - The value of the field LN_BUG_ID.

setCreatedBy

public void setCreatedBy(String pCreatedBy)
Set the field LN_CREATED_BY.
Description:The link author.

Parameters:
pCreatedBy - The value of the field LN_CREATED_BY.

setCreationDate

public void setCreationDate(Date pCreationDate)
Set the field LN_CREATION_DATE.
Description:The date the link was created, based on the database-server clock.

Parameters:
pCreationDate - The value of the field LN_CREATION_DATE.

setEntityId

public void setEntityId(Integer pEntityId)
Set the field LN_ENTITY_ID.
Description:The record ID of the entity in the table specified by LN_ENTITY_TYPE.

Parameters:
pEntityId - The value of the field LN_ENTITY_ID.

setEntityType

public void setEntityType(String pEntityType)
Set the field LN_ENTITY_TYPE.
Description:The table name of the entity linked to the defect. If LN_ENTITY_TYPE is BUG, then the link is between two defects.

Parameters:
pEntityType - The value of the field LN_ENTITY_TYPE.

setLinkComment

public void setLinkComment(String pLinkComment)
Set the field LN_LINK_COMMENT.
Description:The link description.

Parameters:
pLinkComment - The value of the field LN_LINK_COMMENT.

setLinkId

public void setLinkId(Integer pLinkId)
Set the field LN_LINK_ID.
Description:The record ID.

Parameters:
pLinkId - The value of the field LN_LINK_ID.

setLinkType

public void setLinkType(String pLinkType)
Set the field LN_LINK_TYPE.
Description:A value of the Link Type custom list.

Parameters:
pLinkType - The value of the field LN_LINK_TYPE.