|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.tszadel.qctools4j.model.metadata.Attachment
public class Attachment
This class define an attachment in quality center.
Constructor Summary | |
---|---|
Attachment()
Constructor without file |
|
Attachment(File pContent)
Constructor. |
Method Summary | |
---|---|
File |
getContent()
Returns content. |
String |
getDescription()
Get the field CR_DESCRIPTION. |
String |
getEntity()
Get the field CR_ENTITY. |
Date |
getLastModified()
Returns lastModified. |
String |
getName()
Returns the name of the attachment. |
Integer |
getRefId()
Get the field CR_REF_ID. |
String |
getRefType()
Get the field CR_REF_TYPE. |
void |
setContent(File pContent)
Sets the content. |
void |
setDescription(String pDescription)
Set the field CR_DESCRIPTION. |
void |
setEntity(String pEntity)
Set the field CR_ENTITY. |
void |
setLastModified(Date lastModified)
Sets the lastModified. |
void |
setRefId(Integer pRefId)
Set the field CR_REF_ID. |
void |
setRefType(String pRefType)
Set the field CR_REF_TYPE. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Attachment()
public Attachment(File pContent)
pContent
- The content file.Method Detail |
---|
public File getContent()
public String getDescription()
public String getEntity()
public Date getLastModified()
public String getName()
public Integer getRefId()
public String getRefType()
public void setContent(File pContent)
pContent
- The content.public void setDescription(String pDescription)
pDescription
- The value of the field CR_DESCRIPTION.public void setEntity(String pEntity)
pEntity
- The value of the field CR_ENTITY.public void setLastModified(Date lastModified)
lastModified
- The lastModified.public void setRefId(Integer pRefId)
pRefId
- The value of the field CR_REF_ID.public void setRefType(String pRefType)
pRefType
- The value of the field CR_REF_TYPE.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |