org.hibernate.envers.entities
Class PropertyData

java.lang.Object
  extended by org.hibernate.envers.entities.PropertyData

public class PropertyData
extends Object

Holds information on a property that is audited.

Author:
Adam Warski (adam at warski dot org)

Constructor Summary
PropertyData(String newName, PropertyData propertyData)
          Copies the given property data, except the name.
PropertyData(String name, String beanName, String accessType, ModificationStore store)
           
 
Method Summary
 boolean equals(Object o)
           
 String getAccessType()
           
 String getBeanName()
           
 String getName()
           
 ModificationStore getStore()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyData

public PropertyData(String newName,
                    PropertyData propertyData)
Copies the given property data, except the name.

Parameters:
newName - New name.
propertyData - Property data to copy the rest of properties from.

PropertyData

public PropertyData(String name,
                    String beanName,
                    String accessType,
                    ModificationStore store)
Parameters:
name - Name of the property.
beanName - Name of the property in the bean.
accessType - Accessor type for this property.
store - How this property should be stored.
Method Detail

getName

public String getName()

getBeanName

public String getBeanName()

getAccessType

public String getAccessType()

getStore

public ModificationStore getStore()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


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