public class BusinessObjectMediatorConfig
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String | XPATH_NOUN_BASE_PART
XPath expression should be used to register a part mediator for the base part of a noun.
|
Constructor and Description |
---|
BusinessObjectMediatorConfig(java.lang.String astrComponentId)
Constructor for the mediator configuration
|
Modifier and Type | Method and Description |
---|---|
void | addMediator(java.lang.Class interfaceName, java.lang.Class implementationName, java.util.Map properties)
This method adds the register mediator class for the given mediator interface.
|
void | addPartMediator(java.lang.Class parentMediator, java.lang.Class interfaceName, java.lang.Class implementationName, java.util.Map properties)
This method adds the register mediator class for the given mediator interface.
|
java.util.Map | getChangeBusinessObjectNounMediatorAccessProfiles()
The method returns the access profile configured for the noun.
|
java.util.Map | getChangeBusinessObjectNounPartMediatorAccessProfiles()
The method returns the access profile configured for the noun part.
|
ChangeBusinessObjectPartMediator | getChangeBusinessObjectPartMediator(java.lang.Object aNoun, java.lang.Object aNounPart)
Get change business object part mediator
|
java.util.Collection | getChangeBusinessObjectPartMediators()
Get the mediators configured for the noun part List>
|
java.util.Map | getChangeBusinessObjectPartMediatorsMap()
Get the mediators configured for the noun part Map<<String>,List>>
|
java.lang.String | getComponentId()
Get the component id
|
java.lang.Class | getMediatorClass(java.lang.Class interfaceName)
This method returns the mediator implementation for the specified interface.
|
BusinessObjectMediator | getMediatorInstance(java.lang.Class interfaceName)
This method return an instance of the specified mediator.
|
java.util.Map | getMediatorProperties(java.lang.Class interfaceName)
This method returns the mediator properties for the specified interface.
|
java.util.Collection | getMediators()
This method returns a collection of mediator interfaces that have been configured for this business object.
|
BusinessObjectAttributeMappingConfig | getNounAttributeMapping()
Get the noun attribute mapping
|
java.lang.Class | getNounInterfaceClass()
Get the noun interface class
|
java.util.List | getNounPartAttributeMapping()
Return the noun part attribute mappings
|
BusinessObjectAttributeMappingConfig | getNounPartAttributeMapping(java.lang.Object aLogicalObject, java.lang.Object aPhysicalObject)
Get the attributes for the given logical object and physical object
|
java.util.Collection | getPartMediatorClassAndProperties(java.lang.Class parentInterfaceName, java.lang.Class interfaceName)
This method returns the list of part mediator class and properties for a given mediator.
|
java.util.Collection | getPartMediatorInstances(java.lang.Class parentInterfaceName, java.lang.Class interfaceName)
This method will return a list of part mediator implementations that is associated with the given parent mediator and part mediator interface.
|
java.util.Collection | getPartMediators(java.lang.Class parentInterfaceName)
This method returns the list of part mediator interfaces for a given mediator.
|
java.lang.Class | getPhysicalEntityInterfaceClass()
Get the physical entity interface class
|
ReadBusinessObjectMediator | getReadBusinessObjectMediator()
Get read mediator for physical to logical transformation
|
java.lang.Class | getReadBusinessObjectMediatorClass()
Get read mediator class
|
java.util.List | getReadBusinessObjectPartMediators()
Get the mediators configured for the noun part List>
|
ChangeBusinessObjectMediator | getUpdateBusinessObjectMediator()
Get update mediator for logical to physical transformation
|
java.lang.Class | getUpdateBusinessObjectMediatorClass()
Get update mediator class
|
void | setChangeBusinessObjectNounMediatorAccessProfiles(java.util.Map mapUpdateNounAccessProfile)
The method set the access profile configured for the noun.
|
void | setChangeBusinessObjectNounPartMediatorAccessProfiles(java.util.Map mapUpdateNounPartAccessProfile)
The method set the access profile configured for the noun part.
|
void | setNounAttributeMappingConfig(BusinessObjectAttributeMappingConfig nounAttributeMapping)
Set the noun attribute mapping
|
void | setNounInterfaceClass(java.lang.Class nounInterfaceClass)
Set the noun interface class
|
void | setPhysicalEntityInterfaceClass(java.lang.Class physicalEntityInterfaceClass)
Set the physical entity interface class
|
void | setReadBusinessObjectMediatorClass(java.lang.Class readBusinessObjectMediator)
Set the read business object mediator
|
void | setReadBusinessObjectMediatorClass(java.lang.Class readBusinessObjectMediator, java.util.Map properties)
Set the read business object mediator
|
void | setReadNounPartMediators(java.util.List listReadNounPartTask)
Set read part mediators
|
void | setUpdateBusinessObjectMediatorClass(java.lang.Class updateBusinessObjectMediator)
Set the change business object mediator
|
void | setUpdateBusinessObjectMediatorClass(java.lang.Class updateBusinessObjectMediator, java.util.Map properties)
Set the change business object mediator
|
void | setUpdateNounPartMediators(java.util.Map mapUpdateNounPartTask)
Set the update noun part mediators
|
void | trimToSize()
Sets the capacity of the ArrayList objects used by this object to their sizes.
|
public static final java.lang.String XPATH_NOUN_BASE_PART
public BusinessObjectMediatorConfig(java.lang.String astrComponentId)
public void addMediator(java.lang.Class interfaceName, java.lang.Class implementationName, java.util.Map properties)
public void addPartMediator(java.lang.Class parentMediator, java.lang.Class interfaceName, java.lang.Class implementationName, java.util.Map properties)
public java.util.Collection getMediators()
public java.lang.Class getMediatorClass(java.lang.Class interfaceName)
public java.util.Map getMediatorProperties(java.lang.Class interfaceName)
public BusinessObjectMediator getMediatorInstance(java.lang.Class interfaceName) throws java.lang.Exception
public java.util.Collection getPartMediators(java.lang.Class parentInterfaceName)
public java.util.Collection getPartMediatorClassAndProperties(java.lang.Class parentInterfaceName, java.lang.Class interfaceName)
public java.util.Collection getPartMediatorInstances(java.lang.Class parentInterfaceName, java.lang.Class interfaceName) throws java.lang.Exception
public java.util.List getReadBusinessObjectPartMediators()
public java.util.Collection getChangeBusinessObjectPartMediators()
public java.util.Map getChangeBusinessObjectPartMediatorsMap()
public java.util.Map getChangeBusinessObjectNounPartMediatorAccessProfiles()
public java.util.Map getChangeBusinessObjectNounMediatorAccessProfiles()
public ChangeBusinessObjectPartMediator getChangeBusinessObjectPartMediator(java.lang.Object aNoun, java.lang.Object aNounPart) throws java.lang.Exception
public ReadBusinessObjectMediator getReadBusinessObjectMediator() throws java.lang.Exception
public ChangeBusinessObjectMediator getUpdateBusinessObjectMediator() throws java.lang.Exception
public java.lang.Class getReadBusinessObjectMediatorClass() throws java.lang.Exception
public java.lang.Class getUpdateBusinessObjectMediatorClass() throws java.lang.Exception
public void setReadNounPartMediators(java.util.List listReadNounPartTask)
public void setUpdateNounPartMediators(java.util.Map mapUpdateNounPartTask)
public void setChangeBusinessObjectNounMediatorAccessProfiles(java.util.Map mapUpdateNounAccessProfile)
public void setChangeBusinessObjectNounPartMediatorAccessProfiles(java.util.Map mapUpdateNounPartAccessProfile)
public java.lang.Class getNounInterfaceClass()
public void setNounInterfaceClass(java.lang.Class nounInterfaceClass)
public java.lang.Class getPhysicalEntityInterfaceClass()
public void setPhysicalEntityInterfaceClass(java.lang.Class physicalEntityInterfaceClass)
public void setReadBusinessObjectMediatorClass(java.lang.Class readBusinessObjectMediator)
public void setReadBusinessObjectMediatorClass(java.lang.Class readBusinessObjectMediator, java.util.Map properties)
public void setUpdateBusinessObjectMediatorClass(java.lang.Class updateBusinessObjectMediator)
public void setUpdateBusinessObjectMediatorClass(java.lang.Class updateBusinessObjectMediator, java.util.Map properties)
public java.util.List getNounPartAttributeMapping()
public BusinessObjectAttributeMappingConfig getNounAttributeMapping()
public void setNounAttributeMappingConfig(BusinessObjectAttributeMappingConfig nounAttributeMapping)
public BusinessObjectAttributeMappingConfig getNounPartAttributeMapping(java.lang.Object aLogicalObject, java.lang.Object aPhysicalObject)
public java.lang.String getComponentId()
public void trimToSize()