Package com.okta.authn.sdk.example.dao
Class DefaultTieCraftDao
- java.lang.Object
-
- com.okta.authn.sdk.example.dao.DefaultTieCraftDao
-
- All Implemented Interfaces:
TieCraftDao
public class DefaultTieCraftDao extends Object implements TieCraftDao
Simple in memory DAO that initializes the collection with content found from http://starwars.wikia.com/wiki/TIE_line.
-
-
Constructor Summary
Constructors Constructor Description DefaultTieCraftDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TieCraft
addTieCraft(TieCraft tieCraft)
TieCraft
getTieCraft(String serial)
Collection<TieCraft>
listTieCrafts()
-
-
-
Method Detail
-
listTieCrafts
public Collection<TieCraft> listTieCrafts()
- Specified by:
listTieCrafts
in interfaceTieCraftDao
-
getTieCraft
public TieCraft getTieCraft(String serial)
- Specified by:
getTieCraft
in interfaceTieCraftDao
-
-