org.zeroexchange.representation
Class DefaultEntityRepresentation
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultEntityRepresentation
public DefaultEntityRepresentation()
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.