public interface BeanDatabase
Modifier and Type | Method and Description |
---|---|
void |
dumpDatabase()
Dumps the type and instance names to stderr
|
void |
dumpDatabase(java.io.PrintStream output)
Dumps the type and instance names to the given stream
|
java.lang.String |
dumpDatabaseAsString()
Dumps the type and instance names to a String for debugging
|
java.util.Set<Type> |
getAllTypes()
Gets an unmodifiable set of all the types in the bean database
|
Instance |
getInstance(java.lang.String type,
java.lang.String instanceKey)
Returns the instance with the given instanceKey from the
type with the given name
|
Type |
getType(java.lang.String type)
Gets the type with the given name
|
java.util.Set<Type> getAllTypes()
Type getType(java.lang.String type)
type
- The non-null nameInstance getInstance(java.lang.String type, java.lang.String instanceKey)
type
- The non-null name of the type to get the instance frominstanceKey
- The non-null key of the instancevoid dumpDatabase()
void dumpDatabase(java.io.PrintStream output)
output
- - The non-null outut stream to write the database tojava.lang.String dumpDatabaseAsString()