static class Metadata.ComponentPropertyPath<C,V> extends java.lang.Object implements Metadata.PropertyPath<C,V>
Modifier and Type | Field and Description |
---|---|
private ComponentType |
component |
private Type |
hibernateType |
private int |
index |
Constructor and Description |
---|
ComponentPropertyPath(ComponentType component,
int index,
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.
|
V |
getValue(DbControl dc,
C item)
Get the value as defined by the implementation for the given item.
|
java.lang.String |
toString() |
private ComponentType component
private int index
private final Type hibernateType
ComponentPropertyPath(ComponentType component, int index, 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 java.lang.String getPath()
Metadata.PropertyPath
getPath
in interface Metadata.PropertyPath<C,V>
public java.lang.String toString()
toString
in class java.lang.Object