Class TuaPartyModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.tuadatamodel.model.TuaPartyModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TuaIndividualModel,TuaOrganizationModel
Generated model class for type TuaParty first defined at extension tuadatamodel.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationTuaPartyBill2TuaPartyRelationdefining source attributepartyBillsin extensiontuadatamodel.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofTuaParty.contactMediumsattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaParty.creditRatingsattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaParty.externalIdentifiersattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaParty.externalReferencesattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaParty.idattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaParty.identificationsattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaParty.nameattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaParty.otherNamesattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaParty.partyBillsattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaParty.partyCharacteristicsattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaParty.partyRolesattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaParty.principalsattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaParty.statusattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaParty.taxExemptionCertificatesattribute defined at extensiontuadatamodel.Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.TuaPartyModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextTuaPartyModel(String _id, ItemModel _owner, Set<PrincipalModel> _principals) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersTuaPartyModel(String _id, Set<PrincipalModel> _principals) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parameters -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theTuaParty.contactMediumsattribute defined at extensiontuadatamodel.Generated method - Getter of theTuaParty.creditRatingsattribute defined at extensiontuadatamodel.Generated method - Getter of theTuaParty.externalIdentifiersattribute defined at extensiontuadatamodel.Generated method - Getter of theTuaParty.externalReferencesattribute defined at extensiontuadatamodel.getId()Generated method - Getter of theTuaParty.idattribute defined at extensiontuadatamodel.Generated method - Getter of theTuaParty.identificationsattribute defined at extensiontuadatamodel.getName()Generated method - Getter of theTuaParty.nameattribute defined at extensiontuadatamodel.Generated method - Getter of theTuaParty.nameattribute defined at extensiontuadatamodel.Generated method - Getter of theTuaParty.otherNamesattribute defined at extensiontuadatamodel.Generated method - Getter of theTuaParty.partyBillsattribute defined at extensiontuadatamodel.Generated method - Getter of theTuaParty.partyCharacteristicsattribute defined at extensiontuadatamodel.Generated method - Getter of theTuaParty.partyRolesattribute defined at extensiontuadatamodel.Generated method - Getter of theTuaParty.principalsattribute defined at extensiontuadatamodel.Generated method - Getter of theTuaParty.statusattribute defined at extensiontuadatamodel.Generated method - Getter of theTuaParty.taxExemptionCertificatesattribute defined at extensiontuadatamodel.voidGenerated method - Setter ofTuaParty.contactMediumsattribute defined at extensiontuadatamodel.voidGenerated method - Setter ofTuaParty.creditRatingsattribute defined at extensiontuadatamodel.voidGenerated method - Setter ofTuaParty.externalIdentifiersattribute defined at extensiontuadatamodel.voidGenerated method - Setter ofTuaParty.externalReferencesattribute defined at extensiontuadatamodel.voidGenerated method - Setter ofTuaParty.idattribute defined at extensiontuadatamodel.voidGenerated method - Setter ofTuaParty.identificationsattribute defined at extensiontuadatamodel.voidGenerated method - Setter ofTuaParty.nameattribute defined at extensiontuadatamodel.voidGenerated method - Setter ofTuaParty.nameattribute defined at extensiontuadatamodel.voidsetOtherNames(List<TuaOtherNameModel> value) Generated method - Setter ofTuaParty.otherNamesattribute defined at extensiontuadatamodel.voidsetPartyBills(Set<TuaPartyBillModel> value) Generated method - Setter ofTuaParty.partyBillsattribute defined at extensiontuadatamodel.voidGenerated method - Setter ofTuaParty.partyCharacteristicsattribute defined at extensiontuadatamodel.voidsetPartyRoles(Set<TuaPartyRoleModel> value) Generated method - Setter ofTuaParty.partyRolesattribute defined at extensiontuadatamodel.voidsetPrincipals(Set<PrincipalModel> value) Generated method - Setter ofTuaParty.principalsattribute defined at extensiontuadatamodel.voidsetStatus(TuaPartyStateType value) Generated method - Setter ofTuaParty.statusattribute defined at extensiontuadatamodel.voidGenerated method - Setter ofTuaParty.taxExemptionCertificatesattribute defined at extensiontuadatamodel.Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_TUAPARTYBILL2TUAPARTYRELATION
Generated relation code constant for relationTuaPartyBill2TuaPartyRelationdefining source attributepartyBillsin extensiontuadatamodel.- See Also:
-
ID
Generated constant - Attribute key ofTuaParty.idattribute defined at extensiontuadatamodel.- See Also:
-
NAME
Generated constant - Attribute key ofTuaParty.nameattribute defined at extensiontuadatamodel.- See Also:
-
STATUS
Generated constant - Attribute key ofTuaParty.statusattribute defined at extensiontuadatamodel.- See Also:
-
IDENTIFICATIONS
Generated constant - Attribute key ofTuaParty.identificationsattribute defined at extensiontuadatamodel.- See Also:
-
CONTACTMEDIUMS
Generated constant - Attribute key ofTuaParty.contactMediumsattribute defined at extensiontuadatamodel.- See Also:
-
CREDITRATINGS
Generated constant - Attribute key ofTuaParty.creditRatingsattribute defined at extensiontuadatamodel.- See Also:
-
EXTERNALREFERENCES
Generated constant - Attribute key ofTuaParty.externalReferencesattribute defined at extensiontuadatamodel.- See Also:
-
PARTYCHARACTERISTICS
Generated constant - Attribute key ofTuaParty.partyCharacteristicsattribute defined at extensiontuadatamodel.- See Also:
-
TAXEXEMPTIONCERTIFICATES
Generated constant - Attribute key ofTuaParty.taxExemptionCertificatesattribute defined at extensiontuadatamodel.- See Also:
-
OTHERNAMES
Generated constant - Attribute key ofTuaParty.otherNamesattribute defined at extensiontuadatamodel.- See Also:
-
EXTERNALIDENTIFIERS
Generated constant - Attribute key ofTuaParty.externalIdentifiersattribute defined at extensiontuadatamodel.- See Also:
-
PARTYBILLS
Generated constant - Attribute key ofTuaParty.partyBillsattribute defined at extensiontuadatamodel.- See Also:
-
PARTYROLES
Generated constant - Attribute key ofTuaParty.partyRolesattribute defined at extensiontuadatamodel.- See Also:
-
PRINCIPALS
Generated constant - Attribute key ofTuaParty.principalsattribute defined at extensiontuadatamodel.- See Also:
-
-
Constructor Details
-
TuaPartyModel
public TuaPartyModel()Generated constructor - Default constructor for generic creation. -
TuaPartyModel
public TuaPartyModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
TuaPartyModel
@Deprecated(since="4.1.1", forRemoval=true) public TuaPartyModel(String _id, Set<PrincipalModel> _principals) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_id- initial attribute declared by typeTuaPartyat extensiontuadatamodel_principals- initial attribute declared by typeTuaPartyat extensiontuadatamodel
-
TuaPartyModel
@Deprecated(since="4.1.1", forRemoval=true) public TuaPartyModel(String _id, ItemModel _owner, Set<PrincipalModel> _principals) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_id- initial attribute declared by typeTuaPartyat extensiontuadatamodel_owner- initial attribute declared by typeItemat extensioncore_principals- initial attribute declared by typeTuaPartyat extensiontuadatamodel
-
-
Method Details
-
getContactMediums
@Accessor(qualifier="contactMediums", type=GETTER) public List<TuaContactMediumModel> getContactMediums()Generated method - Getter of theTuaParty.contactMediumsattribute defined at extensiontuadatamodel. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the contactMediums - The list of contact mediums of the party
-
getCreditRatings
@Accessor(qualifier="creditRatings", type=GETTER) public List<TuaPartyCreditProfileModel> getCreditRatings()Generated method - Getter of theTuaParty.creditRatingsattribute defined at extensiontuadatamodel. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the creditRatings - The list of credit ratings of the party
-
getExternalIdentifiers
@Accessor(qualifier="externalIdentifiers", type=GETTER) public List<TuaExternalIdentifierModel> getExternalIdentifiers()Generated method - Getter of theTuaParty.externalIdentifiersattribute defined at extensiontuadatamodel. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the externalIdentifiers
-
getExternalReferences
@Accessor(qualifier="externalReferences", type=GETTER) public List<TuaExternalReferenceModel> getExternalReferences()Generated method - Getter of theTuaParty.externalReferencesattribute defined at extensiontuadatamodel. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the externalReferences - The list of external refereces of the party
-
getId
Generated method - Getter of theTuaParty.idattribute defined at extensiontuadatamodel.- Returns:
- the id - The unique identifier of the party
-
getIdentifications
@Accessor(qualifier="identifications", type=GETTER) public List<TuaIdentificationModel> getIdentifications()Generated method - Getter of theTuaParty.identificationsattribute defined at extensiontuadatamodel. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the identifications - The list of identifications of the party
-
getName
Generated method - Getter of theTuaParty.nameattribute defined at extensiontuadatamodel.- Returns:
- the name
-
getName
Generated method - Getter of theTuaParty.nameattribute defined at extensiontuadatamodel.- Parameters:
loc- the value localization key- Returns:
- the name
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getOtherNames
Generated method - Getter of theTuaParty.otherNamesattribute defined at extensiontuadatamodel. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the otherNames - The list of other names of the party
-
getPartyBills
Generated method - Getter of theTuaParty.partyBillsattribute defined at extensiontuadatamodel. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the partyBills - The Party Bills for which those Parties are defined.
-
getPartyCharacteristics
@Accessor(qualifier="partyCharacteristics", type=GETTER) public List<TuaCharacteristicModel> getPartyCharacteristics()Generated method - Getter of theTuaParty.partyCharacteristicsattribute defined at extensiontuadatamodel. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the partyCharacteristics - The list of characteristics of the party
-
getPartyRoles
Generated method - Getter of theTuaParty.partyRolesattribute defined at extensiontuadatamodel. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the partyRoles - The roles of the party
-
getPrincipals
Generated method - Getter of theTuaParty.principalsattribute defined at extensiontuadatamodel. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the principals - The principals of the party
-
getStatus
Generated method - Getter of theTuaParty.statusattribute defined at extensiontuadatamodel.- Returns:
- the status - The status of the party
-
getTaxExemptionCertificates
@Accessor(qualifier="taxExemptionCertificates", type=GETTER) public List<TuaTaxExemptionCertificateModel> getTaxExemptionCertificates()Generated method - Getter of theTuaParty.taxExemptionCertificatesattribute defined at extensiontuadatamodel. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the taxExemptionCertificates - The list of tax exemption certificates of the party
-
setContactMediums
@Accessor(qualifier="contactMediums", type=SETTER) public void setContactMediums(List<TuaContactMediumModel> value) Generated method - Setter ofTuaParty.contactMediumsattribute defined at extensiontuadatamodel.- Parameters:
value- the contactMediums - The list of contact mediums of the party
-
setCreditRatings
@Accessor(qualifier="creditRatings", type=SETTER) public void setCreditRatings(List<TuaPartyCreditProfileModel> value) Generated method - Setter ofTuaParty.creditRatingsattribute defined at extensiontuadatamodel.- Parameters:
value- the creditRatings - The list of credit ratings of the party
-
setExternalIdentifiers
@Accessor(qualifier="externalIdentifiers", type=SETTER) public void setExternalIdentifiers(List<TuaExternalIdentifierModel> value) Generated method - Setter ofTuaParty.externalIdentifiersattribute defined at extensiontuadatamodel.- Parameters:
value- the externalIdentifiers
-
setExternalReferences
@Accessor(qualifier="externalReferences", type=SETTER) public void setExternalReferences(List<TuaExternalReferenceModel> value) Generated method - Setter ofTuaParty.externalReferencesattribute defined at extensiontuadatamodel.- Parameters:
value- the externalReferences - The list of external refereces of the party
-
setId
Generated method - Setter ofTuaParty.idattribute defined at extensiontuadatamodel.- Parameters:
value- the id - The unique identifier of the party
-
setIdentifications
@Accessor(qualifier="identifications", type=SETTER) public void setIdentifications(List<TuaIdentificationModel> value) Generated method - Setter ofTuaParty.identificationsattribute defined at extensiontuadatamodel.- Parameters:
value- the identifications - The list of identifications of the party
-
setName
Generated method - Setter ofTuaParty.nameattribute defined at extensiontuadatamodel.- Parameters:
value- the name
-
setName
Generated method - Setter ofTuaParty.nameattribute defined at extensiontuadatamodel.- Parameters:
value- the nameloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setOtherNames
@Accessor(qualifier="otherNames", type=SETTER) public void setOtherNames(List<TuaOtherNameModel> value) Generated method - Setter ofTuaParty.otherNamesattribute defined at extensiontuadatamodel.- Parameters:
value- the otherNames - The list of other names of the party
-
setPartyBills
@Accessor(qualifier="partyBills", type=SETTER) public void setPartyBills(Set<TuaPartyBillModel> value) Generated method - Setter ofTuaParty.partyBillsattribute defined at extensiontuadatamodel.- Parameters:
value- the partyBills - The Party Bills for which those Parties are defined.
-
setPartyCharacteristics
@Accessor(qualifier="partyCharacteristics", type=SETTER) public void setPartyCharacteristics(List<TuaCharacteristicModel> value) Generated method - Setter ofTuaParty.partyCharacteristicsattribute defined at extensiontuadatamodel.- Parameters:
value- the partyCharacteristics - The list of characteristics of the party
-
setPartyRoles
@Accessor(qualifier="partyRoles", type=SETTER) public void setPartyRoles(Set<TuaPartyRoleModel> value) Generated method - Setter ofTuaParty.partyRolesattribute defined at extensiontuadatamodel.- Parameters:
value- the partyRoles - The roles of the party
-
setPrincipals
Generated method - Setter ofTuaParty.principalsattribute defined at extensiontuadatamodel.- Parameters:
value- the principals - The principals of the party
-
setStatus
Generated method - Setter ofTuaParty.statusattribute defined at extensiontuadatamodel.- Parameters:
value- the status - The status of the party
-
setTaxExemptionCertificates
@Accessor(qualifier="taxExemptionCertificates", type=SETTER) public void setTaxExemptionCertificates(List<TuaTaxExemptionCertificateModel> value) Generated method - Setter ofTuaParty.taxExemptionCertificatesattribute defined at extensiontuadatamodel.- Parameters:
value- the taxExemptionCertificates - The list of tax exemption certificates of the party
-