BEA Systems, Inc.

com.beasys.commerce.axiom.contact
Interface Contact

All Superinterfaces:
BusinessPolicyManager, ConfigurableEntity, User
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()
          Get the city field of the contact address
 java.lang.String getContactAddressCountry()
          Get the country field of the contact address
 java.lang.String getContactAddressCounty()
          Get the county field of the contact address
 java.lang.String getContactAddressGeoCode()
          Get the geoCode field of the contact address
 java.lang.String getContactAddressPoBox()
          Get the poBox field of the contact address
 java.lang.String getContactAddressPostalCode()
          Get the postalCode field of the contact address
 java.lang.String getContactAddressPostalCodeType()
          Get the postalCodeType field of the contact address
 java.lang.String getContactAddressState()
          Get the state field of the contact address
 java.lang.String getContactAddressStreet1()
          Get the street1 field of the contact address
 java.lang.String getContactAddressStreet2()
          Get the street2 field of the contact address
 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)
          Set the city field of the contact address
 void setContactAddressCountry(java.lang.String country)
          Set the country field of the contact address
 void setContactAddressCounty(java.lang.String county)
          Set the county field of the contact address
 void setContactAddressGeoCode(java.lang.String geoCode)
          Set the geoCode field of the contact address
 void setContactAddressPoBox(java.lang.String poBox)
          Set the poBox field of the contact address
 void setContactAddressPostalCode(java.lang.String postalCode)
          Set the postalCode field of the contact address
 void setContactAddressPostalCodeType(java.lang.String postalCodeType)
          Set the postalCodeType field of the contact address
 void setContactAddressState(java.lang.String state)
          Set the state field of the contact address
 void setContactAddressStreet1(java.lang.String street1)
          Set the street1 field of the contact address
 void setContactAddressStreet2(java.lang.String street2)
          Set the street2 field of the contact address
 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
Get the street1 field of the contact address
Returns:
the street1 field of the contact address

setContactAddressStreet1

public void setContactAddressStreet1(java.lang.String street1)
                              throws java.rmi.RemoteException
Set the street1 field of the contact address
Parameters:
street1 - the new value

getContactAddressStreet2

public java.lang.String getContactAddressStreet2()
                                          throws java.rmi.RemoteException
Get the street2 field of the contact address
Returns:
the street2 field of the contact address

setContactAddressStreet2

public void setContactAddressStreet2(java.lang.String street2)
                              throws java.rmi.RemoteException
Set the street2 field of the contact address
Parameters:
street2 - the new value

getContactAddressCity

public java.lang.String getContactAddressCity()
                                       throws java.rmi.RemoteException
Get the city field of the contact address
Returns:
the city field of the contact address

setContactAddressCity

public void setContactAddressCity(java.lang.String city)
                           throws java.rmi.RemoteException
Set the city field of the contact address
Parameters:
city - the new value

getContactAddressPostalCodeType

public java.lang.String getContactAddressPostalCodeType()
                                                 throws java.rmi.RemoteException
Get the postalCodeType field of the contact address
Returns:
the postalCodeType field of the contact address

setContactAddressPostalCodeType

public void setContactAddressPostalCodeType(java.lang.String postalCodeType)
                                     throws java.rmi.RemoteException
Set the postalCodeType field of the contact address
Parameters:
postalCodeType - the new value

getContactAddressCountry

public java.lang.String getContactAddressCountry()
                                          throws java.rmi.RemoteException
Get the country field of the contact address
Returns:
the country field of the contact address

setContactAddressCountry

public void setContactAddressCountry(java.lang.String country)
                              throws java.rmi.RemoteException
Set the country field of the contact address
Parameters:
country - the new value

getContactAddressState

public java.lang.String getContactAddressState()
                                        throws java.rmi.RemoteException
Get the state field of the contact address
Returns:
the state field of the contact address

setContactAddressState

public void setContactAddressState(java.lang.String state)
                            throws java.rmi.RemoteException
Set the state field of the contact address
Parameters:
state - the new value

getContactAddressGeoCode

public java.lang.String getContactAddressGeoCode()
                                          throws java.rmi.RemoteException
Get the geoCode field of the contact address
Returns:
the geoCode field of the contact address

setContactAddressGeoCode

public void setContactAddressGeoCode(java.lang.String geoCode)
                              throws java.rmi.RemoteException
Set the geoCode field of the contact address
Parameters:
geoCode - the new value

getContactAddressPoBox

public java.lang.String getContactAddressPoBox()
                                        throws java.rmi.RemoteException
Get the poBox field of the contact address
Returns:
the poBox field of the contact address

setContactAddressPoBox

public void setContactAddressPoBox(java.lang.String poBox)
                            throws java.rmi.RemoteException
Set the poBox field of the contact address
Parameters:
poBox - the new value

getContactAddressCounty

public java.lang.String getContactAddressCounty()
                                         throws java.rmi.RemoteException
Get the county field of the contact address
Returns:
the county field of the contact address

setContactAddressCounty

public void setContactAddressCounty(java.lang.String county)
                             throws java.rmi.RemoteException
Set the county field of the contact address
Parameters:
county - the new value

getContactAddressPostalCode

public java.lang.String getContactAddressPostalCode()
                                             throws java.rmi.RemoteException
Get the postalCode field of the contact address
Returns:
the postalCode field of the contact address

setContactAddressPostalCode

public void setContactAddressPostalCode(java.lang.String postalCode)
                                 throws java.rmi.RemoteException
Set the postalCode field of the contact address
Parameters:
postalCode - the new value

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