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