public class ValueMappingService
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.util.List |
getExternalKeyRelationships(java.lang.Object internalName)
Returns a list value mappings for the specified internal name.
|
java.lang.Object |
getExternalValue(java.lang.Object internalName,
java.lang.Object internalValue)
This method returns the external value to the specified internal value.
|
static ValueMappingService |
getInstance(java.lang.String componentId)
Returns an instance of the value mapping service.
|
java.util.List |
getInternalKeyRelationships(java.lang.Object externalName)
Returns the value mappings for the specified external name.
|
java.lang.Object |
getInternalValue(java.lang.Object externalName,
java.lang.Object externalValue)
This method returns the internal value to the specified external value.
|
public static ValueMappingService getInstance(java.lang.String componentId)
componentId
- The component identifier of the configuration to retrieve.public java.util.List getExternalKeyRelationships(java.lang.Object internalName)
internalName
- The internal key object.public java.util.List getInternalKeyRelationships(java.lang.Object externalName)
externalName
- The external key object.public java.lang.Object getExternalValue(java.lang.Object internalName, java.lang.Object internalValue)
internalName
- The internal name of the value to convert.internalValue
- The internal value to convert to the external value.public java.lang.Object getInternalValue(java.lang.Object externalName, java.lang.Object externalValue)
externalName
- The internal name of the value to convert.externalValue
- The internal value to convert to the external value.