BEA Systems, Inc.

com.beasys.commerce.axiom.contact
Class ContactImpl

java.lang.Object
  |
  +--com.beasys.commerce.foundation.EntityImpl
        |
        +--com.beasys.commerce.foundation.ConfigurableEntityImpl
              |
              +--com.beasys.commerce.axiom.contact.UserImpl
                    |
                    +--com.beasys.commerce.axiom.contact.ContactImpl

public class ContactImpl
extends UserImpl

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
 

See Also:
Contact, ContactHome, ContactValue, Serialized Form

Field Summary
 java.lang.String businessPhone
           Containment: By Value Multiplicity: 1:1
 Address contactAddress
           Containment: By Value Multiplicity: 1:1
 java.lang.String email
           Containment: By Value Multiplicity: 1:1
 java.lang.String fax
           Containment: By Value Multiplicity: 1:1
 java.lang.String firstName
          The Person's given name.
 java.lang.String homePhone
           Containment: By Value Multiplicity: 1:1
 java.lang.String lastName
          The Person's surname.
 java.lang.String middleName
          A middle name or initial for the Person.
 java.lang.String primaryName
           
 java.lang.String suffix
          An additional qualifier that follows the Person's name (e.g.
 java.lang.String title
          An additional qualifier that predicates the Person's name (e.g.
 
Fields inherited from class com.beasys.commerce.axiom.contact.UserImpl
identifier
 
Fields inherited from class com.beasys.commerce.foundation.ConfigurableEntityImpl
DEFAULT_ENTITY_PROPERTY_MANAGER_HOME, DEFAULT_SCHEMA_GROUP_NAME, ENTITY_PROPERTY_MANAGER_HOME, propertyMap, SCHEMA_GROUP_NAME
 
Fields inherited from class com.beasys.commerce.foundation.EntityImpl
__classIdentifier, __containingEntity, __mapKey, __sequenceNumber, _ctx, _environmentNamingContext, _environmentPropertyCache, _isDirty, _smartBMP
 
Constructor Summary
ContactImpl()
           
 
Method Summary
protected  void bscInitializeAttributes(ContactPk contactPk)
           
 void ejbActivate()
          ejbActivate method.
 ContactPk ejbCreate(ContactPk contactPk)
           
 ContactPk ejbFindByPrimaryKey(ContactPk pk)
           
 void ejbLoad()
          ejbLoad method.
 void ejbPassivate()
          ejbPassivate method.
 void ejbPostCreate(ContactPk contactPk)
           
 void ejbRemove()
          ejbRemove method.
 void ejbStore()
          ejbStore method.
 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()
          Convenience methods for retrieving parts of the contact address
 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 setEntityContext(javax.ejb.EntityContext ctx)
          setEntityContext method.
 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
 void unsetEntityContext()
          unsetEntityContext method.
 
Methods inherited from class com.beasys.commerce.axiom.contact.UserImpl
authorizeUserModification, bscInitializeAttributes, ejbCreate, ejbFindByPrimaryKey, ejbPostCreate, getIdentifier, getProperty, getProperty, getPropertyAsString, getPropertyAsString, getSharedProfileProvider, getSharedProperty, getUserByValue, isSharedProperty, removeProperty, removeProperty, removePropertyValue, removeSharedProperty, removeSharedPropertyValue, setIdentifier, setProperty, setProperty, setSharedProperty, setUserByValue
 
Methods inherited from class com.beasys.commerce.foundation.ConfigurableEntityImpl
addBusinessPolicy, addCachedPropertyMapped, addCachedPropertyValue, addPropertyValue, addPropertyValueMapped, buildPolicyKey, createMapKey, ejbCreate, ejbPostCreate, getBusinessPolicy, getCachedProperty, getImplicitProperty, getPersistableHandle, getProperty, getPropertyDefault, getPropertyMap, getPropertyNoDefault, getSuccessor, getUniqueId, removeBusinessPolicy, removeCachedProperties, removeCachedProperties, removeCachedProperty, removeCachedPropertyMapped, removeCachedPropertyValue, removePropertyValueMapped, removeSuccessor, setCachedProperty, setSuccessor, upcaseFirst, useEntityPropertyManager
 
Methods inherited from class com.beasys.commerce.foundation.EntityImpl
bscInitializeAttributes, clearRelationalBinding, clearRelationalBinding, clearRelationalBinding, clearRelationalBinding, doRelationalBinding, doRelationalBinding, doRelationalBindingOnElement, doRelationalBindingOnElement, doRelationalBindingOnElement, doRelationalBindingOnSingleton, doRelationalBindingOnSingleton, doRelationalBindingOnSingleton, doRelationalBindingWithMapKey, doRelationalBindingWithMapKey, doRelationalBindingWithMapKey, ejbFindAll, ejbFindByPrimaryKey, enumerateRelationalBinding, enumerateRelationalBinding, get__classIdentifier, get__containingBelonging, get__containingEntity, get__containingEntityReference, get__mapKey, get__sequenceNumber, getEntityContext, getEnvironmentNamingContext, getEnvironmentProperty, getEnvironmentProperty, getEnvironmentPropertyCache, getPersistenceHelperPlugin, getSmartBMP, initSmartBMP, isModified, set__classIdentifier, set__containingBelonging, set__containingEntity, set__containingEntityReference, set__mapKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

primaryName

public java.lang.String primaryName

contactAddress

public Address contactAddress

email

public java.lang.String email

businessPhone

public java.lang.String businessPhone

firstName

public java.lang.String firstName
The Person's given name.

fax

public java.lang.String fax

middleName

public java.lang.String middleName
A middle name or initial for the Person.

title

public java.lang.String title
An additional qualifier that predicates the Person's name (e.g. Mr., Mrs., Ms., Dr. ).

homePhone

public java.lang.String homePhone

lastName

public java.lang.String lastName
The Person's surname.

suffix

public java.lang.String suffix
An additional qualifier that follows the Person's name (e.g. Jr., Sr. ).
Constructor Detail

ContactImpl

public ContactImpl()
Method Detail

getContactByValue

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

setContactByValue

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

ejbCreate

public ContactPk ejbCreate(ContactPk contactPk)
                    throws javax.ejb.CreateException

bscInitializeAttributes

protected void bscInitializeAttributes(ContactPk contactPk)
                                throws javax.ejb.CreateException

ejbPostCreate

public void ejbPostCreate(ContactPk contactPk)
                   throws javax.ejb.CreateException

ejbLoad

public void ejbLoad()
             throws javax.ejb.EJBException
Description copied from class: EntityImpl
ejbLoad method.
Overrides:
ejbLoad in class UserImpl

ejbStore

public void ejbStore()
              throws javax.ejb.EJBException
Description copied from class: EntityImpl
ejbStore method.
Overrides:
ejbStore in class UserImpl

ejbRemove

public void ejbRemove()
               throws javax.ejb.RemoveException
Description copied from class: EntityImpl
ejbRemove method.
Overrides:
ejbRemove in class UserImpl

ejbActivate

public void ejbActivate()
                 throws javax.ejb.EJBException
Description copied from class: EntityImpl
ejbActivate method.
Overrides:
ejbActivate in class UserImpl

ejbPassivate

public void ejbPassivate()
                  throws javax.ejb.EJBException
Description copied from class: EntityImpl
ejbPassivate method.
Overrides:
ejbPassivate in class UserImpl

setEntityContext

public void setEntityContext(javax.ejb.EntityContext ctx)
                      throws javax.ejb.EJBException
Description copied from class: EntityImpl
setEntityContext method.
Overrides:
setEntityContext in class UserImpl

unsetEntityContext

public void unsetEntityContext()
                        throws javax.ejb.EJBException
Description copied from class: EntityImpl
unsetEntityContext method.
Overrides:
unsetEntityContext in class UserImpl

ejbFindByPrimaryKey

public ContactPk ejbFindByPrimaryKey(ContactPk pk)
                              throws javax.ejb.FinderException

getContactAddress

public Address getContactAddress()
Get the value of contactAddress
Returns:
contactAddress.

setContactAddress

public void setContactAddress(Address contactAddress)
Set the value of contactAddress
Parameters:
contactAddress - contactAddress to be added

getContactAddressStreet1

public java.lang.String getContactAddressStreet1()
Convenience methods for retrieving parts of the contact address

setContactAddressStreet1

public void setContactAddressStreet1(java.lang.String street1)

getContactAddressStreet2

public java.lang.String getContactAddressStreet2()

setContactAddressStreet2

public void setContactAddressStreet2(java.lang.String street2)

getContactAddressDescription

public java.lang.String getContactAddressDescription()

setContactAddressDescription

public void setContactAddressDescription(java.lang.String description)

getContactAddressCity

public java.lang.String getContactAddressCity()

setContactAddressCity

public void setContactAddressCity(java.lang.String city)

getContactAddressPostalCodeType

public java.lang.String getContactAddressPostalCodeType()

setContactAddressPostalCodeType

public void setContactAddressPostalCodeType(java.lang.String postalCodeType)

getContactAddressCountry

public java.lang.String getContactAddressCountry()

setContactAddressCountry

public void setContactAddressCountry(java.lang.String country)

getContactAddressState

public java.lang.String getContactAddressState()

setContactAddressState

public void setContactAddressState(java.lang.String state)

getContactAddressGeoCode

public java.lang.String getContactAddressGeoCode()

setContactAddressGeoCode

public void setContactAddressGeoCode(java.lang.String geoCode)

getContactAddressPoBox

public java.lang.String getContactAddressPoBox()

setContactAddressPoBox

public void setContactAddressPoBox(java.lang.String poBox)

getContactAddressCounty

public java.lang.String getContactAddressCounty()

setContactAddressCounty

public void setContactAddressCounty(java.lang.String county)

getContactAddressPostalCode

public java.lang.String getContactAddressPostalCode()

setContactAddressPostalCode

public void setContactAddressPostalCode(java.lang.String postalCode)

getEmail

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

setEmail

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

getBusinessPhone

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

setBusinessPhone

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

getFirstName

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

setFirstName

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

getFax

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

setFax

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

getMiddleName

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

setMiddleName

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

getTitle

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

setTitle

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

getHomePhone

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

setHomePhone

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

getLastName

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

setLastName

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

getSuffix

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

setSuffix

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

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved