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