public interface XrefConverter
Modifier and Type | Method and Description |
---|---|
int |
decode(XInfo xInfo)
Returns the object instance represented by the provided external reference.
|
java.lang.String |
encode(ExternalReferenceType xrefType,
int targetDbid)
Returns the external reference for a specified object type and primary key ID
|
java.lang.String |
encode(HasExternalReference obj)
Returns the external reference for the specified object
|
java.lang.String encode(HasExternalReference obj)
obj
- An instance of ExternalReferenceType
object type.java.lang.String encode(ExternalReferenceType xrefType, int targetDbid)
xrefType
- The external reference type of the provided target database IDtargetDbid
- The primary key value of the specified object.int decode(XInfo xInfo)
xInfo
- External reference object