T
- public interface NameFinder<T extends DataObject> extends ParseFactory<T>
ParseFactory
but is specific to DataObject
s rather than general Indexed
s.Modifier and Type | Method and Description |
---|---|
T |
findFromString(java.lang.String name)
Find an existing entry by name
This should use the same logic as
getStringFinderFilter(String) . |
DataCache<java.lang.String,T> |
getDataCache()
get a DataCache for fetching the target
|
SQLFilter<T> |
getStringFinderFilter(java.lang.String name)
get a filter than locates the target object from a String.
|
T |
makeFromString(java.lang.String name)
Same as
findFromString(String) but attempts to create a matching entry if one does not exist and this
is supported by the implementing class. |
void |
validateNameFormat(java.lang.String name)
Check formatting constraints on the input string.
|
getCanonicalName
void validateNameFormat(java.lang.String name) throws ParseException
name
- ParseException
T findFromString(java.lang.String name)
getStringFinderFilter(String)
.findFromString
in interface ParseFactory<T extends DataObject>
name
- T makeFromString(java.lang.String name) throws DataFault, ParseException
findFromString(String)
but attempts to create a matching entry if one does not exist and this
is supported by the implementing class.name
- DataFault
ParseException
SQLFilter<T> getStringFinderFilter(java.lang.String name)
findFromString(String)
name
-