BEA Systems, Inc.

com.beasys.commerce.axiom.contact
Interface Contact

All Known Subinterfaces:
ContactRemote, PersonRemote

public interface Contact
extends User

A Contact represents a personal or business contact. It is a holder for any type of information that might be used to communicate with that entity. Specifically, it provides a a collection of Postal Addresses, Phone Numbers, Emails, and Urls. It includes special functions for handling addresses as described in the getPrimaryAddress and getNamedAddress methods..

 Primary Key = com.beasys.commerce.axiom.contact.ContactPk
 
Attribute: contactAddress Attribute: email Attribute: businessPhone Attribute: firstName The Person's given name. Attribute: fax Attribute: middleName A middle name or initial for the Person. Attribute: title An additional qualifier that predicates the Person's name (e.g. Mr., Mrs., Ms., Dr. ). Attribute: homePhone Attribute: lastName The Person's surname. Attribute: suffix An additional qualifier that follows the Person's name (e.g. Jr., Sr. ).

See Also:
ContactPk, ContactHome, ContactImpl, ContactValue

Fields inherited from interface com.beasys.commerce.foundation.ConfigurableEntity
RESERVED_SCOPE_NAME
 
Method Summary
 java.lang.String getBusinessPhone()
          Get the value of businessPhone
 Address getContactAddress()
          Get the value of contactAddress
 java.lang.String getContactAddressCity()
           
 java.lang.String getContactAddressCountry()
           
 java.lang.String getContactAddressCounty()
           
 java.lang.String getContactAddressDescription()
           
 java.lang.String getContactAddressGeoCode()
           
 java.lang.String getContactAddressPoBox()
           
 java.lang.String getContactAddressPostalCode()
           
 java.lang.String getContactAddressPostalCodeType()
           
 java.lang.String getContactAddressState()
           
 java.lang.String getContactAddressStreet1()
           
 java.lang.String getContactAddressStreet2()
           
 ContactValue getContactByValue()
          Get all of Contact's attributes.
 java.lang.String getEmail()
          Get the value of email
 java.lang.String getFax()
          Get the value of fax
 java.lang.String getFirstName()
          Get the value of firstName
 java.lang.String getHomePhone()
          Get the value of homePhone
 java.lang.String getLastName()
          Get the value of lastName
 java.lang.String getMiddleName()
          Get the value of middleName
 java.lang.String getSuffix()
          Get the value of suffix
 java.lang.String getTitle()
          Get the value of title
 void setBusinessPhone(java.lang.String businessPhone)
          Set the value of businessPhone
 void setContactAddress(Address contactAddress)
          Set the value of contactAddress
 void setContactAddressCity(java.lang.String city)
           
 void setContactAddressCountry(java.lang.String country)
           
 void setContactAddressCounty(java.lang.String county)
           
 void setContactAddressDescription(java.lang.String description)
           
 void setContactAddressGeoCode(java.lang.String geoCode)
           
 void setContactAddressPoBox(java.lang.String poBox)
           
 void setContactAddressPostalCode(java.lang.String postalCode)
           
 void setContactAddressPostalCodeType(java.lang.String postalCodeType)
           
 void setContactAddressState(java.lang.String state)
           
 void setContactAddressStreet1(java.lang.String street1)
           
 void setContactAddressStreet2(java.lang.String street2)
           
 void setContactByValue(ContactValue value)
          Set all of Contact's attributes to the passed in value.
 void setEmail(java.lang.String email)
          Set the value of email
 void setFax(java.lang.String fax)
          Set the value of fax
 void setFirstName(java.lang.String firstName)
          Set the value of firstName
 void setHomePhone(java.lang.String homePhone)
          Set the value of homePhone
 void setLastName(java.lang.String lastName)
          Set the value of lastName
 void setMiddleName(java.lang.String middleName)
          Set the value of middleName
 void setSuffix(java.lang.String suffix)
          Set the value of suffix
 void setTitle(java.lang.String title)
          Set the value of title
 
Methods inherited from interface com.beasys.commerce.axiom.contact.User
getIdentifier, getUserByValue, setUserByValue
 
Methods inherited from interface com.beasys.commerce.foundation.ConfigurableEntity
addPropertyValue, addPropertyValueMapped, getPersistableHandle, getProperty, getProperty, getPropertyAsString, getPropertyAsString, getPropertyDefault, getPropertyNoDefault, getSuccessor, getUniqueId, removeProperty, removeProperty, removePropertyValue, removePropertyValueMapped, removeSuccessor, setProperty, setProperty, setSuccessor
 
Methods inherited from interface com.beasys.commerce.foundation.BusinessPolicyManager
addBusinessPolicy, getBusinessPolicy, removeBusinessPolicy
 

Method Detail

getContactByValue

public ContactValue getContactByValue()
                               throws java.rmi.RemoteException
Get all of Contact's attributes.
Returns:
ContactValue the Contact value object

setContactByValue

public void setContactByValue(ContactValue value)
                       throws java.rmi.RemoteException
Set all of Contact's attributes to the passed in value. Note: Primary key attributes are not set.
Parameters:
ContactValue - the Contact value object

getContactAddress

public Address getContactAddress()
                          throws java.rmi.RemoteException
Get the value of contactAddress
Returns:
contactAddress.

setContactAddress

public void setContactAddress(Address contactAddress)
                       throws java.rmi.RemoteException
Set the value of contactAddress
Parameters:
contactAddress - contactAddress to be added

