|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SourceCatalogEntry
An entry in a SourceCatalog
.
Version Info:
$Revision: 2226 $ |
$Date: 2009-04-17 16:28:53 -0600 (Fri, 17 Apr 2009) $ |
$Author: dharland $ (last person to modify) |
Field Summary |
---|
Fields inherited from interface edu.nrao.sss.util.Identifiable |
---|
UNIDENTIFIED |
Fields inherited from interface edu.nrao.sss.model.UserAccountable |
---|
NULL_USER_ID |
Method Summary | |
---|---|
void |
clearId()
Resets this entry's ID, and the IDs of all its components, to a value that represents the unidentified state. |
Source |
get(Date pointInTime)
Returns the source associated with this entry as of the given point in time. |
String |
getName()
Returns the name of this entry. |
List<String> |
getNotes()
Returns a list of notes about this entry. |
void |
setId(Long identifier)
Do not use. |
void |
setName(String newName)
Sets the name of this entry. |
Methods inherited from interface edu.nrao.sss.catalog.CatalogItem |
---|
clone |
Methods inherited from interface edu.nrao.sss.util.Identifiable |
---|
getId |
Methods inherited from interface edu.nrao.sss.model.UserAccountable |
---|
getCreatedBy, getCreatedOn, getLastUpdatedBy, getLastUpdatedOn, setCreatedBy, setCreatedOn, setLastUpdatedBy, setLastUpdatedOn |
Method Detail |
---|
void setName(String newName)
newName
is null, this entry's name will be reset to
its initial value.
setName
in interface Nameable
newName
- the new name for this entry.String getName()
getName
in interface Nameable
void setId(Long identifier)
identifier
- void clearId()
This method is useful for preparing an entry for storage in a database. The ID property (as of now, though this may change in the future) is used by our persistence mechanism to identify objects. If you are persisting this entry for the first time, you may need to call this method before performing a save. This is especially true if you have created this source from XML, as the XML unmarshalling brings along the ID property.
List<String> getNotes()
Source get(Date pointInTime)
pointInTime
- the time at which a source is desired.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |