org.kuali.rice.kim.api.identity.type
Interface EntityTypeContactInfoContract

All Superinterfaces:
GloballyUnique, Inactivatable, Versioned
All Known Implementing Classes:
EntityTypeContactInfo, EntityTypeContactInfo.Builder

public interface EntityTypeContactInfoContract
extends Versioned, GloballyUnique, Inactivatable

This is a contract for EntityTypeContactInfo.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Method Summary
 List<? extends EntityAddressContract> getAddresses()
          Gets this EntityTypeContactInfoContract's List of EntityAddressS.
 EntityAddressContract getDefaultAddress()
          Returns the default address record for the identity.
 EntityEmailContract getDefaultEmailAddress()
          Returns the default email record for the identity.
 EntityPhoneContract getDefaultPhoneNumber()
          Returns the default phone record for the identity.
 List<? extends EntityEmailContract> getEmailAddresses()
          Gets this EntityTypeContactInfoContract's List of EntityEmailContractS.
 String getEntityId()
          Gets the id of the parent identity object.
 CodedAttributeContract getEntityType()
          Gets this identity Type of the EntityTypeContactInfoContract's object.
 String getEntityTypeCode()
          Gets this entityTypeCode of the EntityAddressContract's object.
 List<? extends EntityPhoneContract> getPhoneNumbers()
          Gets this EntityTypeContactInfoContract's List of EntityPhoneS.
 
Methods inherited from interface org.kuali.rice.core.api.mo.common.Versioned
getVersionNumber
 
Methods inherited from interface org.kuali.rice.core.api.mo.common.GloballyUnique
getObjectId
 
Methods inherited from interface org.kuali.rice.core.api.mo.common.active.Inactivatable
isActive
 

Method Detail

getEntityId

String getEntityId()
Gets the id of the parent identity object.

Returns:
the identity id for this EntityAddressContract

getEntityTypeCode

String getEntityTypeCode()
Gets this entityTypeCode of the EntityAddressContract's object.

Returns:
the identity type code for this EntityAddressContract

getEntityType

CodedAttributeContract getEntityType()
Gets this identity Type of the EntityTypeContactInfoContract's object.

Returns:
the identity type for this EntityTypeContactInfoContract

getAddresses

List<? extends EntityAddressContract> getAddresses()
Gets this EntityTypeContactInfoContract's List of EntityAddressS.

Returns:
the List of EntityAddressContractS for this EntityTypeContactInfoContract. The returned List will never be null, an empty List will be assigned and returned if needed.

getEmailAddresses

List<? extends EntityEmailContract> getEmailAddresses()
Gets this EntityTypeContactInfoContract's List of EntityEmailContractS.

Returns:
the List of EntityEmailContractS for this EntityTypeContactInfoContract. The returned List will never be null, an empty List will be assigned and returned if needed.

getPhoneNumbers

List<? extends EntityPhoneContract> getPhoneNumbers()
Gets this EntityTypeContactInfoContract's List of EntityPhoneS.

Returns:
the List of EntityPhoneContractS for this EntityTypeContactInfoContract. The returned List will never be null, an empty List will be assigned and returned if needed.

getDefaultAddress

EntityAddressContract getDefaultAddress()
Returns the default address record for the identity. If no default is defined, then it returns the first one found. If none are defined, it returns null.


getDefaultEmailAddress

EntityEmailContract getDefaultEmailAddress()
Returns the default email record for the identity. If no default is defined, then it returns the first one found. If none are defined, it returns null.


getDefaultPhoneNumber

EntityPhoneContract getDefaultPhoneNumber()
Returns the default phone record for the identity. If no default is defined, then it returns the first one found. If none are defined, it returns null.



Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.