org.databene.model.data
Class ComponentAccessor

java.lang.Object
  extended by org.databene.model.data.ComponentAccessor
All Implemented Interfaces:
org.databene.commons.Accessor<Entity,java.lang.Object>

public class ComponentAccessor
extends java.lang.Object
implements org.databene.commons.Accessor<Entity,java.lang.Object>

Accesses a component of an entity specified by the component name.

Created: 26.08.2007 07:22:33


Constructor Summary
ComponentAccessor(java.lang.String componentName)
           
 
Method Summary
 java.lang.Object getValue(Entity target)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentAccessor

public ComponentAccessor(java.lang.String componentName)
Method Detail

getValue

public java.lang.Object getValue(Entity target)
Specified by:
getValue in interface org.databene.commons.Accessor<Entity,java.lang.Object>


Copyright © 2013. All Rights Reserved.