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()
HGProjectionReturn the name of the dimension that this projection represents.
getName in interface HGProjectionpublic HGHandle getType()
HGProjectionReturn the handle of the type of the dimension that this projection represents.
getType in interface HGProjectionpublic int[] getLayoutPath()
HGProjectionReturn 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 HGProjectionpublic Object project(Object value)
HGProjectionReturn the projection of the passed in value along the dimension represented by this object.
project in interface HGProjectionvalue - The value of the atom whose projection value is desired.HGProjection.public void inject(Object bean, Object value)
HGProjectionModify an atom's projections.
inject in interface HGProjectionbean - The value of the atom whose projection value is desired.Copyright © 2015. All rights reserved.