|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Repository
A Repository provides an implementation of a domain model.
| Method Summary | ||
|---|---|---|
|
createInstance(java.lang.Class<T> domainType)
Creates an instance of the type specifieed by the parameter 'domainType'. |
|
java.util.Collection<? extends java.lang.Object> |
getAllElements()
Returns all elements in the repository. |
|
Domain |
getDomain()
The Domain the repository realizes. |
|
java.util.Collection<? extends java.lang.Object> |
getRootElements()
Returns the root elements in the repository. |
|
| Method Detail |
|---|
Domain getDomain()
Domain the repository realizes.
Repository relizes.<T> T createInstance(java.lang.Class<T> domainType)
T - The concrete domain type type.domainType - The domain type for which to create a new instance.
java.util.Collection<? extends java.lang.Object> getRootElements()
java.util.Collection<? extends java.lang.Object> getAllElements()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||