Class OrgOrPerson
java.lang.Object
hdi.model.orgperson.PartyIdName
hdi.model.orgperson.OrgOrPerson
- All Implemented Interfaces:
hdi.edi.edient.EdiEntity
- Direct Known Subclasses:
Member, ProviderWithChangeReason, TpaWithAccountInfo
-
Nested Class Summary
Nested classes/interfaces inherited from class PartyIdName
PartyIdName.IdWithLabel -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOrgOrPerson(EntityRole role, IdentificationType idType, String id, String name) Creates a business entityOrgOrPerson(EntityRole role, EntityType entityType, IdentificationType idType, String id, String name, String firstName) OrgOrPerson(OrgOrPerson anotherOrgOrPerson) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAdditionalId(Reference reference) voidaddContact(ContactInfo contactInfo) additionalIds(List<Reference> additionalIds) address()contacts()contacts(List<ContactInfo> contacts) booleanfindIdByType(ReferenceType type) gender()gender(GenderType gender) inthashCode()voidvoidpopulateDefaults(EntityRole entityRole, EntityType entityType, IdentificationType idType) static voidpopulateDefaults(OrgOrPerson orgOrPerson, EntityRole entityRole, EntityType entityType, IdentificationType idType) hdi.codeent.CodeEntityproviderTaxonomy(hdi.codeent.CodeEntity providerTaxonomy) taxId(ReferenceType taxIdType, String taxId) taxonomyCode(String taxonomyCode) toString()Methods inherited from class PartyIdName
entityRole, entityRole, entityType, entityType, firstName, firstName, fullName, identificationType, identificationType, identifier, lastNameOrOrgName, lastNameOrOrgName, middleName, middleName, name, namePrefix, namePrefix, nameSuffix, nameSuffix, setEntityRole, taxId, taxIdType, taxIdType
-
Field Details
-
mapper
-
-
Constructor Details
-
OrgOrPerson
Creates a business entity- Parameters:
role- Entity roleidType- Identification typeid- Identifiername- Last name or organization name
-
OrgOrPerson
public OrgOrPerson(EntityRole role, EntityType entityType, IdentificationType idType, String id, String name, String firstName) -
OrgOrPerson
-
OrgOrPerson
public OrgOrPerson()
-
-
Method Details
-
identifier
- Overrides:
identifierin classPartyIdName
-
-
identifierWithLabel
-
addAdditionalId
-
friendlyIdType
-
providerTaxonomy
public hdi.codeent.CodeEntity providerTaxonomy() -
loop
- Specified by:
loopin interfacehdi.edi.edient.EdiEntity
-
contacts
-
findIdByType
-
addContact
-
taxId
- Overrides:
taxIdin classPartyIdName- Returns:
this.
-
taxId
-
populateDefaults
public void populateDefaults(EntityRole entityRole, EntityType entityType, IdentificationType idType) -
populateDefaults
public static void populateDefaults(OrgOrPerson orgOrPerson, EntityRole entityRole, EntityType entityType, IdentificationType idType) -
birthDate
-
gender
-
address
-
taxonomyCode
-
additionalIds
-
birthDate
- Returns:
this.
-
gender
- Returns:
this.
-
taxonomyCode
- Returns:
this.
-
seg
- Returns:
this.
-
equals
- Overrides:
equalsin classPartyIdName
-
hashCode
public int hashCode()- Overrides:
hashCodein classPartyIdName
-
toString
- Overrides:
toStringin classPartyIdName
-
address
- Returns:
this.
-
providerTaxonomy
- Returns:
this.
-
contacts
- Returns:
this.
-
additionalIds
- Returns:
this.
-