Package net.sf.basedb.core
Interface Metadata.PropertyPath<C,V>
- All Known Implementing Classes:
Metadata.BasicData2ItemPropertyPath
,Metadata.BasicItem2DataPropertyPath
,Metadata.CollectionPropertyPath
,Metadata.CombinedPropertyPath
,Metadata.ComponentPropertyPath
,Metadata.DateCopyPropertyPath
,Metadata.EntityPropertyPath
,Metadata.EvictPropertyPath
,Metadata.IdentifierPropertyPath
,Metadata.MapPropertyPath
,Metadata.NoopPropertyPath
,Metadata.ReporterScore2DataPropertyPath
public static interface Metadata.PropertyPath<C,V>
Contract for getting the value of a specific property for an item.
- Since:
- 2.15
-
Method Summary
-
Method Details
-
getValue
Get the value as defined by the implementation for the given item.- Parameters:
dc
- A DbControl to use for database access if neededitem
- The item that owns the value- Returns:
- The value from the item
-
getHibernateType
Type getHibernateType()Get type information about the value that is returned by this path. -
getPath
String getPath()Get the path that this object represents. Implementors may return null if the path is an "invisible" transition, eg from BasicItem to BasicData or a cloned Date, etc.
-