|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sap.mdm.valuetypes.AbstractMdmValue
com.sap.mdm.valuetypes.MultiregionValue
This class is common representation of multi-regional value.
| Nested Class Summary |
| Nested classes inherited from class com.sap.mdm.valuetypes.MdmValue |
MdmValue.Type |
| Constructor Summary | |
MultiregionValue()
Constructor |
|
| Method Summary | |
Object |
clone()
Clone MdmValue object |
int |
compareTo(MdmValue otherValue)
Compares two MdmValue. |
boolean |
containsRegion(String regionCode)
Determines if the specified region layer exist. |
boolean |
equals(Object obj)
|
String[] |
getRegionCodes()
Get region codes for all values of multi-regional string class |
int |
getType()
Get type of MdmValue instance. |
MdmValue |
getValue(String regionCode)
Returns value for the specified region code |
int |
hashCode()
|
boolean |
isMultiregion()
Specify if MdmValue is multi-region instance |
boolean |
isNull()
Specify if MdmValue is NULL |
boolean |
isNull(String regionCode)
Check if the value for specified region code is NullValue. |
void |
setValue(String regionCode,
MdmValue value)
Sets a new value for the specified region code |
String |
toString()
|
| Methods inherited from class com.sap.mdm.valuetypes.AbstractMdmValue |
compareTo, isMultivalue |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public MultiregionValue()
| Method Detail |
public String[] getRegionCodes()
public boolean isNull(String regionCode)
throws IllegalArgumentException
NullValue.
regionCode - region code
true if value is instance of NullValue, false> otherwise
IllegalArgumentExceptionpublic boolean containsRegion(String regionCode)
regionCode - the region code
true if the region layer exist, otherwise, false
public MdmValue getValue(String regionCode)
throws IllegalArgumentException
regionCode - region code
MdmValue
IllegalArgumentException
public void setValue(String regionCode,
MdmValue value)
throws IllegalArgumentException
regionCode - region codevalue - a new value
IllegalArgumentExceptionpublic Object clone()
MdmValue
clone in interface MdmValueclone in class AbstractMdmValuepublic int getType()
MdmValue
getType in interface MdmValuegetType in class AbstractMdmValuepublic boolean isMultiregion()
MdmValue
isMultiregion in interface MdmValueisMultiregion in class AbstractMdmValuepublic boolean isNull()
MdmValue
isNull in interface MdmValueisNull in class AbstractMdmValuepublic boolean equals(Object obj)
equals in class AbstractMdmValueObject.equals(java.lang.Object)public int hashCode()
Object.hashCode()public String toString()
Object.toString()public int compareTo(MdmValue otherValue)
AbstractMdmValue
compareTo in class AbstractMdmValueotherValue - the MdmValue to be compared.
0 if the argument is a MdmValue is equal to this MdmValue;
the value is less than 0 if this MdmValue is less than the argument MdmValue;
the value is greater than 0 if this MdmValue is greater than the argument MdmValue;
|
|||||||||||
| 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.