All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.backendless.marketplace.model.BlConfigurationItem Maven / Gradle / Ivy

The newest version!
package com.backendless.marketplace.model;

import com.backendless.util.persistence.AbstractBackendlessDataObject;
import com.backendless.util.persistence.IEntity;

public class BlConfigurationItem extends AbstractBackendlessDataObject implements IEntity
{
  private String name;
  private String value;
  private String productId;

  public String getName()
  {
    return name;
  }

  public void setName( String name )
  {
    this.name = name;
  }

  public String getValue()
  {
    return value;
  }

  public void setValue( String value )
  {
    this.value = value;
  }

  public String getProductId()
  {
    return productId;
  }

  public void setProductId( String productId )
  {
    this.productId = productId;
  }

  @Override
  public boolean equals( Object o )
  {
    if( this == o )
      return true;
    if( o == null || getClass() != o.getClass() )
      return false;
    if( !super.equals( o ) )
      return false;

    BlConfigurationItem that = (BlConfigurationItem) o;

    if( name != null ? !name.equals( that.name ) : that.name != null )
      return false;
    if( !super.equals( that ) )
      return false;
    if( value != null ? !value.equals( that.value ) : that.value != null )
      return false;
    return !(productId != null ? !productId.equals( that.productId ) : that.productId != null);
  }

  @Override
  public int hashCode()
  {
    int result = super.hashCode();
    result = 31 * result + (name != null ? name.hashCode() : 0);
    result = 31 * result + (value != null ? value.hashCode() : 0);
    result = 31 * result + (productId != null ? productId.hashCode() : 0);
    return result;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy