static class Metadata.IdentifierPropertyPath extends Object implements Metadata.PropertyPath<IdentifiableData,Integer>
Modifier and Type | Field and Description |
---|---|
private Type |
hibernateType |
Constructor and Description |
---|
IdentifierPropertyPath(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.
|
Integer |
getValue(DbControl dc,
IdentifiableData item)
Get the value as defined by the implementation for the given item.
|
String |
toString() |
private final Type hibernateType
IdentifierPropertyPath(Type hibernateType)
public Integer getValue(DbControl dc, IdentifiableData item)
Metadata.PropertyPath
getValue
in interface Metadata.PropertyPath<IdentifiableData,Integer>
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<IdentifiableData,Integer>
public String getPath()
Metadata.PropertyPath
getPath
in interface Metadata.PropertyPath<IdentifiableData,Integer>