Package hdi.model.orgperson
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 hdi.model.orgperson.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 TypeMethodDescriptionvoid
addAdditionalId
(Reference reference) void
addContact
(ContactInfo contactInfo) additionalIds
(List<Reference> additionalIds) address()
contacts()
contacts
(List<ContactInfo> contacts) boolean
findIdByType
(ReferenceType type) gender()
gender
(GenderType gender) int
hashCode()
void
hdi.codeent.CodeEntity
providerTaxonomy
(hdi.codeent.CodeEntity providerTaxonomy) taxId
(ReferenceType taxIdType, String taxId) taxonomyCode
(String taxonomyCode) toString()
Methods inherited from class hdi.model.orgperson.PartyIdName
entityRole, entityRole, entityType, entityType, firstName, firstName, fullName, identificationType, identificationType, identifier, lastNameOrOrgName, lastNameOrOrgName, middleName, middleName, name, setEntityRole, taxId, taxIdType, taxIdType
-
Field Details
-
mapper
-
-
Constructor Details
-
OrgOrPerson
Creates a business entity- Parameters:
role
-idType
-id
-name
-
-
OrgOrPerson
public OrgOrPerson(EntityRole role, EntityType entityType, IdentificationType idType, String id, String name, String firstName) -
OrgOrPerson
-
OrgOrPerson
public OrgOrPerson()
-
-
Method Details
-
identifier
- Overrides:
identifier
in classPartyIdName
-
-
identifierWithLabel
-
addAdditionalId
-
friendlyIdType
-
providerTaxonomy
public hdi.codeent.CodeEntity providerTaxonomy() -
loop
- Specified by:
loop
in interfacehdi.edi.edient.EdiEntity
-
contacts
-
findIdByType
-
addContact
-
taxId
- Overrides:
taxId
in classPartyIdName
- Returns:
this
.
-
taxId
-
birthDate
-
gender
-
address
-
taxonomyCode
-
additionalIds
-
birthDate
- Returns:
this
.
-
gender
- Returns:
this
.
-
taxonomyCode
- Returns:
this
.
-
seg
- Returns:
this
.
-
equals
- Overrides:
equals
in classPartyIdName
-
hashCode
public int hashCode()- Overrides:
hashCode
in classPartyIdName
-
toString
- Overrides:
toString
in classPartyIdName
-
address
- Returns:
this
.
-
providerTaxonomy
- Returns:
this
.
-
contacts
- Returns:
this
.
-
additionalIds
- Returns:
this
.
-