static class Metadata.EntityPropertyPath<C,V> extends Object implements Metadata.PropertyPath<C,V>
Modifier and Type | Field and Description |
---|---|
private Type |
hibernateType |
private ClassMetadata |
metadata |
private String |
property |
Constructor and Description |
---|
EntityPropertyPath(ClassMetadata metadata,
String property,
Type hibernateType) |
Modifier and Type | Method and Description |
---|---|
Type |
getHibernateType()
Get type information about the value that is returned by this path.
|
String |
getPath()
Get the path that this object represents.
|
V |
getValue(DbControl dc,
C item)
Get the value as defined by the implementation for the given item.
|
String |
toString() |
private final ClassMetadata metadata
private final String property
private final Type hibernateType
EntityPropertyPath(ClassMetadata metadata, String property, Type hibernateType)
public V getValue(DbControl dc, C item)
Metadata.PropertyPath
getValue
in interface Metadata.PropertyPath<C,V>
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,V>
public String getPath()
Metadata.PropertyPath
getPath
in interface Metadata.PropertyPath<C,V>