static class Metadata.NoopPropertyPath<C> extends java.lang.Object implements Metadata.PropertyPath<C,C>
Modifier and Type | Field and Description |
---|---|
private java.lang.Class<C> |
clazz |
private Type |
hibernateType |
Constructor and Description |
---|
NoopPropertyPath(java.lang.Class<C> clazz,
Type hibernateType) |
Modifier and Type | Method and Description |
---|---|
Type |
getHibernateType()
Get type information about the value that is returned by this path.
|
java.lang.String |
getPath()
Get the path that this object represents.
|
C |
getValue(DbControl dc,
C item)
Get the value as defined by the implementation for the given item.
|
java.lang.String |
toString() |
private final Type hibernateType
private final java.lang.Class<C> clazz
public C getValue(DbControl dc, C item)
Metadata.PropertyPath
getValue
in interface Metadata.PropertyPath<C,C>
dc
- A DbControl to use for database access if neededitem
- The item that owns the valuepublic Type getHibernateType()
Metadata.PropertyPath
getHibernateType
in interface Metadata.PropertyPath<C,C>
public java.lang.String getPath()
Metadata.PropertyPath
getPath
in interface Metadata.PropertyPath<C,C>
public java.lang.String toString()
toString
in class java.lang.Object