public static final class EntityTypeContactInfo.Builder extends Object implements Serializable, ModelBuilder, EntityTypeContactInfoContract
EntityTypeContactInfo instances. Enforces the constraints of the EntityTypeContactInfoContract.public static EntityTypeContactInfo.Builder create(String entityId, String entityTypeCode)
public static EntityTypeContactInfo.Builder create(EntityTypeContactInfoContract contract)
public EntityTypeContactInfo build()
build in interface ModelBuilderpublic String getEntityId()
EntityTypeContactInfoContractgetEntityId in interface EntityTypeContactInfoContractEntityAddressContractpublic String getEntityTypeCode()
EntityTypeContactInfoContractEntityAddressContract's object.getEntityTypeCode in interface EntityTypeContactInfoContractEntityAddressContractpublic CodedAttribute.Builder getEntityType()
EntityTypeContactInfoContractEntityTypeContactInfoContract's object.getEntityType in interface EntityTypeContactInfoContractEntityTypeContactInfoContractpublic List<EntityAddress.Builder> getAddresses()
EntityTypeContactInfoContractEntityTypeContactInfoContract's List of EntityAddressS.getAddresses in interface EntityTypeContactInfoContractEntityAddressContractS for this EntityTypeContactInfoContract.
The returned List will never be null, an empty List will be assigned and returned if needed.public List<EntityEmail.Builder> getEmailAddresses()
EntityTypeContactInfoContractEntityTypeContactInfoContract's List of EntityEmailContractS.getEmailAddresses in interface EntityTypeContactInfoContractEntityEmailContractS for this EntityTypeContactInfoContract.
The returned List will never be null, an empty List will be assigned and returned if needed.public List<EntityPhone.Builder> getPhoneNumbers()
EntityTypeContactInfoContractEntityTypeContactInfoContract's List of EntityPhoneS.getPhoneNumbers in interface EntityTypeContactInfoContractEntityPhoneContractS for this EntityTypeContactInfoContract.
The returned List will never be null, an empty List will be assigned and returned if needed.public EntityAddress.Builder getDefaultAddress()
EntityTypeContactInfoContractgetDefaultAddress in interface EntityTypeContactInfoContractpublic EntityEmail.Builder getDefaultEmailAddress()
EntityTypeContactInfoContractgetDefaultEmailAddress in interface EntityTypeContactInfoContractpublic EntityPhone.Builder getDefaultPhoneNumber()
EntityTypeContactInfoContractgetDefaultPhoneNumber in interface EntityTypeContactInfoContractpublic Long getVersionNumber()
getVersionNumber in interface Versionedpublic String getObjectId()
getObjectId in interface GloballyUniquepublic boolean isActive()
isActive in interface Inactivatablepublic void setEntityId(String entityId)
public void setEntityTypeCode(String entityTypeCode)
public void setEntityType(CodedAttribute.Builder entityType)
public void setAddresses(List addresses)
public void setEmailAddresses(List emailAddresses)
public void setPhoneNumbers(List phoneNumbers)
public void setVersionNumber(Long versionNumber)
public void setObjectId(String objectId)
public void setActive(boolean active)
Copyright © 2005–2017 The Kuali Foundation. All rights reserved.