getContactAddressStreet1

public java.lang.String getContactAddressStreet1()
                                          throws java.rmi.RemoteException

setContactAddressStreet1

public void setContactAddressStreet1(java.lang.String street1)
                              throws java.rmi.RemoteException

getContactAddressStreet2

public java.lang.String getContactAddressStreet2()
                                          throws java.rmi.RemoteException

setContactAddressStreet2

public void setContactAddressStreet2(java.lang.String street2)
                              throws java.rmi.RemoteException

getContactAddressDescription

public java.lang.String getContactAddressDescription()
                                              throws java.rmi.RemoteException

setContactAddressDescription

public void setContactAddressDescription(java.lang.String description)
                                  throws java.rmi.RemoteException

getContactAddressCity

public java.lang.String getContactAddressCity()
                                       throws java.rmi.RemoteException

setContactAddressCity

public void setContactAddressCity(java.lang.String city)
                           throws java.rmi.RemoteException

getContactAddressPostalCodeType

public java.lang.String getContactAddressPostalCodeType()
                                                 throws java.rmi.RemoteException

setContactAddressPostalCodeType

public void setContactAddressPostalCodeType(java.lang.String postalCodeType)
                                     throws java.rmi.RemoteException

getContactAddressCountry

public java.lang.String getContactAddressCountry()
                                          throws java.rmi.RemoteException

setContactAddressCountry

public void setContactAddressCountry(java.lang.String country)
                              throws java.rmi.RemoteException

getContactAddressState

public java.lang.String getContactAddressState()
                                        throws java.rmi.RemoteException

setContactAddressState

public void setContactAddressState(java.lang.String state)
                            throws java.rmi.RemoteException

getContactAddressGeoCode

public java.lang.String getContactAddressGeoCode()
                                          throws java.rmi.RemoteException

setContactAddressGeoCode

public void setContactAddressGeoCode(java.lang.String geoCode)
                              throws java.rmi.RemoteException

getContactAddressPoBox

public java.lang.String getContactAddressPoBox()
                                        throws java.rmi.RemoteException

setContactAddressPoBox

public void setContactAddressPoBox(java.lang.String poBox)
                            throws java.rmi.RemoteException

getContactAddressCounty

public java.lang.String getContactAddressCounty()
                                         throws java.rmi.RemoteException

setContactAddressCounty

public void setContactAddressCounty(java.lang.String county)
                             throws java.rmi.RemoteException

getContactAddressPostalCode

public java.lang.String getContactAddressPostalCode()
                                             throws java.rmi.RemoteException

setContactAddressPostalCode

public void setContactAddressPostalCode(java.lang.String postalCode)
                                 throws java.rmi.RemoteException

getEmail

public java.lang.String getEmail()
                          throws java.rmi.RemoteException
Get the value of email
Returns:
email.

setEmail

public void setEmail(java.lang.String email)
              throws java.rmi.RemoteException
Set the value of email
Parameters:
email - email to be added

getBusinessPhone

public java.lang.String getBusinessPhone()
                                  throws java.rmi.RemoteException
Get the value of businessPhone
Returns:
businessPhone.

setBusinessPhone

public void setBusinessPhone(java.lang.String businessPhone)
                      throws java.rmi.RemoteException
Set the value of businessPhone
Parameters:
businessPhone - businessPhone to be added

getFirstName

public java.lang.String getFirstName()
                              throws java.rmi.RemoteException
Get the value of firstName
Returns:
firstName.

setFirstName

public void setFirstName(java.lang.String firstName)
                  throws java.rmi.RemoteException
Set the value of firstName
Parameters:
firstName - firstName to be added

getFax

public java.lang.String getFax()
                        throws java.rmi.RemoteException
Get the value of fax
Returns:
fax.

setFax

public void setFax(java.lang.String fax)
            throws java.rmi.RemoteException
Set the value of fax
Parameters:
fax - fax to be added

getMiddleName

public java.lang.String getMiddleName()
                               throws java.rmi.RemoteException
Get the value of middleName
Returns:
middleName.

setMiddleName

public void setMiddleName(java.lang.String middleName)
                   throws java.rmi.RemoteException
Set the value of middleName
Parameters:
middleName - middleName to be added

getTitle

public java.lang.String getTitle()
                          throws java.rmi.RemoteException
Get the value of title
Returns:
title.

setTitle

public void setTitle(java.lang.String title)
              throws java.rmi.RemoteException
Set the value of title
Parameters:
title - title to be added

getHomePhone

public java.lang.String getHomePhone()
                              throws java.rmi.RemoteException
Get the value of homePhone
Returns:
homePhone.

setHomePhone

public void setHomePhone(java.lang.String homePhone)
                  throws java.rmi.RemoteException
Set the value of homePhone
Parameters:
homePhone - homePhone to be added

getLastName

public java.lang.String getLastName()
                             throws java.rmi.RemoteException
Get the value of lastName
Returns:
lastName.

setLastName

public void setLastName(java.lang.String lastName)
                 throws java.rmi.RemoteException
Set the value of lastName
Parameters:
lastName - lastName to be added

getSuffix

public java.lang.String getSuffix()
                           throws java.rmi.RemoteException
Get the value of suffix
Returns:
suffix.

setSuffix

public void setSuffix(java.lang.String suffix)
               throws java.rmi.RemoteException
Set the value of suffix
Parameters:
suffix - suffix to be added

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved