com.softwareag.centrasite.appl.framework.types.impl
Class AssociationTypeImpl

java.lang.Object
  extended by com.softwareag.centrasite.appl.framework.types.impl.AssociationTypeImpl
All Implemented Interfaces:
AssociationType

public class AssociationTypeImpl
extends java.lang.Object
implements AssociationType


Method Summary
 java.lang.String getBackwardLabel(java.util.Locale locale)
          Return the backward label of this AssociationType in the given locale.
 java.lang.String getForwardLabel(java.util.Locale locale)
          Return the forward label of this AssociationType in the given locale.
 java.lang.String getName(java.util.Locale locale)
          Return the name of this AssociationType in the given locale.
 java.lang.String getValue()
          Return the value of this AssociationType.
 void setBackwardLabel(java.lang.String backwardLabel, java.util.Locale locale)
          Set the backward label of this AssociationType, in the given locale.
 void setForwardLabel(java.lang.String forwardLabel, java.util.Locale locale)
          Set the forward label of this AssociationType, in the given locale.
 void setName(java.lang.String name, java.util.Locale locale)
          Set the name of this AssociationType, in the given locale.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getValue

public java.lang.String getValue()
                          throws CSAppFrameworkException
Description copied from interface: AssociationType
Return the value of this AssociationType.

Specified by:
getValue in interface AssociationType
Returns:
the value of this AssociationType.
Throws:
CSAppFrameworkException
See Also:
AssociationType.getValue()

setName

public void setName(java.lang.String name,
                    java.util.Locale locale)
             throws CSAppFrameworkException
Description copied from interface: AssociationType
Set the name of this AssociationType, in the given locale.

Specified by:
setName in interface AssociationType
Parameters:
name - the name of this AssociationType
locale - the locale. If null, the locale of the underlying JAXR connection will be used.
Throws:
CSAppFrameworkException
See Also:
AssociationType.setName(String, Locale)

getName

public java.lang.String getName(java.util.Locale locale)
                         throws CSAppFrameworkException
Description copied from interface: AssociationType
Return the name of this AssociationType in the given locale. The evaluation of the locale follows the behaviour of CentraSiteInternationalString.getLocalStringValue().

Specified by:
getName in interface AssociationType
Parameters:
locale - the locale for the name to be returned. If null, the default locale will be used.
Returns:
the name of this AssociationType
Throws:
CSAppFrameworkException
See Also:
AssociationType.getName(Locale)

setBackwardLabel

public void setBackwardLabel(java.lang.String backwardLabel,
                             java.util.Locale locale)
                      throws CSAppFrameworkException
Description copied from interface: AssociationType
Set the backward label of this AssociationType, in the given locale.

Specified by:
setBackwardLabel in interface AssociationType
Parameters:
backwardLabel - the backward label of this AssociationType
locale - the locale. If null, the locale of the underlying JAXR connection will be used.
Throws:
CSAppFrameworkException
See Also:
AssociationType.setBackwardLabel(String, Locale)

getBackwardLabel

public java.lang.String getBackwardLabel(java.util.Locale locale)
                                  throws CSAppFrameworkException
Description copied from interface: AssociationType
Return the backward label of this AssociationType in the given locale. The evaluation of the locale follows the behaviour of CentraSiteInternationalString.getLocalStringValue().

Specified by:
getBackwardLabel in interface AssociationType
Parameters:
locale - the locale for the backward label to be returned. If null, the default locale will be used.
Returns:
the forward label of this AssociationType
Throws:
CSAppFrameworkException
See Also:
AssociationType.getBackwardLabel(Locale)

setForwardLabel

public void setForwardLabel(java.lang.String forwardLabel,
                            java.util.Locale locale)
                     throws CSAppFrameworkException
Description copied from interface: AssociationType
Set the forward label of this AssociationType, in the given locale.

Specified by:
setForwardLabel in interface AssociationType
Parameters:
forwardLabel - the forward label of this AssociationType
locale - the locale. If null, the locale of the underlying JAXR connection will be used.
Throws:
CSAppFrameworkException
See Also:
AssociationType.setForwardLabel(String, Locale)

getForwardLabel

public java.lang.String getForwardLabel(java.util.Locale locale)
                                 throws CSAppFrameworkException
Description copied from interface: AssociationType
Return the forward label of this AssociationType in the given locale. The evaluation of the locale follows the behaviour of CentraSiteInternationalString.getLocalStringValue().

Specified by:
getForwardLabel in interface AssociationType
Parameters:
locale - the locale for the forward label to be returned. If null, the default locale will be used.
Returns:
the forward label of this AssociationType
Throws:
CSAppFrameworkException
See Also:
AssociationType.getForwardLabel(Locale)