com.semarchy.mdm.runtime.model.logical.label
Interface IModelLabelProvider

All Superinterfaces:
IRuntimeLabelProvider, Serializable

public interface IModelLabelProvider
extends IRuntimeLabelProvider, Serializable

The Model

Author:
sarod

Field Summary
static String DESCRIPTION
           
static String FROM_ROLE_LABEL
           
static String FROM_ROLE_PLURAL_LABEL
           
static String LABEL
           
static String PLURAL_LABEL
           
static String TO_ROLE_LABEL
           
 
Method Summary
 String getDescription(Object pObject, Locale pLocale)
           Returns the description of an object in a given locale
 String getFromRoleLabel(IReference pReference, Locale pLocale)
           
 String getFromRolePluralLabel(IReference pReference, Locale pLocale)
           
 String getLabel(Object pObject, Locale pLocale)
           Returns a label for an object in the given locale
 String getToRoleLabel(IReference pReference, Locale pLocale)
           
 
Methods inherited from interface com.semarchy.mdm.runtime.model.labels.IRuntimeLabelProvider
getPluralLabel
 

Field Detail

DESCRIPTION

static final String DESCRIPTION
See Also:
Constant Field Values

LABEL

static final String LABEL
See Also:
Constant Field Values

PLURAL_LABEL

static final String PLURAL_LABEL
See Also:
Constant Field Values

TO_ROLE_LABEL

static final String TO_ROLE_LABEL
See Also:
Constant Field Values

FROM_ROLE_LABEL

static final String FROM_ROLE_LABEL
See Also:
Constant Field Values

FROM_ROLE_PLURAL_LABEL

static final String FROM_ROLE_PLURAL_LABEL
See Also:
Constant Field Values
Method Detail

getFromRoleLabel

String getFromRoleLabel(IReference pReference,
                        Locale pLocale)

getFromRolePluralLabel

String getFromRolePluralLabel(IReference pReference,
                              Locale pLocale)

getToRoleLabel

String getToRoleLabel(IReference pReference,
                      Locale pLocale)

getLabel

String getLabel(Object pObject,
                Locale pLocale)
Description copied from interface: IRuntimeLabelProvider

Returns a label for an object in the given locale

Specified by:
getLabel in interface IRuntimeLabelProvider
Returns:
the translated object

getDescription

String getDescription(Object pObject,
                      Locale pLocale)
Description copied from interface: IRuntimeLabelProvider

Returns the description of an object in a given locale

Specified by:
getDescription in interface IRuntimeLabelProvider
Returns:


Copyright © 2015. All Rights Reserved.