public class BeanPropertyBasedProjection extends Object implements HGProjection
Constructor and Description |
---|
BeanPropertyBasedProjection(HGProjection wrapped) |
Modifier and Type | Method and Description |
---|---|
int[] |
getLayoutPath()
Return the layout path in the
HGStore from the composite
value to the value along this dimension. |
String |
getName()
Return the name of the dimension that this projection represents.
|
HGHandle |
getType()
Return the handle of the type of the dimension that this projection represents.
|
void |
inject(Object bean,
Object value)
Modify an atom's projections.
|
Object |
project(Object value)
Return the projection of the passed in value along the dimension
represented by this object.
|
public BeanPropertyBasedProjection(HGProjection wrapped)
public String getName()
HGProjection
Return the name of the dimension that this projection represents.
getName
in interface HGProjection
public HGHandle getType()
HGProjection
Return the handle of the type of the dimension that this projection represents.
getType
in interface HGProjection
public int[] getLayoutPath()
HGProjection
Return the layout path in the HGStore
from the composite
value to the value along this dimension. May return null
if the
precise layout is not know, or not well-defined.
getLayoutPath
in interface HGProjection
public Object project(Object value)
HGProjection
Return the projection of the passed in value along the dimension represented by this object.
project
in interface HGProjection
value
- The value of the atom whose projection value is desired.HGProjection
.public void inject(Object bean, Object value)
HGProjection
Modify an atom's projections.
inject
in interface HGProjection
bean
- The value of the atom whose projection value is desired.Copyright © 2015. All rights reserved.