org.zeroexchange.representation
Class ResourceRepresentation
java.lang.Object
org.zeroexchange.representation.AbstractRepresentation<Resource>
org.zeroexchange.representation.ResourceRepresentation
- All Implemented Interfaces:
- DataProcessor, Representation<Resource>, RepresentationFactoryAware
public class ResourceRepresentation
- extends AbstractRepresentation<Resource>
- implements Representation<Resource>, DataProcessor
The service provides string representation for the Need.
- Author:
- black
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceRepresentation
public ResourceRepresentation()
getProcessingClass
public Class getProcessingClass()
- Returns root hierarchy current processor can operate
- Specified by:
getProcessingClass
in interface DataProcessor
getRepresentation
public String getRepresentation(Resource resource,
int limit)
throws BusinessLogicException
- Returns string representation of the specified entity.
- Specified by:
getRepresentation
in interface Representation<Resource>
- Throws:
BusinessLogicException
Copyright © 2013. All Rights Reserved.