|
SalesPoint v3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataBasketCondition<T>
Condition used for filtering DataBaskets
.
Field Summary |
---|
Fields inherited from interface data.DataBasketKeys |
---|
CATALOG_ITEM_MAIN_KEY, STOCK_ITEM_MAIN_KEY |
Method Summary | |
---|---|
DataBasketEntryDestination |
getDestination()
Return the destination for operations that match the condition. |
String |
getMainKey()
Return the main key that DataBasketEntries must have to
match the condition. |
String |
getSecondaryKey()
Return the secondary key that DataBasketEntries must have to
match the condition. |
DataBasketEntrySource |
getSource()
Return the source for operations that match the condition. |
Object |
getValue()
Return the object for operations that match the condition. |
boolean |
match(DataBasketEntry<T> dbe)
Return true for DataBasketEntries that match the condition. |
Method Detail |
---|
String getMainKey()
DataBasketEntries
must have to
match the condition. Returning null
means any main key.
String getSecondaryKey()
DataBasketEntries
must have to
match the condition. Returning null
means any secondary key.
DataBasketEntrySource getSource()
null
means any source, other values mean exactly what they say, i.e. they are tested for
identity.
DataBasketEntryDestination getDestination()
null
means any destination, other values mean exactly what they say, i.e.
they are tested for identity.
Object getValue()
null
means check each DataBasketEntry by calling match()
, other values mean
exactly what they say, i.e. they are tested for identity.
boolean match(DataBasketEntry<T> dbe)
getValue()
returns null
.
|
SalesPoint v3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |