|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.starhope.appius.util.SimpleDataRecord<SimpleDataRecordSet<DataRecordClass,DataRecordSetClass>>
org.starhope.appius.util.SimpleDataRecordSet<StringRecord,StringSet>
org.starhope.appius.user.StringSet
public class StringSet
A collection of strings obtained from an arbitrary source, with
minimal translation support; a set of StringRecord
s
Field Summary | |
---|---|
private int |
myID
unique ID for this set of strings |
private String |
myName
unique name for this set of strings |
private static long |
serialVersionUID
WRITEME: Document this brpocock@star-hope.org |
Fields inherited from class org.starhope.appius.util.SimpleDataRecord |
---|
myLoader, timeLastChanged, timeLastSaved |
Constructor Summary | |
---|---|
StringSet(RecordLoader<SimpleDataRecordSet<StringRecord,StringSet>> loader)
WRITEME: Document this constructor brpocock@star-hope.org |
Method Summary | |
---|---|
int |
getCacheableID()
Note that all records must have either a numeric ID ( DataRecord.getCacheableID() or a string identifier (
DataRecord.getCacheableIdent() or both. |
String |
getCacheableIdent()
Note that all records must have either a numeric ID ( DataRecord.getCacheableID() or a string identifier (
DataRecord.getCacheableIdent() or both. |
int |
getID()
|
String |
getName()
|
String |
getSubversionRevision()
Return the Subversion revision level of this class's source code file, as supplied via the special "$Rev: " sequence. |
void |
setID(int id)
|
void |
setName(String name)
|
Methods inherited from class org.starhope.appius.util.SimpleDataRecordSet |
---|
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
Methods inherited from class org.starhope.appius.util.SimpleDataRecord |
---|
changed, checkStale, compareTo, equals, finalize, getRecordLoader, getTimeLastChanged, getTimeLastSaved, hashCode, isBeingLoaded, markAsLoaded, markAsSaved, markForReload, onRemove, onRetrieve, onStore, save, setRecordLoader, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Collection |
---|
equals, hashCode |
Methods inherited from interface org.starhope.appius.util.DataRecord |
---|
checkStale, getRecordLoader, isBeingLoaded, markAsLoaded, markAsSaved, setRecordLoader |
Methods inherited from interface org.starhope.appius.util.CTime |
---|
getTimeLastChanged, getTimeLastSaved |
Methods inherited from interface com.whirlycott.cache.Cacheable |
---|
onRemove, onRetrieve, onStore |
Field Detail |
---|
private static final long serialVersionUID
private int myID
private String myName
Constructor Detail |
---|
public StringSet(RecordLoader<SimpleDataRecordSet<StringRecord,StringSet>> loader)
loader
- the record loaderMethod Detail |
---|
public int getCacheableID() throws NotFoundException
DataRecord
DataRecord.getCacheableID()
or a string identifier (
DataRecord.getCacheableIdent()
or both.
NotFoundException
- if the item doesn't have a distinct
numeric IDDataRecord.getCacheableID()
public String getCacheableIdent() throws NotFoundException
DataRecord
DataRecord.getCacheableID()
or a string identifier (
DataRecord.getCacheableIdent()
or both.
NotFoundException
- if the item doesn't have a distinct
string identifierDataRecord.getCacheableIdent()
public int getID()
public String getName()
public String getSubversionRevision()
HasSubversionRevision
Return the Subversion revision level of this class's source code file, as supplied via the special "$Rev: " sequence.
As an example,the Subversion revision string for this file is "$Rev: 1968 $"
@Override public String getSubversionRevision () { return "$Rev: "; }
HasSubversionRevision.getSubversionRevision()
public void setID(int id)
id
- the unique ID for this set of stringspublic void setName(String name)
name
- the unique name for this set of strings
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |