|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sap.mdm.search.AbstractSearchConstraint
com.sap.mdm.search.PickListSearchConstraint
A pick list constraint. They include lookup Id values, text attribute values, numeric attribute values and coupled attribute values.
| Field Summary |
| Constructor Summary | |
PickListSearchConstraint(MdmValue[] values)
Constructor with the specified pick list. |
|
| Method Summary | |
int |
addValue(MdmValue value)
Adds a pick item. |
void |
clear()
Clears all the pick items. |
Object |
clone()
|
boolean |
contains(MdmValue value)
Check if this instance contains the specified value |
boolean |
equals(Object obj)
|
int |
getType()
|
MdmValue |
getValue(int index)
Returns the pick item for the specified index. |
MdmValue[] |
getValues()
Returns all the pick items. |
int |
hashCode()
|
boolean |
isAndMultivaluedSearch()
Indicates if the pick items are ANDed or ORed. |
MdmValue |
removeValue(int index)
Returns the pick item at the specified index. |
void |
setAndMultivaluedSearch(boolean isAndMultivaluedSearch)
This is for use with a multi-valued field. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public PickListSearchConstraint(MdmValue[] values)
values - the pick list| Method Detail |
public Object clone()
clone in interface SearchConstraintclone in class AbstractSearchConstraintpublic boolean equals(Object obj)
public int hashCode()
public String toString()
public boolean isAndMultivaluedSearch()
public void setAndMultivaluedSearch(boolean isAndMultivaluedSearch)
isAndMultivaluedSearch - the boolean flagpublic MdmValue getValue(int index)
index - an index value
public MdmValue[] getValues()
public int addValue(MdmValue value)
value - a pick item
public boolean contains(MdmValue value)
value - value whose presence in this instance is to be tested.
public MdmValue removeValue(int index)
index - a index value
public void clear()
public int getType()
getType in interface SearchConstraintgetType in class AbstractSearchConstraint
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright 2004-2007 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.
These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies (SAP Group) for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.