public class ERXRestNameRegistry extends Object
Modifier | Constructor and Description |
---|---|
protected |
ERXRestNameRegistry() |
Modifier and Type | Method and Description |
---|---|
protected void |
_setExternalNameForInternalName(String externalName,
String internalName) |
String |
externalNameForInternalName(String internalName)
Returns the external name for the given internal name.
|
String |
internalNameForExternalName(String externalName)
Returns the internal name for the given external name.
|
static ERXRestNameRegistry |
registry()
Returns the singleton name registry.
|
void |
setExternalNameForInternalName(String externalName,
String internalName)
Sets the external name for a given internal name.
|
public static ERXRestNameRegistry registry()
public void setExternalNameForInternalName(String externalName, String internalName)
externalName
- the name to expose in your serviceinternalName
- the name for use internallyprotected void _setExternalNameForInternalName(String externalName, String internalName)
public String externalNameForInternalName(String internalName)
internalName
- the internal name of the entityCopyright © 2002 – 2024 Project Wonder.