Class SimpleLegalEntity

    • Method Detail

      • meta

        public static org.joda.beans.MetaBean meta()
        The meta-bean for SimpleLegalEntity.
        Returns:
        the meta-bean, not null
      • of

        public static SimpleLegalEntity of​(LegalEntityId legalEntityId,
                                           String name,
                                           Country country)
        Obtains an instance.
        Parameters:
        legalEntityId - the value of the property, not null
        name - the value of the property, not null
        country - the value of the property, not null
        Returns:
        the instance
      • metaBean

        public org.joda.beans.MetaBean metaBean()
        Specified by:
        metaBean in interface org.joda.beans.Bean
      • getName

        public String getName()
        Gets the legal entity name.
        Specified by:
        getName in interface LegalEntity
        Returns:
        the value of the property, not null
      • getCountry

        public Country getCountry()
        Gets the country that the legal entity is based in.
        Specified by:
        getCountry in interface LegalEntity
        Returns:
        the value of the property, not null
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object