public abstract class KeyFieldMapping extends Object
| Modifier and Type | Field and Description |
|---|---|
static Charset |
CHARSET |
protected DataGraphMapping |
dataGraph |
protected KeyFieldCodec |
keyFieldCodec |
protected int |
sequenceNum |
protected int |
totalFields
the total number of fields in the row or column composite key
|
| Constructor and Description |
|---|
KeyFieldMapping(DataGraphMapping dataGraph,
KeyField field,
int sequenceNum,
int totalFields) |
| Modifier and Type | Method and Description |
|---|---|
KeyFieldCodec |
getCodec()
Returns the specified key field codec for the field.
|
KeyFieldCodecType |
getCodecType() |
abstract org.plasma.sdo.DataFlavor |
getDataFlavor() |
abstract org.plasma.sdo.DataType |
getDataType() |
abstract Object |
getKey(commonj.sdo.DataGraph dataGraph)
Returns a key value as string from the given data graph
|
abstract Object |
getKey(commonj.sdo.DataObject dataObject)
Returns a key value as string from the given data object
|
abstract Object |
getKey(org.plasma.sdo.PlasmaType type)
Returns a key value as string from the given type
|
abstract int |
getMaxLength()
Returns the maximum length allowed for this key field.
|
int |
getSeqNum() |
int |
getTotalFields() |
protected int sequenceNum
protected int totalFields
public static Charset CHARSET
protected DataGraphMapping dataGraph
protected KeyFieldCodec keyFieldCodec
public KeyFieldMapping(DataGraphMapping dataGraph, KeyField field, int sequenceNum, int totalFields)
public int getSeqNum()
public int getTotalFields()
public abstract Object getKey(commonj.sdo.DataGraph dataGraph)
dataGraph - the data graphpublic abstract Object getKey(commonj.sdo.DataObject dataObject)
dataObject - the root data objectpublic abstract Object getKey(org.plasma.sdo.PlasmaType type)
type - the typepublic abstract int getMaxLength()
public abstract org.plasma.sdo.DataType getDataType()
public abstract org.plasma.sdo.DataFlavor getDataFlavor()
public KeyFieldCodecType getCodecType()
public KeyFieldCodec getCodec()
Copyright © 2024. All Rights Reserved.