com.sap.aii.proxy.xiruntime.core

Interface MessageAttachment

All Superinterfaces:
Serializable

public interface MessageAttachment
extends Serializable

Interface representing a message attachment, i.e., a part of the message payload of arbitrary type.

This interface is implemented by class MessageAttachmentImpl.

Copyright (c) 2001 SAP AG

See Also:
MessageAttachmentImpl

Field Summary
static int KIND_BINARY
           
static int KIND_EMPTY
           
static int KIND_TEXT
           
static int KIND_UNKNOWN
           
 
Method Summary
 Object getData()
          returns the data object of the attachment
 int getKind()
          returns a constant indicating the kind of attachment, e.g. textual or binary.
 String getName()
          returns the name of the attachment
 String getType()
          returns the type of the attachment, e.g., "text/xml"
 

Field Detail

KIND_UNKNOWN

static final int KIND_UNKNOWN
See Also:
Constant Field Values

KIND_EMPTY

static final int KIND_EMPTY
See Also:
Constant Field Values

KIND_TEXT

static final int KIND_TEXT
See Also:
Constant Field Values

KIND_BINARY

static final int KIND_BINARY
See Also:
Constant Field Values
Method Detail

getName

String getName()
returns the name of the attachment


getKind

int getKind()
returns a constant indicating the kind of attachment, e.g. textual or binary. Possible values are KIND_UNKNOWN, KIND_EMPTY, KIND_TEXT, KIND_BINARY, which are defined in class MessageAttachmentImpl.


getType

String getType()
returns the type of the attachment, e.g., "text/xml"


getData

Object getData()
returns the data object of the attachment

Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] SAP_XIAF [sap.com] com.sap.aii.proxy.svc.facade api BC-XI


Copyright 2011 SAP AG Complete Copyright Notice