org.hibernate.envers.configuration.metadata.reader
Class ComponentAuditingData

java.lang.Object
  extended by org.hibernate.envers.configuration.metadata.reader.PropertyAuditingData
      extended by org.hibernate.envers.configuration.metadata.reader.ComponentAuditingData
All Implemented Interfaces:
AuditedPropertiesHolder

public class ComponentAuditingData
extends PropertyAuditingData
implements AuditedPropertiesHolder

Audit mapping meta-data for component.

Author:
Adam Warski (adam at warski dot org)

Constructor Summary
ComponentAuditingData()
           
 
Method Summary
 void addPropertyAuditingData(String propertyName, PropertyAuditingData auditingData)
          Add an audited property.
 PropertyAuditingData getPropertyAuditingData(String propertyName)
           
 
Methods inherited from class org.hibernate.envers.configuration.metadata.reader.PropertyAuditingData
addAuditingOverride, addAuditingOverrides, getAccessType, getAuditingOverrides, getAuditMappedBy, getBeanName, getJoinTable, getMapKey, getName, getPositionMappedBy, getPropertyData, getRelationTargetAuditMode, getStore, isForceInsertable, setAccessType, setAuditMappedBy, setBeanName, setForceInsertable, setJoinTable, setMapKey, setName, setPositionMappedBy, setRelationTargetAuditMode, setStore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentAuditingData

public ComponentAuditingData()
Method Detail

addPropertyAuditingData

public void addPropertyAuditingData(String propertyName,
                                    PropertyAuditingData auditingData)
Description copied from interface: AuditedPropertiesHolder
Add an audited property.

Specified by:
addPropertyAuditingData in interface AuditedPropertiesHolder
Parameters:
propertyName - Name of the audited property.
auditingData - Data for the audited property.

getPropertyAuditingData

public PropertyAuditingData getPropertyAuditingData(String propertyName)
Specified by:
getPropertyAuditingData in interface AuditedPropertiesHolder
Parameters:
propertyName - Name of a property.
Returns:
Auditing data for the property.


Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.