atg.commerce.order.processor
Class LoadProperties

java.lang.Object
  extended by atg.nucleus.logging.ApplicationLoggingImpl
      extended by atg.commerce.order.processor.LoadProperties
All Implemented Interfaces:
ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging
Direct Known Subclasses:
B2BProcLoadRelationshipObjects, ProcLoadCommerceItemObjects, ProcLoadCostCenterObjects, ProcLoadHandlingInstructionObjects, ProcLoadOrderObject, ProcLoadPaymentGroupObjects, ProcLoadPaymentStatusObjects, ProcLoadPriceInfoObjects, ProcLoadRelationshipObjects, ProcLoadShippingGroupObjects

public abstract class LoadProperties
extends ApplicationLoggingImpl

This abstract class stores a list of properties to be loaded for a bean. Processors which extend this class inherit the loadProperties and propertyDescriptorToBeanPropertyMap properties for listing the property names and mapping them.

See Also:
ChangedProperties

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging
DEFAULT_LOG_TRACE_STATUS
 
Fields inherited from interface atg.nucleus.logging.ApplicationLogging
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
 
Constructor Summary
LoadProperties()
           
 
Method Summary
 java.lang.String[] getLoadProperties()
          Returns the loadProperties
 java.lang.String getMappedPropertyName(java.lang.String pBeanPropertyName)
          Returns the repository property name mapped to the bean property name.
 java.util.Properties getPropertyDescriptorToBeanPropertyMap()
          Returns the propertyDescriptorToBeanPropertyMap
 void setLoadProperties(java.lang.String[] pLoadProperties)
          Sets the loadProperties
 void setPropertyDescriptorToBeanPropertyMap(java.util.Properties pPropertyDescriptorToBeanPropertyMap)
          Sets the propertyDescriptorToBeanPropertyMap
 
Methods inherited from class atg.nucleus.logging.ApplicationLoggingImpl
addGlobalLogListeners, addLogListener, getLoggingIdentifer, getLoggingIdentifier, getLogListenerCount, getLogListeners, initializeFromServiceEvent, isAutoInitListeners, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, removeLogListener, sendLogEvent, setAutoInitListeners, setLoggingDebug, setLoggingError, setLoggingIdentifier, setLoggingInfo, setLoggingTrace, setLoggingWarning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

LoadProperties

public LoadProperties()
Method Detail

getLoadProperties

public java.lang.String[] getLoadProperties()
Returns the loadProperties


setLoadProperties

public void setLoadProperties(java.lang.String[] pLoadProperties)
Sets the loadProperties


getPropertyDescriptorToBeanPropertyMap

public java.util.Properties getPropertyDescriptorToBeanPropertyMap()
Returns the propertyDescriptorToBeanPropertyMap


setPropertyDescriptorToBeanPropertyMap

public void setPropertyDescriptorToBeanPropertyMap(java.util.Properties pPropertyDescriptorToBeanPropertyMap)
Sets the propertyDescriptorToBeanPropertyMap


getMappedPropertyName

public java.lang.String getMappedPropertyName(java.lang.String pBeanPropertyName)
Returns the repository property name mapped to the bean property name. If there is no name mapped then the value supplied in pBeanPropertyName is returned because that is assumed to be the repository property name also.

Parameters:
pBeanPropertyName - the bean property name
Returns:
the repository property name