IPKIFColleague.java
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009 package com.orionsec.jpkif;
00010
00011 public class IPKIFColleague {
00012 private long swigCPtr;
00013 protected boolean swigCMemOwn;
00014
00015 public IPKIFColleague(long cPtr, boolean cMemoryOwn) {
00016 swigCMemOwn = cMemoryOwn;
00017 swigCPtr = cPtr;
00018 }
00019
00020 public static long getCPtr(IPKIFColleague obj) {
00021 return (obj == null) ? 0 : obj.swigCPtr;
00022 }
00023
00024 protected void finalize() {
00025 delete();
00026 }
00027
00028 public synchronized void delete() {
00029 if (swigCPtr != 0) {
00030 if (swigCMemOwn) {
00031 swigCMemOwn = false;
00032 pkif_moduleJNI.delete_IPKIFColleague(swigCPtr);
00033 }
00034 swigCPtr = 0;
00035 }
00036 }
00037
00038 public void Initialize() {
00039 pkif_moduleJNI.IPKIFColleague_Initialize(swigCPtr, this);
00040 }
00041
00042 public IPKIFColleague() {
00043 this(pkif_moduleJNI.new_IPKIFColleague(), true);
00044 }
00045
00046 public void AddParent(IPKIFColleague parent) {
00047 pkif_moduleJNI.IPKIFColleague_AddParent(swigCPtr, this, IPKIFColleague.getCPtr(parent), parent);
00048 }
00049
00050 public void RemoveParent(IPKIFColleague parent) {
00051 pkif_moduleJNI.IPKIFColleague_RemoveParent(swigCPtr, this, IPKIFColleague.getCPtr(parent), parent);
00052 }
00053
00054 public boolean IsParent(IPKIFColleague arg0) {
00055 return pkif_moduleJNI.IPKIFColleague_IsParent(swigCPtr, this, IPKIFColleague.getCPtr(arg0), arg0);
00056 }
00057
00058 public void InitializeMediator(SWIGTYPE_p_std__vectorT_CPKIFException_p_t errorInfo) {
00059 pkif_moduleJNI.IPKIFColleague_InitializeMediator__SWIG_0(swigCPtr, this, SWIGTYPE_p_std__vectorT_CPKIFException_p_t.getCPtr(errorInfo));
00060 }
00061
00062 public void InitializeMediator() {
00063 pkif_moduleJNI.IPKIFColleague_InitializeMediator__SWIG_1(swigCPtr, this);
00064 }
00065
00066 public void Terminate() {
00067 pkif_moduleJNI.IPKIFColleague_Terminate(swigCPtr, this);
00068 }
00069
00070 public void AddMediator(IPKIFColleaguePtr m) {
00071 pkif_moduleJNI.IPKIFColleague_AddMediator(swigCPtr, this, IPKIFColleaguePtr.getCPtr(m), m);
00072 }
00073
00074 public void RemoveMediator(IPKIFColleague arg0) {
00075 pkif_moduleJNI.IPKIFColleague_RemoveMediator(swigCPtr, this, IPKIFColleague.getCPtr(arg0), arg0);
00076 }
00077
00078 public void RemoveMediatorAssociations() {
00079 pkif_moduleJNI.IPKIFColleague_RemoveMediatorAssociations(swigCPtr, this);
00080 }
00081
00082 public void GetMediators(IPKIFColleagueList v) {
00083 pkif_moduleJNI.IPKIFColleague_GetMediators(swigCPtr, this, IPKIFColleagueList.getCPtr(v), v);
00084 }
00085
00086 }