com.rapidtransform.core.type
Class GenericPropertyValue<DataType>

java.lang.Object
  extended by com.rapidtransform.core.type.GenericPropertyValue<DataType>
All Implemented Interfaces:
PropertyHolder

public abstract class GenericPropertyValue<DataType>
extends java.lang.Object
implements PropertyHolder

Generic placeholder for custom properties. the Type is specified by the generic DataType and the persistent class can be specified using the given constructor or setter method.

Author:
S. Werner

Constructor Summary
GenericPropertyValue()
           
GenericPropertyValue(java.lang.Class persistentClass)
           
 
Method Summary
 java.lang.Class getPersistentType()
           
 DataType getValue()
           
 void setPersistentType(java.lang.Class persistentType)
           
 void setValue(DataType value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.rapidtransform.core.type.PropertyHolder
getMetaTypeName, getProperties, getProperty, getUuid, setMetaTypeName, setProperties, setProperty, setUuid
 

Constructor Detail

GenericPropertyValue

public GenericPropertyValue()

GenericPropertyValue

public GenericPropertyValue(java.lang.Class persistentClass)
Method Detail

getPersistentType

public java.lang.Class getPersistentType()
Returns:
Returns the persistentType.

setPersistentType

public void setPersistentType(java.lang.Class persistentType)
Parameters:
persistentType - The persistentType to set.

getValue

public DataType getValue()

setValue

public void setValue(DataType value)