Class TuaAccountModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.tuadatamodel.model.TuaAccountModel
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TuaFinancialAccountModel, TuaPartyAccountModel

public class TuaAccountModel extends ItemModel
Generated model class for type TuaAccount first defined at extension tuadatamodel.

Account.

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

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated relation code constant for relation TuaAccountRelationship2TuaAccount defining source attribute accountRelationshipReferencedBy in extension tuadatamodel.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of TuaAccount.accountBalances attribute defined at extension tuadatamodel.
    static final String
    Generated constant - Attribute key of TuaAccount.accountRelationshipReferencedBy attribute defined at extension tuadatamodel.
    static final String
    Generated constant - Attribute key of TuaAccount.accountRelationshipReferences attribute defined at extension tuadatamodel.
    static final String
    Generated constant - Attribute key of TuaAccount.accountType attribute defined at extension tuadatamodel.
    static final String
    Generated constant - Attribute key of TuaAccount.contacts attribute defined at extension tuadatamodel.
    static final String
    Generated constant - Attribute key of TuaAccount.description attribute defined at extension tuadatamodel.
    static final String
    Generated constant - Attribute key of TuaAccount.externalIdentifiers attribute defined at extension tuadatamodel.
    static final String
    Generated constant - Attribute key of TuaAccount.id attribute defined at extension tuadatamodel.
    static final String
    Generated constant - Attribute key of TuaAccount.name attribute defined at extension tuadatamodel.
    static final String
    Generated constant - Attribute key of TuaAccount.partyRoles attribute defined at extension tuadatamodel.
    static final String
    Generated constant - Attribute key of TuaAccount.state attribute defined at extension tuadatamodel.
    static final String
    Generated constant - Attribute key of TuaAccount.taxExemptions attribute defined at extension tuadatamodel.

    Fields inherited from class de.hybris.platform.core.model.ItemModel

    _COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED

    Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Generated constructor - Default constructor for generic creation.
    TuaAccountModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
    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
    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 Type
    Method
    Description
    Generated method - Getter of the TuaAccount.accountBalances attribute defined at extension tuadatamodel.
    Generated method - Getter of the TuaAccount.accountRelationshipReferencedBy attribute defined at extension tuadatamodel.
    Generated method - Getter of the TuaAccount.accountRelationshipReferences attribute defined at extension tuadatamodel.
    Generated method - Getter of the TuaAccount.accountType attribute defined at extension tuadatamodel.
    Generated method - Getter of the TuaAccount.contacts attribute defined at extension tuadatamodel.
    Generated method - Getter of the TuaAccount.description attribute defined at extension tuadatamodel.
    Generated method - Getter of the TuaAccount.description attribute defined at extension tuadatamodel.
    Generated method - Getter of the TuaAccount.externalIdentifiers attribute defined at extension tuadatamodel.
    Generated method - Getter of the TuaAccount.id attribute defined at extension tuadatamodel.
    Generated method - Getter of the TuaAccount.name attribute defined at extension tuadatamodel.
    Generated method - Getter of the TuaAccount.name attribute defined at extension tuadatamodel.
    Generated method - Getter of the TuaAccount.partyRoles attribute defined at extension tuadatamodel.
    Generated method - Getter of the TuaAccount.state attribute defined at extension tuadatamodel.
    Generated method - Getter of the TuaAccount.taxExemptions attribute defined at extension tuadatamodel.
    void
    Generated method - Setter of TuaAccount.accountBalances attribute defined at extension tuadatamodel.
    void
    Generated method - Setter of TuaAccount.accountRelationshipReferencedBy attribute defined at extension tuadatamodel.
    void
    Generated method - Setter of TuaAccount.accountRelationshipReferences attribute defined at extension tuadatamodel.
    void
    Generated method - Setter of TuaAccount.accountType attribute defined at extension tuadatamodel.
    void
    Generated method - Setter of TuaAccount.contacts attribute defined at extension tuadatamodel.
    void
    Generated method - Setter of TuaAccount.description attribute defined at extension tuadatamodel.
    void
    Generated method - Setter of TuaAccount.description attribute defined at extension tuadatamodel.
    void
    Generated method - Setter of TuaAccount.externalIdentifiers attribute defined at extension tuadatamodel.
    void
    setId(String value)
    Generated method - Setter of TuaAccount.id attribute defined at extension tuadatamodel.
    void
    setName(String value)
    Generated method - Setter of TuaAccount.name attribute defined at extension tuadatamodel.
    void
    setName(String value, Locale loc)
    Generated method - Setter of TuaAccount.name attribute defined at extension tuadatamodel.
    void
    Generated method - Setter of TuaAccount.partyRoles attribute defined at extension tuadatamodel.
    void
    Generated method - Setter of TuaAccount.state attribute defined at extension tuadatamodel.
    void
    Generated method - Setter of TuaAccount.taxExemptions attribute defined at extension tuadatamodel.

    Methods inherited from class de.hybris.platform.core.model.ItemModel

    getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner

    Methods 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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • _TUAACCOUNTRELATIONSHIP2TUAACCOUNT

      public static final String _TUAACCOUNTRELATIONSHIP2TUAACCOUNT
      Generated relation code constant for relation TuaAccountRelationship2TuaAccount defining source attribute accountRelationshipReferencedBy in extension tuadatamodel.
      See Also:
    • ID

      public static final String ID
      Generated constant - Attribute key of TuaAccount.id attribute defined at extension tuadatamodel.
      See Also:
    • NAME

      public static final String NAME
      Generated constant - Attribute key of TuaAccount.name attribute defined at extension tuadatamodel.
      See Also:
    • DESCRIPTION

      public static final String DESCRIPTION
      Generated constant - Attribute key of TuaAccount.description attribute defined at extension tuadatamodel.
      See Also:
    • STATE

      public static final String STATE
      Generated constant - Attribute key of TuaAccount.state attribute defined at extension tuadatamodel.
      See Also:
    • ACCOUNTTYPE

      public static final String ACCOUNTTYPE
      Generated constant - Attribute key of TuaAccount.accountType attribute defined at extension tuadatamodel.
      See Also:
    • EXTERNALIDENTIFIERS

      public static final String EXTERNALIDENTIFIERS
      Generated constant - Attribute key of TuaAccount.externalIdentifiers attribute defined at extension tuadatamodel.
      See Also:
    • ACCOUNTBALANCES

      public static final String ACCOUNTBALANCES
      Generated constant - Attribute key of TuaAccount.accountBalances attribute defined at extension tuadatamodel.
      See Also:
    • TAXEXEMPTIONS

      public static final String TAXEXEMPTIONS
      Generated constant - Attribute key of TuaAccount.taxExemptions attribute defined at extension tuadatamodel.
      See Also:
    • CONTACTS

      public static final String CONTACTS
      Generated constant - Attribute key of TuaAccount.contacts attribute defined at extension tuadatamodel.
      See Also:
    • ACCOUNTRELATIONSHIPREFERENCES

      public static final String ACCOUNTRELATIONSHIPREFERENCES
      Generated constant - Attribute key of TuaAccount.accountRelationshipReferences attribute defined at extension tuadatamodel.
      See Also:
    • ACCOUNTRELATIONSHIPREFERENCEDBY

      public static final String ACCOUNTRELATIONSHIPREFERENCEDBY
      Generated constant - Attribute key of TuaAccount.accountRelationshipReferencedBy attribute defined at extension tuadatamodel.
      See Also:
    • PARTYROLES

      public static final String PARTYROLES
      Generated constant - Attribute key of TuaAccount.partyRoles attribute defined at extension tuadatamodel.
      See Also:
  • Constructor Details

    • TuaAccountModel

      public TuaAccountModel()
      Generated constructor - Default constructor for generic creation.
    • TuaAccountModel

      public TuaAccountModel(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
    • TuaAccountModel

      @Deprecated(since="4.1.1", forRemoval=true) public TuaAccountModel(String _id)
      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
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _id - initial attribute declared by type TuaAccount at extension tuadatamodel
    • TuaAccountModel

      @Deprecated(since="4.1.1", forRemoval=true) public TuaAccountModel(String _id, ItemModel _owner)
      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
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _id - initial attribute declared by type TuaAccount at extension tuadatamodel
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getAccountBalances

      @Accessor(qualifier="accountBalances", type=GETTER) public Set<TuaAccountBalanceModel> getAccountBalances()
      Generated method - Getter of the TuaAccount.accountBalances attribute defined at extension tuadatamodel. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the accountBalances - Account Balances
    • getAccountRelationshipReferencedBy

      @Accessor(qualifier="accountRelationshipReferencedBy", type=GETTER) public Set<TuaAccountRelationshipModel> getAccountRelationshipReferencedBy()
      Generated method - Getter of the TuaAccount.accountRelationshipReferencedBy attribute defined at extension tuadatamodel. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the accountRelationshipReferencedBy - Account Relationship Referenced By
    • getAccountRelationshipReferences

      @Accessor(qualifier="accountRelationshipReferences", type=GETTER) public Set<TuaAccountRelationshipModel> getAccountRelationshipReferences()
      Generated method - Getter of the TuaAccount.accountRelationshipReferences attribute defined at extension tuadatamodel. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the accountRelationshipReferences - Account Relationship References
    • getAccountType

      @Accessor(qualifier="accountType", type=GETTER) public TuaBillingAccountType getAccountType()
      Generated method - Getter of the TuaAccount.accountType attribute defined at extension tuadatamodel.
      Returns:
      the accountType - Account type
    • getContacts

      @Accessor(qualifier="contacts", type=GETTER) public Set<TuaContactModel> getContacts()
      Generated method - Getter of the TuaAccount.contacts attribute defined at extension tuadatamodel. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the contacts - Contacts
    • getDescription

      @Accessor(qualifier="description", type=GETTER) public String getDescription()
      Generated method - Getter of the TuaAccount.description attribute defined at extension tuadatamodel.
      Returns:
      the description - Description
    • getDescription

      @Accessor(qualifier="description", type=GETTER) public String getDescription(Locale loc)
      Generated method - Getter of the TuaAccount.description attribute defined at extension tuadatamodel.
      Parameters:
      loc - the value localization key
      Returns:
      the description - Description
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • getExternalIdentifiers

      @Accessor(qualifier="externalIdentifiers", type=GETTER) public List<TuaExternalIdentifierModel> getExternalIdentifiers()
      Generated method - Getter of the TuaAccount.externalIdentifiers attribute defined at extension tuadatamodel. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the externalIdentifiers
    • getId

      @Accessor(qualifier="id", type=GETTER) public String getId()
      Generated method - Getter of the TuaAccount.id attribute defined at extension tuadatamodel.
      Returns:
      the id - Unique Identifier
    • getName

      @Accessor(qualifier="name", type=GETTER) public String getName()
      Generated method - Getter of the TuaAccount.name attribute defined at extension tuadatamodel.
      Returns:
      the name - Name
    • getName

      @Accessor(qualifier="name", type=GETTER) public String getName(Locale loc)
      Generated method - Getter of the TuaAccount.name attribute defined at extension tuadatamodel.
      Parameters:
      loc - the value localization key
      Returns:
      the name - Name
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • getPartyRoles

      @Accessor(qualifier="partyRoles", type=GETTER) public Set<TuaPartyRoleModel> getPartyRoles()
      Generated method - Getter of the TuaAccount.partyRoles attribute defined at extension tuadatamodel. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the partyRoles - Party roles representing the party roles of the account.
    • getState

      @Accessor(qualifier="state", type=GETTER) public TuaAccountStatus getState()
      Generated method - Getter of the TuaAccount.state attribute defined at extension tuadatamodel.
      Returns:
      the state - State
    • getTaxExemptions

      @Accessor(qualifier="taxExemptions", type=GETTER) public Set<TuaAccountTaxExemptionModel> getTaxExemptions()
      Generated method - Getter of the TuaAccount.taxExemptions attribute defined at extension tuadatamodel. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the taxExemptions - Account Tax Exemptions
    • setAccountBalances

      @Accessor(qualifier="accountBalances", type=SETTER) public void setAccountBalances(Set<TuaAccountBalanceModel> value)
      Generated method - Setter of TuaAccount.accountBalances attribute defined at extension tuadatamodel.
      Parameters:
      value - the accountBalances - Account Balances
    • setAccountRelationshipReferencedBy

      @Accessor(qualifier="accountRelationshipReferencedBy", type=SETTER) public void setAccountRelationshipReferencedBy(Set<TuaAccountRelationshipModel> value)
      Generated method - Setter of TuaAccount.accountRelationshipReferencedBy attribute defined at extension tuadatamodel.
      Parameters:
      value - the accountRelationshipReferencedBy - Account Relationship Referenced By
    • setAccountRelationshipReferences

      @Accessor(qualifier="accountRelationshipReferences", type=SETTER) public void setAccountRelationshipReferences(Set<TuaAccountRelationshipModel> value)
      Generated method - Setter of TuaAccount.accountRelationshipReferences attribute defined at extension tuadatamodel.
      Parameters:
      value - the accountRelationshipReferences - Account Relationship References
    • setAccountType

      @Accessor(qualifier="accountType", type=SETTER) public void setAccountType(TuaBillingAccountType value)
      Generated method - Setter of TuaAccount.accountType attribute defined at extension tuadatamodel.
      Parameters:
      value - the accountType - Account type
    • setContacts

      @Accessor(qualifier="contacts", type=SETTER) public void setContacts(Set<TuaContactModel> value)
      Generated method - Setter of TuaAccount.contacts attribute defined at extension tuadatamodel.
      Parameters:
      value - the contacts - Contacts
    • setDescription

      @Accessor(qualifier="description", type=SETTER) public void setDescription(String value)
      Generated method - Setter of TuaAccount.description attribute defined at extension tuadatamodel.
      Parameters:
      value - the description - Description
    • setDescription

      @Accessor(qualifier="description", type=SETTER) public void setDescription(String value, Locale loc)
      Generated method - Setter of TuaAccount.description attribute defined at extension tuadatamodel.
      Parameters:
      value - the description - Description
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setExternalIdentifiers

      @Accessor(qualifier="externalIdentifiers", type=SETTER) public void setExternalIdentifiers(List<TuaExternalIdentifierModel> value)
      Generated method - Setter of TuaAccount.externalIdentifiers attribute defined at extension tuadatamodel.
      Parameters:
      value - the externalIdentifiers
    • setId

      @Accessor(qualifier="id", type=SETTER) public void setId(String value)
      Generated method - Setter of TuaAccount.id attribute defined at extension tuadatamodel.
      Parameters:
      value - the id - Unique Identifier
    • setName

      @Accessor(qualifier="name", type=SETTER) public void setName(String value)
      Generated method - Setter of TuaAccount.name attribute defined at extension tuadatamodel.
      Parameters:
      value - the name - Name
    • setName

      @Accessor(qualifier="name", type=SETTER) public void setName(String value, Locale loc)
      Generated method - Setter of TuaAccount.name attribute defined at extension tuadatamodel.
      Parameters:
      value - the name - Name
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setPartyRoles

      @Accessor(qualifier="partyRoles", type=SETTER) public void setPartyRoles(Set<TuaPartyRoleModel> value)
      Generated method - Setter of TuaAccount.partyRoles attribute defined at extension tuadatamodel.
      Parameters:
      value - the partyRoles - Party roles representing the party roles of the account.
    • setState

      @Accessor(qualifier="state", type=SETTER) public void setState(TuaAccountStatus value)
      Generated method - Setter of TuaAccount.state attribute defined at extension tuadatamodel.
      Parameters:
      value - the state - State
    • setTaxExemptions

      @Accessor(qualifier="taxExemptions", type=SETTER) public void setTaxExemptions(Set<TuaAccountTaxExemptionModel> value)
      Generated method - Setter of TuaAccount.taxExemptions attribute defined at extension tuadatamodel.
      Parameters:
      value - the taxExemptions - Account Tax Exemptions