Package tenapull.data.persistence
Interface StringLookupDao<POJO extends StringLookupPojo>
- Type Parameters:
POJO- the type parameter
- All Known Implementing Classes:
SimpleStringLookupDao,StringHashLookupDao
public interface StringLookupDao<POJO extends StringLookupPojo>
The interface for String lookup daos, implemented by both SimpleStringLookupDao
and StringHashLookupDao (which inherits from HashLookupDao).
-
Method Summary
Modifier and Type Method Description POJOgetOrCreate(java.lang.String string)Gets or creates a string lookup pojo representing the provided string
-
Method Details
-
getOrCreate
Gets or creates a string lookup pojo representing the provided string- Parameters:
string- the string- Returns:
- the or create
-