Class LegalEntityInformation

  • All Implemented Interfaces:
    Serializable, org.joda.beans.Bean, org.joda.beans.ImmutableBean

    public final class LegalEntityInformation
    extends Object
    implements org.joda.beans.ImmutableBean, 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object