~ubuntu-branches/ubuntu/hardy/lasso/hardy

« back to all changes in this revision

Viewing changes to java/NameIdentifierMapping.java

  • Committer: Bazaar Package Importer
  • Author(s): Michael Bienia
  • Date: 2007-07-31 21:35:26 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070731213526-oc6jw5mprcd5tjyy
Tags: 2.0.0-1ubuntu1
* Merge from debian unstable. Remaining changes:
  + debian/control:
    - Modify Maintainer value to match DebianMaintainerField spec.
* debian/rules:
  + Add CC=gcc-4.2 to the configure call else configure won't find jni.h
    from libgcj8-dev.
* configure{,.ac}:
  + Add missing quotes around the value for PHP[45]_LIBS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* ----------------------------------------------------------------------------
2
2
 * This file was automatically generated by SWIG (http://www.swig.org).
3
 
 * Version 1.3.28
 
3
 * Version 1.3.31
4
4
 *
5
5
 * Do not make changes to this file unless you know what you are doing--modify
6
6
 * the SWIG interface file instead.
25
25
    delete();
26
26
  }
27
27
 
28
 
  public void delete() {
 
28
  public synchronized void delete() {
29
29
    if(swigCPtr != 0 && swigCMemOwn) {
30
30
      swigCMemOwn = false;
31
31
      lassoJNI.delete_NameIdentifierMapping(swigCPtr);
34
34
  }
35
35
 
36
36
  public String getTargetNameIdentifier() {
37
 
    return lassoJNI.NameIdentifierMapping_targetNameIdentifier_get(swigCPtr);
 
37
    return lassoJNI.NameIdentifierMapping_targetNameIdentifier_get(swigCPtr, this);
38
38
  }
39
39
 
40
40
  public String getArtifact() {
41
 
    return lassoJNI.NameIdentifierMapping_artifact_get(swigCPtr);
 
41
    return lassoJNI.NameIdentifierMapping_artifact_get(swigCPtr, this);
42
42
  }
43
43
 
44
44
  public void setArtifactMessage(String value) {
45
 
    lassoJNI.NameIdentifierMapping_artifactMessage_set(swigCPtr, value);
 
45
    lassoJNI.NameIdentifierMapping_artifactMessage_set(swigCPtr, this, value);
46
46
  }
47
47
 
48
48
  public String getArtifactMessage() {
49
 
    return lassoJNI.NameIdentifierMapping_artifactMessage_get(swigCPtr);
 
49
    return lassoJNI.NameIdentifierMapping_artifactMessage_get(swigCPtr, this);
50
50
  }
51
51
 
52
52
  public void setIdentity(Identity value) {
53
 
    lassoJNI.NameIdentifierMapping_identity_set(swigCPtr, Identity.getCPtr(value));
 
53
    lassoJNI.NameIdentifierMapping_identity_set(swigCPtr, this, Identity.getCPtr(value), value);
54
54
  }
55
55
 
56
56
  public Identity getIdentity() {
57
 
    long cPtr = lassoJNI.NameIdentifierMapping_identity_get(swigCPtr);
 
57
    long cPtr = lassoJNI.NameIdentifierMapping_identity_get(swigCPtr, this);
58
58
    return (cPtr == 0) ? null : new Identity(cPtr, false);
59
59
  }
60
60
 
61
61
  public boolean getIsIdentityDirty() {
62
 
    return lassoJNI.NameIdentifierMapping_isIdentityDirty_get(swigCPtr);
 
62
    return lassoJNI.NameIdentifierMapping_isIdentityDirty_get(swigCPtr, this);
63
63
  }
64
64
 
65
65
  public boolean getIsSessionDirty() {
66
 
    return lassoJNI.NameIdentifierMapping_isSessionDirty_get(swigCPtr);
 
66
    return lassoJNI.NameIdentifierMapping_isSessionDirty_get(swigCPtr, this);
67
67
  }
68
68
 
69
69
  public String getMsgBody() {
70
 
    return lassoJNI.NameIdentifierMapping_msgBody_get(swigCPtr);
 
70
    return lassoJNI.NameIdentifierMapping_msgBody_get(swigCPtr, this);
71
71
  }
72
72
 
73
73
  public String getMsgUrl() {
74
 
    return lassoJNI.NameIdentifierMapping_msgUrl_get(swigCPtr);
 
74
    return lassoJNI.NameIdentifierMapping_msgUrl_get(swigCPtr, this);
75
75
  }
76
76
 
77
77
  public void setNameIdentifier(Node value) {
78
 
    lassoJNI.NameIdentifierMapping_nameIdentifier_set(swigCPtr, Node.getCPtr(value));
 
78
    lassoJNI.NameIdentifierMapping_nameIdentifier_set(swigCPtr, this, Node.getCPtr(value), value);
79
79
  }
80
80
 
81
81
  public Node getNameIdentifier() {
82
 
        long cPtr = lassoJNI.NameIdentifierMapping_nameIdentifier_get(swigCPtr);
83
 
        return (cPtr == 0) ? null : (Node) lassoJNI.downcast_node(cPtr);
 
82
        long cPtr = lassoJNI.NameIdentifierMapping_nameIdentifier_get(swigCPtr, this);
 
83
        return (cPtr == 0) ? null : (Node) lassoJNI.downcast_node(cPtr, null);
84
84
}
85
85
 
86
86
  public void setRemoteProviderId(String value) {
87
 
    lassoJNI.NameIdentifierMapping_remoteProviderId_set(swigCPtr, value);
 
87
    lassoJNI.NameIdentifierMapping_remoteProviderId_set(swigCPtr, this, value);
88
88
  }
89
89
 
90
90
  public String getRemoteProviderId() {
91
 
    return lassoJNI.NameIdentifierMapping_remoteProviderId_get(swigCPtr);
 
91
    return lassoJNI.NameIdentifierMapping_remoteProviderId_get(swigCPtr, this);
92
92
  }
93
93
 
94
94
  public void setRequest(Node value) {
95
 
    lassoJNI.NameIdentifierMapping_request_set(swigCPtr, Node.getCPtr(value));
 
95
    lassoJNI.NameIdentifierMapping_request_set(swigCPtr, this, Node.getCPtr(value), value);
96
96
  }
97
97
 
98
98
  public Node getRequest() {
99
 
        long cPtr = lassoJNI.NameIdentifierMapping_request_get(swigCPtr);
100
 
        return (cPtr == 0) ? null : (Node) lassoJNI.downcast_node(cPtr);
 
99
        long cPtr = lassoJNI.NameIdentifierMapping_request_get(swigCPtr, this);
 
100
        return (cPtr == 0) ? null : (Node) lassoJNI.downcast_node(cPtr, null);
101
101
}
102
102
 
103
103
  public void setResponse(Node value) {
104
 
    lassoJNI.NameIdentifierMapping_response_set(swigCPtr, Node.getCPtr(value));
 
104
    lassoJNI.NameIdentifierMapping_response_set(swigCPtr, this, Node.getCPtr(value), value);
105
105
  }
106
106
 
107
107
  public Node getResponse() {
108
 
        long cPtr = lassoJNI.NameIdentifierMapping_response_get(swigCPtr);
109
 
        return (cPtr == 0) ? null : (Node) lassoJNI.downcast_node(cPtr);
 
108
        long cPtr = lassoJNI.NameIdentifierMapping_response_get(swigCPtr, this);
 
109
        return (cPtr == 0) ? null : (Node) lassoJNI.downcast_node(cPtr, null);
110
110
}
111
111
 
112
112
  public void setServer(Server value) {
113
 
    lassoJNI.NameIdentifierMapping_server_set(swigCPtr, Server.getCPtr(value));
 
113
    lassoJNI.NameIdentifierMapping_server_set(swigCPtr, this, Server.getCPtr(value), value);
114
114
  }
115
115
 
116
116
  public Server getServer() {
117
 
    long cPtr = lassoJNI.NameIdentifierMapping_server_get(swigCPtr);
 
117
    long cPtr = lassoJNI.NameIdentifierMapping_server_get(swigCPtr, this);
118
118
    return (cPtr == 0) ? null : new Server(cPtr, false);
119
119
  }
120
120
 
121
121
  public void setSession(Session value) {
122
 
    lassoJNI.NameIdentifierMapping_session_set(swigCPtr, Session.getCPtr(value));
 
122
    lassoJNI.NameIdentifierMapping_session_set(swigCPtr, this, Session.getCPtr(value), value);
123
123
  }
124
124
 
125
125
  public Session getSession() {
126
 
    long cPtr = lassoJNI.NameIdentifierMapping_session_get(swigCPtr);
 
126
    long cPtr = lassoJNI.NameIdentifierMapping_session_get(swigCPtr, this);
127
127
    return (cPtr == 0) ? null : new Session(cPtr, false);
128
128
  }
129
129
 
130
130
  public NameIdentifierMapping(Server server) {
131
 
    this(lassoJNI.new_NameIdentifierMapping(Server.getCPtr(server)), true);
 
131
    this(lassoJNI.new_NameIdentifierMapping(Server.getCPtr(server), server), true);
132
132
  }
133
133
 
134
134
  public int setIdentityFromDump(String dump) {
135
 
    return lassoJNI.NameIdentifierMapping_setIdentityFromDump(swigCPtr, dump);
 
135
    return lassoJNI.NameIdentifierMapping_setIdentityFromDump(swigCPtr, this, dump);
136
136
  }
137
137
 
138
138
  public int setSessionFromDump(String dump) {
139
 
    return lassoJNI.NameIdentifierMapping_setSessionFromDump(swigCPtr, dump);
 
139
    return lassoJNI.NameIdentifierMapping_setSessionFromDump(swigCPtr, this, dump);
140
140
  }
141
141
 
142
142
  public int buildRequestMsg() {
143
 
    return lassoJNI.NameIdentifierMapping_buildRequestMsg(swigCPtr);
 
143
    return lassoJNI.NameIdentifierMapping_buildRequestMsg(swigCPtr, this);
144
144
  }
145
145
 
146
146
  public int buildResponseMsg() {
147
 
    return lassoJNI.NameIdentifierMapping_buildResponseMsg(swigCPtr);
 
147
    return lassoJNI.NameIdentifierMapping_buildResponseMsg(swigCPtr, this);
148
148
  }
149
149
 
150
150
  public int initRequest(String targetNamespace, String remoteProviderId) {
151
 
    return lassoJNI.NameIdentifierMapping_initRequest(swigCPtr, targetNamespace, remoteProviderId);
 
151
    return lassoJNI.NameIdentifierMapping_initRequest(swigCPtr, this, targetNamespace, remoteProviderId);
152
152
  }
153
153
 
154
154
  public int processRequestMsg(String requestMsg) {
155
 
    return lassoJNI.NameIdentifierMapping_processRequestMsg(swigCPtr, requestMsg);
 
155
    return lassoJNI.NameIdentifierMapping_processRequestMsg(swigCPtr, this, requestMsg);
156
156
  }
157
157
 
158
158
  public int processResponseMsg(String responseMsg) {
159
 
    return lassoJNI.NameIdentifierMapping_processResponseMsg(swigCPtr, responseMsg);
 
159
    return lassoJNI.NameIdentifierMapping_processResponseMsg(swigCPtr, this, responseMsg);
160
160
  }
161
161
 
162
162
  public int validateRequest() {
163
 
    return lassoJNI.NameIdentifierMapping_validateRequest(swigCPtr);
 
163
    return lassoJNI.NameIdentifierMapping_validateRequest(swigCPtr, this);
164
164
  }
165
165
 
166
166
}