/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 1.3.28
 *
 * Do not make changes to this file unless you know what you are doing--modify
 * the SWIG interface file instead.
 * ----------------------------------------------------------------------------- */

package com.entrouvert.lasso;

public class Saml2ProxyRestriction extends Saml2ConditionAbstract {
  protected Saml2ProxyRestriction(long cPtr, boolean cMemoryOwn) {
    super(cPtr, cMemoryOwn);
  }

  protected static long getCPtr(Saml2ProxyRestriction obj) {
    return (obj == null) ? 0 : obj.swigCPtr;
  }

  protected void finalize() {
    delete();
  }

  public void delete() {
  super.delete();
}

  public void setAudience(String value) {
    lassoJNI.Saml2ProxyRestriction_Audience_set(swigCPtr, value);
  }

  public String getAudience() {
    return lassoJNI.Saml2ProxyRestriction_Audience_get(swigCPtr);
  }

  public void setCount(String value) {
    lassoJNI.Saml2ProxyRestriction_Count_set(swigCPtr, value);
  }

  public String getCount() {
    return lassoJNI.Saml2ProxyRestriction_Count_get(swigCPtr);
  }

  public Saml2ProxyRestriction() {
    this(lassoJNI.new_Saml2ProxyRestriction(), true);
  }

  public String dump() {
    return lassoJNI.Saml2ProxyRestriction_dump(swigCPtr);
  }

}
