~ubuntu-branches/ubuntu/jaunty/lasso/jaunty

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 1.3.31
 *
 * 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 LibRegisterNameIdentifierResponse extends LibStatusResponse {
  protected LibRegisterNameIdentifierResponse(long cPtr, boolean cMemoryOwn) {
    super(cPtr, cMemoryOwn);
  }

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

  protected void finalize() {
    delete();
  }

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

  public void setExtension(StringList value) {
    lassoJNI.LibRegisterNameIdentifierResponse_extension_set(swigCPtr, this, StringList.getCPtr(value), value);
  }

  public StringList getExtension() {
    long cPtr = lassoJNI.LibRegisterNameIdentifierResponse_extension_get(swigCPtr, this);
    return (cPtr == 0) ? null : new StringList(cPtr, false);
  }

  public void setProviderId(String value) {
    lassoJNI.LibRegisterNameIdentifierResponse_providerId_set(swigCPtr, this, value);
  }

  public String getProviderId() {
    return lassoJNI.LibRegisterNameIdentifierResponse_providerId_get(swigCPtr, this);
  }

  public void setRelayState(String value) {
    lassoJNI.LibRegisterNameIdentifierResponse_relayState_set(swigCPtr, this, value);
  }

  public String getRelayState() {
    return lassoJNI.LibRegisterNameIdentifierResponse_relayState_get(swigCPtr, this);
  }

  public void setStatus(SamlpStatus value) {
    lassoJNI.LibRegisterNameIdentifierResponse_status_set(swigCPtr, this, SamlpStatus.getCPtr(value), value);
  }

  public SamlpStatus getStatus() {
    long cPtr = lassoJNI.LibRegisterNameIdentifierResponse_status_get(swigCPtr, this);
    return (cPtr == 0) ? null : new SamlpStatus(cPtr, false);
  }

  public LibRegisterNameIdentifierResponse() {
    this(lassoJNI.new_LibRegisterNameIdentifierResponse(), true);
  }

  public static LibRegisterNameIdentifierResponse newFull(String providerID, String statusCodeValue, LibRegisterNameIdentifierRequest request, int sign_type, int sign_method) {
    long cPtr = lassoJNI.LibRegisterNameIdentifierResponse_newFull(providerID, statusCodeValue, LibRegisterNameIdentifierRequest.getCPtr(request), request, sign_type, sign_method);
    return (cPtr == 0) ? null : new LibRegisterNameIdentifierResponse(cPtr, true);
  }

  public String dump() {
    return lassoJNI.LibRegisterNameIdentifierResponse_dump(swigCPtr, this);
  }

}