public abstract class MetaDataCategory extends Object
Modifier and Type | Field and Description |
---|---|
protected static Map<DataType,org.mule.common.metadata.datatype.DataType> |
dataTypeMapping
Map that contains correlation between data types coming from SFAPI and Mule's metadata.
|
Modifier | Constructor and Description |
---|---|
protected |
MetaDataCategory(FeatureType operation)
Creates an instance of this metadata category for a given operation.
|
Modifier and Type | Method and Description |
---|---|
protected org.mule.common.metadata.MetaData |
createInputMetaData(String name,
List<Field> fields)
|
org.mule.common.metadata.MetaData |
getInputMetaData(org.mule.common.metadata.MetaDataKey key)
Retrieves the input
MetaData corresponding to a MetaDataKey . |
List<org.mule.common.metadata.MetaDataKey> |
getMetaDataKeys()
Gets the
List of MetaDataKey s. |
void |
setConnector(SuccessFactorsConnector connector)
Sets the
connector . |
protected MetaDataCategory(@NotNull FeatureType operation)
operation
- The SuccessFactors operation.@MetaDataKeyRetriever @NotNull public List<org.mule.common.metadata.MetaDataKey> getMetaDataKeys()
List
of MetaDataKey
s.@MetaDataRetriever @NotNull public org.mule.common.metadata.MetaData getInputMetaData(@NotNull org.mule.common.metadata.MetaDataKey key) throws SuccessFactorsException
MetaData
corresponding to a MetaDataKey
.key
- The MetaDataKey
which input MetaData
is needed.MetaData
.SuccessFactorsException
- If the input MetaData
cannot be fetched.@NotNull protected org.mule.common.metadata.MetaData createInputMetaData(@NotNull String name, @NotNull List<Field> fields)
name
- The entity name.fields
- The MetaData
corresponding to the entity.MetaData
definition.public void setConnector(@NotNull SuccessFactorsConnector connector)
connector
.connector
- the connector to setCopyright © 2010–2017. All rights reserved.