org.zeroexchange.representation.value
Class ValueRepresentation

java.lang.Object
  extended by org.zeroexchange.representation.AbstractRepresentation<Value>
      extended by org.zeroexchange.representation.value.ValueRepresentation
All Implemented Interfaces:
DataProcessor, Representation<Value>, RepresentationFactoryAware

public class ValueRepresentation
extends AbstractRepresentation<Value>
implements DataProcessor

Author:
black

Field Summary
 
Fields inherited from interface org.zeroexchange.representation.Representation
UNLIMITED
 
Constructor Summary
ValueRepresentation()
           
 
Method Summary
 Class<Value> getProcessingClass()
          Returns root hierarchy current processor can operate
 String getRepresentation(Value entity, int limit)
          Returns string representation of the specified entity.
 
Methods inherited from class org.zeroexchange.representation.AbstractRepresentation
getRepresentatinFactory, limitValue, setRepresentationFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueRepresentation

public ValueRepresentation()
Method Detail

getProcessingClass

public Class<Value> getProcessingClass()
Returns root hierarchy current processor can operate

Specified by:
getProcessingClass in interface DataProcessor

getRepresentation

public String getRepresentation(Value entity,
                                int limit)
                         throws BusinessLogicException
Returns string representation of the specified entity.

Specified by:
getRepresentation in interface Representation<Value>
Throws:
BusinessLogicException


Copyright © 2013. All Rights Reserved.