com.rapidtransform.core.type
Class DynamicPropertyHolder
java.lang.Object
com.rapidtransform.core.type.DynamicPropertyHolder
- All Implemented Interfaces:
- PropertyHolder
public class DynamicPropertyHolder
- extends java.lang.Object
- implements PropertyHolder
This property holder utilizes the concept of a Hibernate dynamic-component to store the map of properties in
the database.
- Author:
- Steve Werner
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
DynamicPropertyHolder
public DynamicPropertyHolder()
getProperties
public java.util.Map<java.lang.String,java.lang.Object> getProperties()
- Specified by:
getProperties
in interface PropertyHolder
setProperties
public void setProperties(java.util.Map<java.lang.String,java.lang.Object> props)
- Specified by:
setProperties
in interface PropertyHolder
getUuid
public java.lang.String getUuid()
- Specified by:
getUuid
in interface PropertyHolder
- Returns:
- Returns the uuid.
setUuid
public void setUuid(java.lang.String uuid)
- Specified by:
setUuid
in interface PropertyHolder
- Parameters:
uuid
- The uuid to set.
getMetaTypeName
public QName getMetaTypeName()
- Specified by:
getMetaTypeName
in interface PropertyHolder
- Returns:
- Returns the metaTypeName.
setMetaTypeName
public void setMetaTypeName(QName metaTypeName)
- Specified by:
setMetaTypeName
in interface PropertyHolder
- Parameters:
metaTypeName
- The metaTypeName to set.
getProperty
public java.lang.Object getProperty(java.lang.String propertyName)
- Specified by:
getProperty
in interface PropertyHolder
setProperty
public void setProperty(java.lang.String propertyName,
java.lang.Object value)
- Specified by:
setProperty
in interface PropertyHolder
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object