Class Company


  • public class Company
    extends Object
    Company
    • Constructor Detail

      • Company

        public Company()
    • Method Detail

      • getHomepage

        public String getHomepage()
        The company website's home page.
        Returns:
        homepage
      • setHomepage

        public void setHomepage​(String homepage)
        The company website's home page.
        Parameters:
        homepage -
      • getName

        public String getName()
        The company name.
        Returns:
        name
      • setName

        public void setName​(String name)
        The company name.
        Parameters:
        name -
      • registrationNumber

        public Company registrationNumber​(String registrationNumber)
      • getRegistrationNumber

        public String getRegistrationNumber()
        Registration number of the company.
        Returns:
        registrationNumber
      • setRegistrationNumber

        public void setRegistrationNumber​(String registrationNumber)
        Registration number of the company.
        Parameters:
        registrationNumber -
      • registryLocation

        public Company registryLocation​(String registryLocation)
      • getRegistryLocation

        public String getRegistryLocation()
        Registry location of the company.
        Returns:
        registryLocation
      • setRegistryLocation

        public void setRegistryLocation​(String registryLocation)
        Registry location of the company.
        Parameters:
        registryLocation -
      • getTaxId

        public String getTaxId()
        Tax ID of the company.
        Returns:
        taxId
      • setTaxId

        public void setTaxId​(String taxId)
        Tax ID of the company.
        Parameters:
        taxId -
      • getType

        public String getType()
        The company type.
        Returns:
        type
      • setType

        public void setType​(String type)
        The company type.
        Parameters:
        type -
      • equals

        public boolean equals​(Object o)
        Return true if this Company object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

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

        public static Company fromJson​(String jsonString)
                                throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of Company given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of Company
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to Company
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of Company to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException