
com.mindoo.domino.jna.internal.structs.NotesGlobalInstanceId32Struct Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of domino-jna Show documentation
Show all versions of domino-jna Show documentation
Java project to access the HCL Domino C API using Java Native Access (JNA)
package com.mindoo.domino.jna.internal.structs;
import java.security.AccessController;
import java.security.PrivilegedAction;
import java.util.Arrays;
import java.util.List;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
/**
* This file was autogenerated by JNAerator,
* a tool written by Olivier Chafik that uses a few opensource projects..
* For help, please visit NativeLibs4Java , Rococoa, or JNA.
*/
public class NotesGlobalInstanceId32Struct extends BaseStructure {
/**
* database Creation time/date
* C type : DBID
*/
public NotesTimeDateStruct File;
/**
* note Modification time/date
* C type : TIMEDATE
*/
public NotesTimeDateStruct Note;
/**
* note ID within database
* C type : NOTEID
*/
public int NoteID;
/**
* @deprecated only public to be used by JNA; use static newInstance method instead to run in AccessController.doPrivileged block
*/
public NotesGlobalInstanceId32Struct() {
super();
}
public static NotesGlobalInstanceId32Struct newInstance() {
return AccessController.doPrivileged(new PrivilegedAction() {
@Override
public NotesGlobalInstanceId32Struct run() {
return new NotesGlobalInstanceId32Struct();
}
});
}
@Override
protected List getFieldOrder() {
return Arrays.asList("File", "Note", "NoteID");
}
/**
* @param File database Creation time/date
* C type : DBID
* @param Note note Modification time/date
* C type : TIMEDATE
* @param NoteID note ID within database
* C type : NOTEID
* @deprecated only public to be used by JNA; use static newInstance method instead to run in AccessController.doPrivileged block
*/
public NotesGlobalInstanceId32Struct(NotesTimeDateStruct File, NotesTimeDateStruct Note, int NoteID) {
super();
this.File = File;
this.Note = Note;
this.NoteID = NoteID;
}
public static NotesGlobalInstanceId32Struct newInstance(final NotesTimeDateStruct file, final NotesTimeDateStruct note, final int noteID) {
return AccessController.doPrivileged(new PrivilegedAction() {
@Override
public NotesGlobalInstanceId32Struct run() {
return new NotesGlobalInstanceId32Struct(file, note, noteID);
}
});
}
/**
* @deprecated only public to be used by JNA; use static newInstance method instead to run in AccessController.doPrivileged block
*
* @param peer pointer
*/
public NotesGlobalInstanceId32Struct(Pointer peer) {
super(peer);
}
public static NotesGlobalInstanceId32Struct newInstance(final Pointer peer) {
return AccessController.doPrivileged(new PrivilegedAction() {
@Override
public NotesGlobalInstanceId32Struct run() {
return new NotesGlobalInstanceId32Struct(peer);
}
});
}
public static class ByReference extends NotesGlobalInstanceId32Struct implements Structure.ByReference {
};
public static class ByValue extends NotesGlobalInstanceId32Struct implements Structure.ByValue {
};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy