com.bea.b2b.rosettanet.util
Class PartnerRoleDescription

java.lang.Object
  |
  +--com.bea.b2b.rosettanet.util.PartnerRoleDescription

public class PartnerRoleDescription
extends java.lang.Object

Class to represent a Partner Role Description as defined by RosettaNet. The methods are invoked from the example workflows's business operations.

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

Constructor Summary
PartnerRoleDescription()
           
 
Method Summary
 java.lang.String getContactName()
          Get the contact name
 java.lang.String getDuns()
          Get the Global Business Identifier (DUNS)
 java.lang.String getEmailAddress()
          Get the contact email address
 java.lang.String getPartnerClassCode()
          Get the partner classification code
 java.lang.String getRoleClassCode()
          Get the role classification code
 java.lang.String getSupplyChainCode()
          Get the supply chain code
 java.lang.String getTeleNo()
          Get the contact telephone number
 void setContactName(java.lang.String contactName)
          Set the contact name
 void setDuns(java.lang.String duns)
          Set the unique business identifier.
 void setEmailAddress(java.lang.String emailAddress)
          Set the contact email address
 void setPartnerClassCode(java.lang.String partnerClassCode)
          Set the partner classification code.
 void setRoleClassCode(java.lang.String roleClassCode)
          Set the role classification code.
 void setSupplyChainCode(java.lang.String supplyChainCode)
          Set the supply chain code.
 void setTeleNo(java.lang.String teleNo)
          Set the contact telephone number
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PartnerRoleDescription

public PartnerRoleDescription()
Method Detail

getContactName

public java.lang.String getContactName()
Get the contact name

Returns:
contact name

getEmailAddress

public java.lang.String getEmailAddress()
Get the contact email address

Returns:
email address

getTeleNo

public java.lang.String getTeleNo()
Get the contact telephone number

Returns:
telephone number

getRoleClassCode

public java.lang.String getRoleClassCode()
Get the role classification code

Returns:
role classification code

getPartnerClassCode

public java.lang.String getPartnerClassCode()
Get the partner classification code

Returns:
partner classification code

getDuns

public java.lang.String getDuns()
Get the Global Business Identifier (DUNS)

Returns:
Global Business Identifier (DUNS)

getSupplyChainCode

public java.lang.String getSupplyChainCode()
Get the supply chain code

Returns:
supply chain code

setContactName

public void setContactName(java.lang.String contactName)
Set the contact name

Parameters:
contact - name

setEmailAddress

public void setEmailAddress(java.lang.String emailAddress)
Set the contact email address

Parameters:
email - address

setTeleNo

public void setTeleNo(java.lang.String teleNo)
Set the contact telephone number

Parameters:
telephone - number

setRoleClassCode

public void setRoleClassCode(java.lang.String roleClassCode)
Set the role classification code. The values are specified in the PIP message guidelines for the GlobalPartnerRoleClassificationCode (e.g. Customer, Product Supplier, etc.)

Parameters:
role - classification code

setPartnerClassCode

public void setPartnerClassCode(java.lang.String partnerClassCode)
Set the partner classification code. The values are specified in the PIP message guidelines for the GlobalPartnerClassificationCode (e.g. Manufacturer, Shopper, etc.)

Parameters:
partner - classification code

setDuns

public void setDuns(java.lang.String duns)
Set the unique business identifier. The DUNS (Data Universal Numbering System) number is specified by Rosettanet. The DUNS number corresponds to the GlobalBusinessIdentifier field in the PIP message guidelines.

Parameters:
Global - Business Identifier (DUNS number)

setSupplyChainCode

public void setSupplyChainCode(java.lang.String supplyChainCode)
Set the supply chain code. The values are specified in the PIP message guidelines for the GlobalSupplyChainCode (e.g. Information Technology, Electronic Components)

Parameters:
supply - chain code