|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Selector
A Selector allows to access serializable objects in a storage.
(c) Copyright Philipp Bolliger 2008, ALL RIGHTS RESERVED.
Method Summary | |
---|---|
java.util.Vector |
getAll(Serializable serializable)
This method returns all objects from a storage that have the same type as serializable |
java.util.Vector |
getObjectsWhere(java.lang.String typename,
java.lang.String attributeName,
java.lang.String attributeValue)
This method returns all objects from a storage that match the constraints given as parameter. |
Method Detail |
---|
java.util.Vector getAll(Serializable serializable)
serializable
serializable
- An exemplary instance of the type of the objects that should be returned
java.util.Vector getObjectsWhere(java.lang.String typename, java.lang.String attributeName, java.lang.String attributeValue)
typename
- The short class name of the object that shall be retrieved (see org.openbandy.util.StringUtil)attributeName
- Name of the attribute used for selectionattributeValue
- Attribute value used for selection
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |