public class UserDefinedRowKeyFieldConfig extends KeyFieldConfig
charset, sequenceNum, totalFields| Constructor and Description |
|---|
UserDefinedRowKeyFieldConfig(DataGraphConfig dataGraph,
UserDefinedField userDefinedField,
int sequenceNum,
int totalFields) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
org.plasma.sdo.DataFlavor |
getDataFlavor() |
DataGraphConfig |
getDataGraph() |
org.plasma.sdo.PlasmaProperty |
getEndpointProperty() |
String |
getKey(commonj.sdo.DataGraph dataGraph)
Returns a key value as string from the given data graph
|
String |
getKey(commonj.sdo.DataObject dataObject)
Returns a user defined key value from the given data object.
|
byte[] |
getKeyBytes(commonj.sdo.DataGraph dataGraph)
Returns a token value from the given Data Graph
|
byte[] |
getKeyBytes(commonj.sdo.DataObject dataObject)
Returns a user defined key value from the given data object.
|
int |
getMaxLength()
Returns the maximum length allowed for this key field.
|
String |
getPathExpression() |
String |
getPropertyPath() |
int |
getSequenceNum() |
UserDefinedField |
getUserToken() |
boolean |
isHash() |
getSeqNum, getTotalFieldspublic UserDefinedRowKeyFieldConfig(DataGraphConfig dataGraph, UserDefinedField userDefinedField, int sequenceNum, int totalFields)
public int getSequenceNum()
public DataGraphConfig getDataGraph()
public UserDefinedField getUserToken()
public String getPathExpression()
public boolean isHash()
isHash in class KeyFieldConfigpublic String getPropertyPath()
public org.plasma.sdo.PlasmaProperty getEndpointProperty()
public byte[] getKeyBytes(commonj.sdo.DataGraph dataGraph)
getKeyBytes in class KeyFieldConfigdataGraph - the data graphpublic byte[] getKeyBytes(commonj.sdo.DataObject dataObject)
getKeyBytes in class KeyFieldConfigdataObject - the root data objectUnresolvedPathExpressionException - if the configured XPath expression resolves to a null valuepublic String getKey(commonj.sdo.DataGraph dataGraph)
KeyFieldConfiggetKey in class KeyFieldConfigdataGraph - the data graphpublic String getKey(commonj.sdo.DataObject dataObject)
getKey in class KeyFieldConfigdataObject - the root data objectUnresolvedPathExpressionException - if the configured XPath expression resolves to a null valuepublic int getMaxLength()
getMaxLength in class KeyFieldConfigpublic org.plasma.sdo.DataFlavor getDataFlavor()
getDataFlavor in class KeyFieldConfigCopyright © 2017. All Rights Reserved.