|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResourceMappingConverter
A converter associated with a ResourceMapping implementation. Allows to marhsall/unmarshall
just ids as well.
| Method Summary | |
|---|---|
boolean |
marshallIds(Resource idResource,
Object id,
ResourceMapping resourceMapping,
MarshallingContext context)
Marshalls teh given Object id into the given resource. |
Object[] |
unmarshallIds(Object id,
ResourceMapping resourceMapping,
MarshallingContext context)
Unamrshalls the given id into its id properties values. |
| Methods inherited from interface org.compass.core.converter.Converter |
|---|
marshall, unmarshall |
| Method Detail |
|---|
boolean marshallIds(Resource idResource,
Object id,
ResourceMapping resourceMapping,
MarshallingContext context)
throws ConversionException
Object id into the given resource. Returns true
if anything was was stored in the resource.
ConversionException
Object[] unmarshallIds(Object id,
ResourceMapping resourceMapping,
MarshallingContext context)
throws ConversionException
ConversionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||