Package net.sf.basedb.core
Class Metadata.MapPropertyPath
java.lang.Object
net.sf.basedb.core.Metadata.MapPropertyPath
- All Implemented Interfaces:
Metadata.PropertyPath<Map,Map>
static class Metadata.MapPropertyPath extends Object implements Metadata.PropertyPath<Map,Map>
Property path implementation which wraps a map inside an unmodifiable
map.
- Since:
- 2.15
-
Field Summary
Fields Modifier and Type Field Description private Type
hibernateType
-
Constructor Summary
Constructors Constructor Description MapPropertyPath(Type hibernateType)
-
Method Summary
Modifier and Type Method Description Type
getHibernateType()
Get type information about the value that is returned by this path.String
getPath()
Get the path that this object represents.Map
getValue(DbControl dc, Map item)
Get the value as defined by the implementation for the given item.String
toString()
-
Field Details
-
hibernateType
-
-
Constructor Details
-
MapPropertyPath
MapPropertyPath(Type hibernateType)
-
-
Method Details
-
getValue
Description copied from interface:Metadata.PropertyPath
Get the value as defined by the implementation for the given item.- Specified by:
getValue
in interfaceMetadata.PropertyPath<Map,Map>
- Parameters:
dc
- A DbControl to use for database access if neededitem
- The item that owns the value- Returns:
- The value from the item
-
getHibernateType
Description copied from interface:Metadata.PropertyPath
Get type information about the value that is returned by this path.- Specified by:
getHibernateType
in interfaceMetadata.PropertyPath<Map,Map>
-
getPath
Description copied from interface:Metadata.PropertyPath
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.- Specified by:
getPath
in interfaceMetadata.PropertyPath<Map,Map>
-
toString
-