Class Entry

    • Constructor Summary

      Constructors 
      Constructor Description
      Entry​(java.lang.String accountId, java.lang.String code, java.lang.String subject)
      Create an Entry.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAccountId()
      Gets the identity of the Account the Entry resides in.
      java.lang.String getCode()
      Gets the code of the entry.
      java.lang.String getSubject()
      Gets the subject of the entry.
      java.lang.String key()
      Get the key of the AggregateMember.
      java.lang.String toString()
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Entry

        public Entry​(java.lang.String accountId,
                     java.lang.String code,
                     java.lang.String subject)
        Create an Entry.
        Parameters:
        accountId - the account id
        code - the code
        subject - the subject
    • Method Detail

      • getAccountId

        public java.lang.String getAccountId()
        Gets the identity of the Account the Entry resides in.
        Returns:
        the identity of the Account the Entry resides in
      • getCode

        public java.lang.String getCode()
        Gets the code of the entry.
        Returns:
        the code of the entry
      • getSubject

        public java.lang.String getSubject()
        Gets the subject of the entry.
        Returns:
        the subject of the entry
      • key

        public java.lang.String key()
        Get the key of the AggregateMember.

        This implementation concats accountId and code.

        Specified by:
        key in class AggregateMember
        Returns:
        the key, composed with the KEY_SEPARATOR.
      • toString

        public java.lang.String toString()

        This implementation show all fields.

        Overrides:
        toString in class java.lang.Object