~ubuntu-branches/ubuntu/breezy/lasso/breezy

« back to all changes in this revision

Viewing changes to java/Assertion.java

  • Committer: Bazaar Package Importer
  • Author(s): Stephan Hermann
  • Date: 2005-09-16 02:16:49 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050916021649-lr5tuka6pfmmks44
Tags: 0.6.2-3ubuntu1
* debian/control: removed hardcoded php dependency, added php:Depends
  substvar
* debian/rules: added phpapiver, added substitution of php:Depends

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* ----------------------------------------------------------------------------
2
 
 * This file was automatically generated by SWIG (http://www.swig.org).
3
 
 * Version: 1.3.21
4
 
 *
5
 
 * Do not make changes to this file unless you know what you are doing--modify
6
 
 * the SWIG interface file instead.
7
 
 * ----------------------------------------------------------------------------- */
8
 
 
9
 
package com.entrouvert.lasso;
10
 
 
11
 
 
12
 
public class Assertion {
13
 
  private long swigCPtr;
14
 
  protected boolean swigCMemOwn;
15
 
 
16
 
  protected Assertion(long cPtr, boolean cMemoryOwn) {
17
 
    swigCMemOwn = cMemoryOwn;
18
 
    swigCPtr = cPtr;
19
 
  }
20
 
 
21
 
  protected Assertion() {
22
 
    this(0, false);
23
 
  }
24
 
 
25
 
  protected void finalize() {
26
 
    delete();
27
 
  }
28
 
 
29
 
  public void delete() {
30
 
    if(swigCPtr != 0 && swigCMemOwn) {
31
 
      swigCMemOwn = false;
32
 
      lassoJNI.delete_Assertion(swigCPtr);
33
 
    }
34
 
    swigCPtr = 0;
35
 
  }
36
 
 
37
 
  protected static long getCPtr(Assertion obj) {
38
 
    return (obj == null) ? 0 : obj.swigCPtr;
39
 
  }
40
 
 
41
 
  public Assertion(String issuer, String requestId) {
42
 
    this(lassoJNI.new_Assertion(issuer, requestId), true);
43
 
  }
44
 
 
45
 
  public String dump() {
46
 
    return lassoJNI.Assertion_dump(swigCPtr);
47
 
  }
48
 
 
49
 
}