Class MetadataParameter

java.lang.Object
com.adaptris.core.sap.jco3.rfc.params.Parameter
com.adaptris.core.sap.jco3.rfc.params.MetadataParameter
Direct Known Subclasses:
StringMetadata, StructureToXmlMetadata, TableToXmlMetadata

public abstract class MetadataParameter extends Parameter
Allows the use of AdaptrisMessage Metadata as either an Import or Export parameter to a given RFC Call.
  • Constructor Details

    • MetadataParameter

      public MetadataParameter()
  • Method Details

    • getMetadataKey

      public String getMetadataKey()
      Get the metadata key that is used to provide the RFC Parameter contents.
      Returns:
      the metadataKey
    • setMetadataKey

      public void setMetadataKey(String s)
      Set the metadata key.

      Defaults to null, and if it remains null, the RFC Parameter Name will be used.

      Parameters:
      s - the metadataKey to set
    • getMetadataValue

      protected String getMetadataValue(AdaptrisMessage msg)
    • getKeyToUse

      protected String getKeyToUse()