com.softwareag.centrasite.appl.framework.beans.standard.impl
Class StandardMappingUtils

java.lang.Object
  extended by com.softwareag.centrasite.appl.framework.beans.standard.impl.StandardMappingUtils

public final class StandardMappingUtils
extends java.lang.Object


Method Summary
static EmailAddress getEmailAddress(javax.xml.registry.infomodel.EmailAddress emailAdrress)
          Gets TelephoneNumber for given JAXR TelephoneNumber
static InternationalString getInternationalString(javax.xml.registry.infomodel.InternationalString internationalString)
          Gets InternationalString for given JAXR InternationalString
static javax.xml.registry.infomodel.EmailAddress getJAXREmailAddress(EmailAddress emailAdrress)
          Gets JAXR EmailAddress for given EmailAddress
static javax.xml.registry.infomodel.InternationalString getJAXRInternationalString(InternationalString internationalString)
          Gets JAXR InternationalString for given InternationalString
static javax.xml.registry.infomodel.LocalizedString getJAXRLoclizedString(LocalizedString localizedString)
          Gets JAXR LocalizedString for given LocalizedString
static javax.xml.registry.infomodel.PersonName getJAXRPersonName(PersonName personName)
          Gets JAXR PersonName for given PersonName
static javax.xml.registry.infomodel.PostalAddress getJAXRPostalAddress(PostalAddress postalAddress)
          Gets JAXR PostalAddress for given PostalAddress
static javax.xml.registry.infomodel.Slot getJAXRSlot(Slot slot)
          Gets JAXR TelephoneNumber for given TelephoneNumber
static javax.xml.registry.infomodel.TelephoneNumber getJAXRTelephoneNumber(TelephoneNumber telephoneNumber)
          Gets JAXR TelephoneNumber for given TelephoneNumber
static LocalizedString getLoclizedString(javax.xml.registry.infomodel.LocalizedString localizedString)
          Gets LocalizedString for given JAXR LocalizedString
static PersonName getPersonName(javax.xml.registry.infomodel.PersonName personName)
          Gets PersonName for given JAXR PersonName
static PostalAddress getPostalAddress(javax.xml.registry.infomodel.PostalAddress postalAddress)
          Gets PostalAddress for given JAXR PostalAddress
static Slot getSlot(javax.xml.registry.infomodel.Slot slot)
          Gets Slot for given JAXR Slot
static TelephoneNumber getTelephoneNumber(javax.xml.registry.infomodel.TelephoneNumber telephoneNumber)
          Gets TelephoneNumber for given JAXR TelephoneNumber
static java.lang.Object getValue(java.lang.Object value, java.util.Locale locale)
          Deprecated. 
static boolean isCSAFSupportType(java.lang.Object value)
          Deprecated. 
static boolean isJAXRSupportType(java.lang.Object value)
          Deprecated. 
static java.lang.Object toBeanValue(java.lang.Object value, java.util.Locale locale)
          Transforms a JAXR support type object to a registry bean support type object.
static java.lang.Object toJAXRValue(java.lang.Object value, java.util.Locale locale)
          Transforms a registry bean support type object to a JAXR support type object Support type objects are TelephoneNumber, PostaAddress ... etc
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getJAXREmailAddress

public static javax.xml.registry.infomodel.EmailAddress getJAXREmailAddress(EmailAddress emailAdrress)
Gets JAXR EmailAddress for given EmailAddress

Parameters:
emailAdrress -
Returns:
javax.xml.registry.infomodel.EmailAddress

getJAXRPersonName

public static javax.xml.registry.infomodel.PersonName getJAXRPersonName(PersonName personName)
Gets JAXR PersonName for given PersonName

Parameters:
personName -
Returns:
javax.xml.registry.infomodel.PersonName

getJAXRInternationalString

public static javax.xml.registry.infomodel.InternationalString getJAXRInternationalString(InternationalString internationalString)
Gets JAXR InternationalString for given InternationalString

Parameters:
internationalString -
Returns:
javax.xml.registry.infomodel.InternationalString

getJAXRLoclizedString

public static javax.xml.registry.infomodel.LocalizedString getJAXRLoclizedString(LocalizedString localizedString)
Gets JAXR LocalizedString for given LocalizedString

Parameters:
localizedString -
Returns:
javax.xml.registry.infomodel.LocalizedStrin

