|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.nrao.sss.model.proposal.JustificationFile
public class JustificationFile
Placeholder for time when we integrate proposal work. A scientific and technical justification for a proposal.
CVS Info:
$Revision: 161 $ |
$Date: 2006-12-15 11:48:34 -0700 (Fri, 15 Dec 2006) $ |
$Author: btruitt $ |
Constructor Summary | |
---|---|
JustificationFile()
Creates a new instance. |
Method Summary | |
---|---|
Blob |
getData()
Returns the contents of this justification file. |
JustificationFileDescriptor |
getDescriptor()
Returns a descriptor for this justification file. |
Long |
getProposalId()
Returns the identifier of the proposal to which this justification belongs. |
void |
reset()
Resets this file to its initial state. |
void |
setData(Blob data)
Sets the contents of this justification file. |
void |
setProposalId(Long proposalId)
Sets the identifier of the proposal to which this justification belongs. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JustificationFile()
Method Detail |
---|
public void reset()
public void setProposalId(Long proposalId)
proposalId
- the ID for this justification file's proposal.public Long getProposalId()
public JustificationFileDescriptor getDescriptor()
public void setData(Blob data)
data
- a Blob containing the justification file contents.public Blob getData()
If this file has no content, null will be returned.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |