|
Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.wsrp.consumer.userproperty.AbstractUserPropertyMapper
com.bea.wsrp.consumer.userproperty.DefaultUserPropertyMapper
public class DefaultUserPropertyMapper
The default mapper which can map the folowing:
propertySetName.propertyName
. Value is inside
of quotes (")propertySetName.propertyName
. Value is
propertySetName.propertyName
propertySetName.*
. Value is
propertySetName.*
.You may overide this class to do default mapping and then perform your own custom mapping.
Constructor Summary | |
---|---|
DefaultUserPropertyMapper()
|
Method Summary | |
---|---|
Collection<UserProperty> |
mapProperties(RequiredUserProperties requiredProperties,
Map<String,String> map,
EntityPropertyCache profile)
Map the consumer's properties (profile) to the producer's (return). |
Methods inherited from class com.bea.wsrp.consumer.userproperty.AbstractUserPropertyMapper |
---|
addUserProperty, addUserProperty, addUserProperty, addUserProperty, addUserProperty, addUserProperty, addUserProperty, addUserProperty, addUserProperty, getProperty, isPropertySetMapping, mapProperty, mapPropertySet |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultUserPropertyMapper()
Method Detail |
---|
public Collection<UserProperty> mapProperties(RequiredUserProperties requiredProperties, Map<String,String> map, EntityPropertyCache profile)
Map the consumer's properties (profile) to the producer's (return).
Generally the map will be as follows:
However if you extend this class, you may use whatever format strings your mapper understands.
If you wish to perform default mapping for some properties and custom mapping for others:
Override this method call Collection
The call addUserPropery(properties, propertySetName, propertyName, value)
as needed.
requiredProperties
- the properties requested by the producermap
- A map where the key is the producer's name and the value is the consumer's nameprofile
- the User's profile on the consumer
|
Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |