com.bea.b2b.protocol.rosettanet.messaging
Class ServiceHeaderPart

java.lang.Object
  |
  +--org.xml.sax.helpers.DefaultHandler
        |
        +--com.bea.b2b.protocol.messaging.XMLPart
              |
              +--com.bea.b2b.protocol.messaging.BusinessDocument
                    |
                    +--com.bea.b2b.protocol.rosettanet.messaging.RNPart
                          |
                          +--com.bea.b2b.protocol.rosettanet.messaging.ServiceHeaderPart

public class ServiceHeaderPart
extends RNPart

The ServiceHeaderPart class represents message information that results from processing the ServiceHeader portion of a RosettaNet message.

Author:
Copyright © 2000 BEA Systems, Inc. All Rights Reserved.

Method Summary
 java.lang.String getFromPartnerDUNS()
          Gets the sender's DUNS number for this message (for example: "1234567879").
 java.lang.String getFromRole()
          Gets the sender's role for this message (for example: "Buyer").
 java.lang.String getInitiatingPartnerDUNS()
          Gets the DUNS number for the initiator of this message (for example: "987654321").
 java.lang.String getPip()
          Gets the PIP code for this message (for example: "3A4").
 java.lang.String getProcessInstanceIdentifier()
          Gets the unique process instance identifier for this message.
 java.lang.String getToPartnerDUNS()
          Gets the recipient's DUNS number for this message (for example: "987654321").
 java.lang.String getToRole()
          Gets the recipient's role for this message (for example: "Seller").
 java.lang.String getVersion()
          Gets the PIP version for this message (for example: "1.1").
 
Methods inherited from class com.bea.b2b.protocol.rosettanet.messaging.RNPart
getAsString, getNodeValue, setNodeValue
 
Methods inherited from class com.bea.b2b.protocol.messaging.BusinessDocument
getContentType, getDocument, read, setDocument
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPip

public java.lang.String getPip()
Gets the PIP code for this message (for example: "3A4").

Returns:
String - PIP code.

getVersion

public java.lang.String getVersion()
Gets the PIP version for this message (for example: "1.1").

Returns:
String - PIP version.

getFromRole

public java.lang.String getFromRole()
Gets the sender's role for this message (for example: "Buyer").

Returns:
String - Sender's role.

getToRole

public java.lang.String getToRole()
Gets the recipient's role for this message (for example: "Seller").

Returns:
String - Recipient's role.

getFromPartnerDUNS

public java.lang.String getFromPartnerDUNS()
Gets the sender's DUNS number for this message (for example: "1234567879").

Returns:
String - Sender's DUNS number.

getToPartnerDUNS

public java.lang.String getToPartnerDUNS()
Gets the recipient's DUNS number for this message (for example: "987654321").

Returns:
String - Recipient's DUNS number.

getProcessInstanceIdentifier

public java.lang.String getProcessInstanceIdentifier()
Gets the unique process instance identifier for this message.

Returns:
String - Process instance identifier.

getInitiatingPartnerDUNS

public java.lang.String getInitiatingPartnerDUNS()
Gets the DUNS number for the initiator of this message (for example: "987654321").

Returns:
String - Initiator's DUNS number.