com.sap.mdm.data
Class RegionProperties

java.lang.Object
  extended bycom.sap.mdm.data.RegionProperties
All Implemented Interfaces:
Cloneable

public class RegionProperties
extends Object
implements Cloneable

RegionProperties describes a language in the repository. A repository can contain multiple languages.


Constructor Summary
RegionProperties()
          Empty constructor.
RegionProperties(RegionProperties other)
          Copy c'tor.
RegionProperties(String name, Locale currentLocale, String regionCode)
          Non-Empty constructor.
 
Method Summary
 Object clone()
           
 boolean equals(Object obj)
           
 Locale getLocale()
          Returns the locale for the language.
 String getName()
          Returns the language name.
 String getRegionCode()
          Returns the region code for the language.
 int hashCode()
           
 void setLocale(Locale locale)
          Sets the locale for the language.
 void setName(String name)
          Sets the language name.
 void setRegionCode(String regionCode)
          Sets the region code for the language.
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RegionProperties

public RegionProperties()
Empty constructor.


RegionProperties

public RegionProperties(String name,
                        Locale currentLocale,
                        String regionCode)
Non-Empty constructor.


RegionProperties

public RegionProperties(RegionProperties other)
Copy c'tor. Creates deep copy of RegionProperties object.

Parameters:
other - Object to copy
Since:
7.2
Method Detail

getRegionCode

public String getRegionCode()
Returns the region code for the language. The region code is originally generated by the server.

Returns:
Returns the region code.

setRegionCode

public void setRegionCode(String regionCode)
Sets the region code for the language.

Parameters:
regionCode - The region code to set.

getName

public String getName()
Returns the language name.

Returns:
Returns the name.

setName

public void setName(String name)
Sets the language name.

Parameters:
name - The name to set.

getLocale

public Locale getLocale()
Returns the locale for the language.

Returns:
the locale.

setLocale

public void setLocale(Locale locale)
Sets the locale for the language.

Parameters:
locale - the locale.

hashCode

public int hashCode()

equals

public boolean equals(Object obj)

toString

public String toString()

clone

public Object clone()


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.