1
/* ----------------------------------------------------------------------------
2
* This file was automatically generated by SWIG (http://www.swig.org).
5
* Do not make changes to this file unless you know what you are doing--modify
6
* the SWIG interface file instead.
7
* ----------------------------------------------------------------------------- */
9
package com.entrouvert.lasso;
12
public class Identity {
13
private long swigCPtr;
14
protected boolean swigCMemOwn;
16
protected Identity(long cPtr, boolean cMemoryOwn) {
17
swigCMemOwn = cMemoryOwn;
21
protected void finalize() {
25
public void delete() {
26
if(swigCPtr != 0 && swigCMemOwn) {
28
lassoJNI.delete_Identity(swigCPtr);
33
protected static long getCPtr(Identity obj) {
34
return (obj == null) ? 0 : obj.swigCPtr;
37
public boolean getIsDirty() {
38
return lassoJNI.get_Identity_isDirty(swigCPtr);
42
this(lassoJNI.new_Identity(), true);
45
public static Identity newFromDump(String dump) {
46
long cPtr = lassoJNI.Identity_newFromDump(dump);
47
return (cPtr == 0) ? null : new Identity(cPtr, true);
50
public String dump() {
51
return lassoJNI.Identity_dump(swigCPtr);