public class ReferenceFieldConverter extends Object implements Converter<ObjId,JObject>
Converter.ConversionException
Constructor and Description |
---|
ReferenceFieldConverter(JTransaction jtx)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
JObject |
convertToModel(ObjId id,
Class<? extends JObject> targetType,
Locale locale) |
ObjId |
convertToPresentation(JObject jobj,
Class<? extends ObjId> targetType,
Locale locale) |
Class<JObject> |
getModelType() |
Class<ObjId> |
getPresentationType() |
public ReferenceFieldConverter(JTransaction jtx)
jtx
- transaction containing the JObject
public Class<ObjId> getPresentationType()
getPresentationType
in interface Converter<ObjId,JObject>
public Class<JObject> getModelType()
getModelType
in interface Converter<ObjId,JObject>
public ObjId convertToPresentation(JObject jobj, Class<? extends ObjId> targetType, Locale locale)
convertToPresentation
in interface Converter<ObjId,JObject>
Copyright © 2022. All rights reserved.