net.sf.basedb.core
Class Metadata.ReporterScore2DataPropertyPath
java.lang.Object
net.sf.basedb.core.Metadata.ReporterScore2DataPropertyPath
- All Implemented Interfaces:
- Metadata.PropertyPath<ReporterScore,ReporterListScoreData>
- Enclosing class:
- Metadata<C>
static class Metadata.ReporterScore2DataPropertyPath
- extends Object
- implements Metadata.PropertyPath<ReporterScore,ReporterListScoreData>
Property path implementation that converts a ReporterScore to a ReporterListScoreData
object.
- Since:
- 2.15
hibernateType
private final org.hibernate.type.Type hibernateType
Metadata.ReporterScore2DataPropertyPath
Metadata.ReporterScore2DataPropertyPath(org.hibernate.type.Type hibernateType)
getValue
public ReporterListScoreData getValue(DbControl dc,
ReporterScore item)
- Description copied from interface:
Metadata.PropertyPath
- Get the value as defined by the implementation for the given item.
- Specified by:
getValue
in interface Metadata.PropertyPath<ReporterScore,ReporterListScoreData>
- Parameters:
dc
- A DbControl to use for database access if neededitem
- The item that owns the value
- Returns:
- The value from the item
getHibernateType
public org.hibernate.type.Type getHibernateType()
- Description copied from interface:
Metadata.PropertyPath
- Get type information about the value that is returned by this path.
- Specified by:
getHibernateType
in interface Metadata.PropertyPath<ReporterScore,ReporterListScoreData>
getPath
public String getPath()
- Description copied from interface:
Metadata.PropertyPath
- Get the path that this object represents.
Implementors may return null if the path is an "invisible"
transition, eg from BasicItem to BasicData or a cloned Date, etc.
- Specified by:
getPath
in interface Metadata.PropertyPath<ReporterScore,ReporterListScoreData>
toString
public String toString()
- Overrides:
toString
in class Object