Class Account.AccountImpl

java.lang.Object
cdm.base.staticdata.party.Account.AccountImpl
All Implemented Interfaces:
Account, com.rosetta.model.lib.GlobalKey, com.rosetta.model.lib.RosettaModelObject
Enclosing interface:
Account

public static class Account.AccountImpl extends Object implements Account
Immutable Implementation of Account
  • Constructor Details

  • Method Details

    • getPartyReference

      @RosettaAttribute("partyReference") @RuneAttribute("partyReference") public ReferenceWithMetaParty getPartyReference()
      Description copied from interface: Account
      A reference to the party to which the account refers to.
      Specified by:
      getPartyReference in interface Account
    • getAccountNumber

      @RosettaAttribute(value="accountNumber", isRequired=true) @RuneAttribute(value="accountNumber", isRequired=true) public FieldWithMetaString getAccountNumber()
      Description copied from interface: Account
      The account number.
      Specified by:
      getAccountNumber in interface Account
    • getAccountName

      @RosettaAttribute("accountName") @RuneAttribute("accountName") public FieldWithMetaString getAccountName()
      Description copied from interface: Account
      The name by which the account is known.
      Specified by:
      getAccountName in interface Account
    • getAccountType

      @RosettaAttribute("accountType") @RuneAttribute("accountType") public FieldWithMetaAccountTypeEnum getAccountType()
      Description copied from interface: Account
      The type of account, e.g. client, house.
      Specified by:
      getAccountType in interface Account
    • getAccountBeneficiary

      @RosettaAttribute("accountBeneficiary") @RuneAttribute("accountBeneficiary") public ReferenceWithMetaParty getAccountBeneficiary()
      Description copied from interface: Account
      A reference to the party beneficiary of the account.
      Specified by:
      getAccountBeneficiary in interface Account
    • getServicingParty

      @RosettaAttribute("servicingParty") @RuneAttribute("servicingParty") public ReferenceWithMetaParty getServicingParty()
      Description copied from interface: Account
      The reference to the legal entity that services the account, i.e. in the books of which the account is held.
      Specified by:
      getServicingParty in interface Account
    • getMeta

      @RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public com.rosetta.model.metafields.MetaFields getMeta()
      Specified by:
      getMeta in interface Account
      Specified by:
      getMeta in interface com.rosetta.model.lib.GlobalKey
    • build

      public Account build()
      Description copied from interface: Account
      Build Methods
      Specified by:
      build in interface Account
      Specified by:
      build in interface com.rosetta.model.lib.RosettaModelObject
    • toBuilder

      public Account.AccountBuilder toBuilder()
      Specified by:
      toBuilder in interface Account
      Specified by:
      toBuilder in interface com.rosetta.model.lib.RosettaModelObject
    • setBuilderFields

      protected void setBuilderFields(Account.AccountBuilder builder)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object