All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mindoo.domino.jna.internal.structs.NotesItemStruct Maven / Gradle / Ivy

There is a newer version: 0.9.53
Show newest version
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 NotesItemStruct extends BaseStructure { /** * all-items chain for this note
* C type : BLOCKID */ public NotesBlockIdStruct NextItem; /** C type : BLOCKID */ public NotesBlockIdStruct PrevItem; /** flags describing the item */ public short ItemFlags; /** Low order byte of seq. # when stored */ public byte SeqByte; /** Duplicate Item Name unique ID */ public byte DupItemID; /** value's length */ public int ValueLength; /** * the value
* C type : BLOCKID */ public NotesBlockIdStruct Value; /** length of the item name */ public short NameLength; /** non-persistant flags that are NOT transported over the wire */ public short TempFlags; /** Object-related flags (OBJFLAG_) */ public short ObjectFlags; /** Cached hash of the item name */ public int HashValue; /** * Object ID from NSFNoteOpen/NSFItemAppend
* C type : OBJECT_TAG */ public NotesObjectTagStruct Object; /** * Object ID used as a temp in NSFNoteUpdate
* C type : OBJECT_TAG */ public NotesObjectTagStruct UpdateObject; /** * link in name lookup table list
* C type : BLOCKID */ public NotesBlockIdStruct NextHashItem; /** * @deprecated only public to be used by JNA; use static newInstance method instead to run in AccessController.doPrivileged block */ public NotesItemStruct() { super(); // setAlignType(BaseStructure.ALIGN_GNUC); } protected List getFieldOrder() { return Arrays.asList("NextItem", "PrevItem", "ItemFlags", "SeqByte", "DupItemID", "ValueLength", "Value", "NameLength", "TempFlags", "ObjectFlags", "HashValue", "Object", "UpdateObject", "NextHashItem"); } /** * @deprecated only public to be used by JNA; use static newInstance method instead to run in AccessController.doPrivileged block */ public NotesItemStruct(Pointer peer) { super(peer); // setAlignType(BaseStructure.ALIGN_GNUC); } public static class ByReference extends NotesItemStruct implements Structure.ByReference { }; public static class ByValue extends NotesItemStruct implements Structure.ByValue { }; public static NotesItemStruct newInstance(final Pointer peer) { return AccessController.doPrivileged(new PrivilegedAction() { @Override public NotesItemStruct run() { return new NotesItemStruct(peer); }}); }; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy