|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.nrao.sss.model.proposal.SessionPair
public class SessionPair
Placeholder for time when we integrate proposal work.
A pairing of a Source
and a Resource
.
CVS Info:
$Revision: 1709 $ |
$Date: 2008-11-14 11:22:37 -0700 (Fri, 14 Nov 2008) $ |
$Author: dharland $ |
Field Summary |
---|
Fields inherited from interface edu.nrao.sss.util.Identifiable |
---|
UNIDENTIFIED |
Constructor Summary | |
---|---|
SessionPair()
Creates a new instance. |
Method Summary | |
---|---|
Long |
getId()
|
Resource |
getResource()
Returns this pair's resource. |
Source |
getSource()
Returns this pair's source. |
void |
reset()
Resets this session pair to its initial state. |
void |
setResource(Resource newResource)
Sets this pair's resource. |
void |
setSource(Source newSource)
Sets this pair's source. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SessionPair()
Method Detail |
---|
public void reset()
public Long getId()
getId
in interface Identifiable
public void setSource(Source newSource)
newSource
- a new source for this session pair.public Source getSource()
public void setResource(Resource newResource)
newResource
- a new resource for this session pair.public Resource getResource()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |