public final class CustomSourceConfig extends SourceConfig
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DATA_MODEL
Field used in CUSTOM source config fragment
|
static java.lang.String |
KEY_EXPR |
_sourceName, TYPE| Constructor and Description |
|---|
CustomSourceConfig(java.lang.String sourceName,
java.lang.String keyExpr,
java.lang.String dataModel)
Constructor with parameters
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getDataModel() |
java.lang.String |
getKeyExpr() |
SourceType |
getSourceType() |
int |
hashCode() |
java.lang.String |
toString() |
getSourceNamepublic static final java.lang.String DATA_MODEL
public static final java.lang.String KEY_EXPR
public CustomSourceConfig(java.lang.String sourceName,
java.lang.String keyExpr,
java.lang.String dataModel)
sourceName - the name of the source and it is referenced by the anchor in the feature definitionkeyExpr - the key expression used to compute the key against the custom sourcedataModel - Class name of the data returned from the custom sourcepublic java.lang.String getDataModel()
public java.lang.String getKeyExpr()
public SourceType getSourceType()
getSourceType in class SourceConfigpublic boolean equals(java.lang.Object o)
equals in class SourceConfigpublic int hashCode()
hashCode in class SourceConfigpublic java.lang.String toString()
toString in class java.lang.Object