org.zeroexchange.representation
Class AbstractRepresentation<T>
java.lang.Object
org.zeroexchange.representation.AbstractRepresentation<T>
- All Implemented Interfaces:
- Representation<T>, RepresentationFactoryAware
- Direct Known Subclasses:
- CollectionRepresentation, ContractRepresentation, DefaultValueRepresentation, LocalizableValueRepresentation, ResourceRepresentation, UserRepresentation, ValueRepresentation
public abstract class AbstractRepresentation<T>
- extends Object
- implements Representation<T>, RepresentationFactoryAware
The abstract class for entity representation services.
- Author:
- black
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractRepresentation
public AbstractRepresentation()
setRepresentationFactory
public void setRepresentationFactory(RepresentationFactory representationFactory)
- Sets entity representation factory.
- Specified by:
setRepresentationFactory
in interface RepresentationFactoryAware
getRepresentatinFactory
protected RepresentationFactory getRepresentatinFactory()
- Returns representation factory.
limitValue
protected String limitValue(String valueSpec,
int limit)
- Limits the value.
Copyright © 2013. All Rights Reserved.