getJAXRPostalAddress

public static javax.xml.registry.infomodel.PostalAddress getJAXRPostalAddress(PostalAddress postalAddress)
Gets JAXR PostalAddress for given PostalAddress

Parameters:
postalAddress -
Returns:
javax.xml.registry.infomodel.PostalAddress

getJAXRTelephoneNumber

public static javax.xml.registry.infomodel.TelephoneNumber getJAXRTelephoneNumber(TelephoneNumber telephoneNumber)
Gets JAXR TelephoneNumber for given TelephoneNumber

Parameters:
telephoneNumber -
Returns:
javax.xml.registry.infomodel.TelephoneNumber

getJAXRSlot

public static javax.xml.registry.infomodel.Slot getJAXRSlot(Slot slot)
Gets JAXR TelephoneNumber for given TelephoneNumber

Parameters:
slot -
Returns:
javax.xml.registry.infomodel.Slot

getEmailAddress

public static EmailAddress getEmailAddress(javax.xml.registry.infomodel.EmailAddress emailAdrress)
Gets TelephoneNumber for given JAXR TelephoneNumber

Parameters:
emailAdrress -
Returns:
EmailAddress

getPersonName

public static PersonName getPersonName(javax.xml.registry.infomodel.PersonName personName)
Gets PersonName for given JAXR PersonName

Parameters:
personName -
Returns:
PersonName

getInternationalString

public static InternationalString getInternationalString(javax.xml.registry.infomodel.InternationalString internationalString)
Gets InternationalString for given JAXR InternationalString

Parameters:
internationalString -
Returns:
InternationalString

getLoclizedString

public static LocalizedString getLoclizedString(javax.xml.registry.infomodel.LocalizedString localizedString)
Gets LocalizedString for given JAXR LocalizedString

Parameters:
localizedString -
Returns:
LocalizedString

getPostalAddress

public static PostalAddress getPostalAddress(javax.xml.registry.infomodel.PostalAddress postalAddress)
Gets PostalAddress for given JAXR PostalAddress

Parameters:
postalAddress -
Returns:
PostalAddress

getTelephoneNumber

public static TelephoneNumber getTelephoneNumber(javax.xml.registry.infomodel.TelephoneNumber telephoneNumber)
Gets TelephoneNumber for given JAXR TelephoneNumber

Parameters:
telephoneNumber -
Returns:
TelephoneNumber

getSlot

public static Slot getSlot(javax.xml.registry.infomodel.Slot slot)
Gets Slot for given JAXR Slot

Parameters:
slot -
Returns:
Slot

getValue

@Deprecated
public static java.lang.Object getValue(java.lang.Object value,
                                                   java.util.Locale locale)
                                 throws CSAppFrameworkException
Deprecated. 

Returns the corresponding value of the given value

Parameters:
value -
locale -
Returns:
Object
Throws:
CSAppFrameworkException

toBeanValue

public static java.lang.Object toBeanValue(java.lang.Object value,
                                           java.util.Locale locale)
                                    throws CSAppFrameworkException
Transforms a JAXR support type object to a registry bean support type object. Support type objects are TelephoneNumber, PostaAddress ... etc

Parameters:
value -
locale -
Returns:
Registry bean object
Throws:
CSAppFrameworkException

toJAXRValue

public static java.lang.Object toJAXRValue(java.lang.Object value,
                                           java.util.Locale locale)
                                    throws CSAppFrameworkException
Transforms a registry bean support type object to a JAXR support type object Support type objects are TelephoneNumber, PostaAddress ... etc

Parameters:
value -
locale -
Returns:
JAXR Object
Throws:
CSAppFrameworkException

isJAXRSupportType

@Deprecated
public static boolean isJAXRSupportType(java.lang.Object value)
Deprecated. 

Checks if the the given value is one of the JAXR support types ( TelephoneNumber, PostaAddress ... etc) This method is @Deprecated, use SupportType's method isJAXRSupportType()

Parameters:
value -
Returns:
boolean

isCSAFSupportType

@Deprecated
public static boolean isCSAFSupportType(java.lang.Object value)
Deprecated. 

Checks if the the given value is one of the JAXR support types ( TelephoneNumber, PostaAddress ... etc) This method is @Deprecated, use SupportType's method isCSAFSupportType()

Parameters:
value -
Returns:
boolean