public class DisplayNames
extends java.lang.Object
Constructor and Description |
---|
DisplayNames() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getPropertyDisplayName(java.lang.String propName)
Gets a translated string representing the name of the given property.
|
static java.lang.String |
getTypeDisplayName(java.lang.String objectType)
Gets a translated representation of the given object type (e.g.
|
static java.lang.String |
getTypePluralName(java.lang.String objectType)
Gets a translated representation of the given object type as a plural
(e.g.
|
public static java.lang.String getTypeDisplayName(java.lang.String objectType)
public static java.lang.String getTypePluralName(java.lang.String objectType)
public static java.lang.String getPropertyDisplayName(java.lang.String propName)
Property
class.propName
- the api name of the property.