org.zeroexchange.representation
Class DefaultEntityRepresentation

java.lang.Object
  extended by org.zeroexchange.representation.DefaultEntityRepresentation
All Implemented Interfaces:
DataProcessor, Representation<Persistent>

public class DefaultEntityRepresentation
extends Object
implements Representation<Persistent>, DataProcessor

The default entity representation service.

Author:
black

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

Constructor Detail

DefaultEntityRepresentation

public DefaultEntityRepresentation()
Method Detail

getProcessingClass

public Class getProcessingClass()
Description copied from interface: DataProcessor
Returns root hierarchy current processor can operate

Specified by:
getProcessingClass in interface DataProcessor

getRepresentation

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

Specified by:
getRepresentation in interface Representation<Persistent>


Copyright © 2013. All Rights Reserved.