Class LegalEntityInformation

  • All Implemented Interfaces:
    java.io.Serializable, Bean, ImmutableBean

    public final class LegalEntityInformation
    extends java.lang.Object
    implements ImmutableBean, java.io.Serializable
    Legal entity information.

    This stores the information on a legal entity.

    See Also:
    Serialized Form
    • Method Detail

      • isDefaulted

        public static LegalEntityInformation isDefaulted​(StandardId legalEntityId)
        Creates an instance for a legal entity which has defaulted.
        Parameters:
        legalEntityId - the legal entity ID
        Returns:
        the instance
      • isNotDefaulted

        public static LegalEntityInformation isNotDefaulted​(StandardId legalEntityId)
        Creates an instance for a legal entity which has not defaulted.
        Parameters:
        legalEntityId - the legal entity
        Returns:
        the instance
      • getLegalEntityId

        public StandardId getLegalEntityId()
        Gets the legal entity identifier.
        Returns:
        the value of the property, not null
      • isDefaulted

        public boolean isDefaulted()
        Gets whether the legal entity has defaulted or not.

        True if defaulted, false otherwise.

        Returns:
        the value of the property, not null
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object