com.sap.mdm.data
Class RegionalString

java.lang.Object
  extended bycom.sap.mdm.internal.io.Archivable
      extended bycom.sap.mdm.data.RegionalString
All Implemented Interfaces:
Cloneable

public class RegionalString
extends com.sap.mdm.internal.io.Archivable
implements Cloneable

A wrapper for a string that contains the region code.


Constructor Summary
RegionalString()
          Constructs with no parameter.
RegionalString(RegionalString string)
          Copy constructor.
RegionalString(String string)
          Constructs with the specified string.
RegionalString(String string, String regionCode)
          Constructs with the specified string and region.
 
Method Summary
 Object clone()
           
 void clone(Object obj)
          Deprecated. replaced by copy(RegionalString)
 void Copy(com.sap.mdm.internal.io.Archivable obj)
           
 void copy(RegionalString that)
          Copies the regional string.
 void Empty()
          Deprecated.  
 boolean equals(Object obj)
           
 String getRegionCode()
          Returns the region code.
 String getString()
          Returns the string value.
 String GetString()
          Deprecated. use getString() instead.
 int hashCode()
           
 void Load(com.sap.mdm.internal.io.Archive archive)
           
 void setString(String string)
          Sets the string value.
 void Store(com.sap.mdm.internal.io.Archive archive)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RegionalString

public RegionalString()
Constructs with no parameter.


RegionalString

public RegionalString(RegionalString string)
Copy constructor.

Parameters:
string - the string value.

RegionalString

public RegionalString(String string)
Constructs with the specified string.

Parameters:
string - the string value.

RegionalString

public RegionalString(String string,
                      String regionCode)
Constructs with the specified string and region.

Parameters:
string - the string value.
regionCode - the region code.
Method Detail

getRegionCode

public String getRegionCode()
Returns the region code.

Returns:
the region code.

getString

public String getString()
Returns the string value.

Returns:
string value.

GetString

public String GetString()
Deprecated. use getString() instead.

Returns the string value.

Returns:
string value

setString

public void setString(String string)
Sets the string value.

Parameters:
string - the string value.

copy

public void copy(RegionalString that)
Copies the regional string.

Parameters:
that - the other regional string.

clone

public void clone(Object obj)
Deprecated. replaced by copy(RegionalString)

Copy the object.

Parameters:
obj - the object to copy

clone

public Object clone()

equals

public boolean equals(Object obj)

toString

public String toString()

hashCode

public int hashCode()
See Also:
Object.hashCode()

Load

public void Load(com.sap.mdm.internal.io.Archive archive)

Store

public void Store(com.sap.mdm.internal.io.Archive archive)

Copy

public void Copy(com.sap.mdm.internal.io.Archivable obj)

Empty

public void Empty()
Deprecated.  

For internal use only. Sets the string value to empty string.



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.