
com.mindoo.domino.jna.internal.structs.NotesSearchMatch32Struct 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.mindoo.domino.jna.internal.structs.BaseStructure;
import com.mindoo.domino.jna.internal.structs.NotesGlobalInstanceId32Struct;
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 NotesSearchMatch32Struct extends BaseStructure {
/**
* identity of the note within the file
* C type : GLOBALINSTANCEID
*/
public NotesGlobalInstanceId32Struct ID;
/**
* identity of the note in the
* universe
* C type : ORIGINATORID
*/
public NotesOriginatorIdStruct OriginatorID;
/** class of the note */
public short NoteClass;
/** match indicator */
public byte SERetFlags;
/** note privileges */
public byte Privileges;
/** summary information length */
public short SummaryLength;
/**
* @deprecated only public to be used by JNA; use static newInstance method instead to run in AccessController.doPrivileged block
*/
public NotesSearchMatch32Struct() {
super();
}
public static NotesSearchMatch32Struct newInstance() {
return AccessController.doPrivileged(new PrivilegedAction() {
@Override
public NotesSearchMatch32Struct run() {
return new NotesSearchMatch32Struct();
}
});
}
@Override
protected List getFieldOrder() {
return Arrays.asList("ID", "OriginatorID", "NoteClass", "SERetFlags", "Privileges", "SummaryLength");
}
/**
* @param ID identity of the note within the file
* C type : GLOBALINSTANCEID
* @param OriginatorID identity of the note in the
* universe
* C type : ORIGINATORID
* @param NoteClass class of the note
* @param SERetFlags match indicator
* @param Privileges note privileges
* @param SummaryLength summary information length
* @deprecated only public to be used by JNA; use static newInstance method instead to run in AccessController.doPrivileged block
*/
public NotesSearchMatch32Struct(NotesGlobalInstanceId32Struct ID, NotesOriginatorIdStruct OriginatorID, short NoteClass, byte SERetFlags, byte Privileges, short SummaryLength) {
super();
this.ID = ID;
this.OriginatorID = OriginatorID;
this.NoteClass = NoteClass;
this.SERetFlags = SERetFlags;
this.Privileges = Privileges;
this.SummaryLength = SummaryLength;
}
public static NotesSearchMatch32Struct newInstance(final NotesGlobalInstanceId32Struct ID, final NotesOriginatorIdStruct OriginatorID, final short NoteClass, final byte SERetFlags, final byte Privileges, final short SummaryLength) {
return AccessController.doPrivileged(new PrivilegedAction() {
@Override
public NotesSearchMatch32Struct run() {
return new NotesSearchMatch32Struct(ID, OriginatorID, NoteClass, SERetFlags, Privileges, SummaryLength);
}
});
}
/**
* @deprecated only public to be used by JNA; use static newInstance method instead to run in AccessController.doPrivileged block
*
* @param peer pointer
*/
public NotesSearchMatch32Struct(Pointer peer) {
super(peer);
}
public static NotesSearchMatch32Struct newInstance(final Pointer p) {
return AccessController.doPrivileged(new PrivilegedAction() {
@Override
public NotesSearchMatch32Struct run() {
return new NotesSearchMatch32Struct(p);
}
});
}
public static class ByReference extends NotesSearchMatch32Struct implements Structure.ByReference {
};
public static class ByValue extends NotesSearchMatch32Struct implements Structure.ByValue {
};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy