|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IReferenceProvider
Interface of provider of IReference
and IReferenceList
instances.
IReference
,
IReferenceList
Method Summary | ||
---|---|---|
|
createEmptyReferenceList()
Creates an empty reference list of unknown type. |
|
|
createReference(T instance)
Creates a reference to the given object. |
|
|
createReferenceList(Iterable<T> instances,
Type type)
Creates a reference list with a list of objects of the given type. |
|
|
createReferenceList(T instance)
Creates a reference list with one object. |
|
|
createReferenceList(Type type)
Creates an empty reference list of the given type. |
Method Detail |
---|
<T extends Identifiable> IReference<T> createReference(T instance)
T
- the type of referenced objectinstance
- the object to be referenced
IReference
referencing the given object<T extends Identifiable> IReferenceList<T> createReferenceList(T instance)
T
- the type of referenced objectsinstance
- the object to be referenced
IReferenceList
referencing the given object<T extends Identifiable> IReferenceList<T> createReferenceList(Iterable<T> instances, Type type)
T
- the type of referenced objectsinstances
- a collection of objects to be referencedtype
- the type of referenced objects
IReferenceList
referencing the given objects<T extends Identifiable> IReferenceList<T> createReferenceList(Type type)
T
- the type of referenced objectstype
- the type of referenced objects
IReferenceList
which is empty<T extends Identifiable> IReferenceList<T> createEmptyReferenceList()
T
- the type of referenced objects
IReferenceList
which is empty
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |