package com.metaio.sdk.jni;

public class DatasourceChannelSearchResult
{
  protected boolean swigCMemOwn;
  private long swigCPtr;

  public DatasourceChannelSearchResult()
  {
    this(MetaioSDKJNI.new_DatasourceChannelSearchResult(), true);
  }

  public DatasourceChannelSearchResult(long paramLong, boolean paramBoolean)
  {
    this.swigCMemOwn = paramBoolean;
    this.swigCPtr = paramLong;
  }

  public static long getCPtr(DatasourceChannelSearchResult paramDatasourceChannelSearchResult)
  {
    if (paramDatasourceChannelSearchResult == null)
      return 0L;
    return paramDatasourceChannelSearchResult.swigCPtr;
  }

  public void delete()
  {
    try
    {
      if (this.swigCPtr != 0L)
      {
        if (this.swigCMemOwn)
        {
          this.swigCMemOwn = false;
          MetaioSDKJNI.delete_DatasourceChannelSearchResult(this.swigCPtr);
        }
        this.swigCPtr = 0L;
      }
      return;
    }
    finally
    {
    }
  }

  protected void finalize()
  {
    delete();
  }

  public MetaioWorldChannelVector getChannels()
  {
    long l = MetaioSDKJNI.DatasourceChannelSearchResult_channels_get(this.swigCPtr, this);
    if (l == 0L)
      return null;
    return new MetaioWorldChannelVector(l, false);
  }

  public int getPage()
  {
    return MetaioSDKJNI.DatasourceChannelSearchResult_page_get(this.swigCPtr, this);
  }

  public E_DatasourceChannelSearchType getSearchType()
  {
    return E_DatasourceChannelSearchType.swigToEnum(MetaioSDKJNI.DatasourceChannelSearchResult_searchType_get(this.swigCPtr, this));
  }

  public int getStatus()
  {
    return MetaioSDKJNI.DatasourceChannelSearchResult_status_get(this.swigCPtr, this);
  }

  public long getTotalResults()
  {
    return MetaioSDKJNI.DatasourceChannelSearchResult_totalResults_get(this.swigCPtr, this);
  }

  public void setChannels(MetaioWorldChannelVector paramMetaioWorldChannelVector)
  {
    MetaioSDKJNI.DatasourceChannelSearchResult_channels_set(this.swigCPtr, this, MetaioWorldChannelVector.getCPtr(paramMetaioWorldChannelVector), paramMetaioWorldChannelVector);
  }

  public void setPage(int paramInt)
  {
    MetaioSDKJNI.DatasourceChannelSearchResult_page_set(this.swigCPtr, this, paramInt);
  }

  public void setSearchType(E_DatasourceChannelSearchType paramE_DatasourceChannelSearchType)
  {
    MetaioSDKJNI.DatasourceChannelSearchResult_searchType_set(this.swigCPtr, this, paramE_DatasourceChannelSearchType.swigValue());
  }

  public void setStatus(int paramInt)
  {
    MetaioSDKJNI.DatasourceChannelSearchResult_status_set(this.swigCPtr, this, paramInt);
  }

  public void setTotalResults(long paramLong)
  {
    MetaioSDKJNI.DatasourceChannelSearchResult_totalResults_set(this.swigCPtr, this, paramLong);
  }
}

/* Location:           C:\Documents and Settings\Cesar Cabello Cea\Mis documentos\Downloads\apk-downloader\com.ikea.kompis-6_dex2jar.jar
 * Qualified Name:     com.metaio.sdk.jni.DatasourceChannelSearchResult
 * JD-Core Version:    0.6.2
 */