
com.mindoo.domino.jna.internal.structs.NotesSchedDetailEntryStruct 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 NotesSchedDetailEntryStruct extends BaseStructure {
/**
* Length of THIS prefix entry, in case it
* ever grows, so that new items can be
* easily skipped
*/
public short wPrefixLen;
/**
* Length of THIS entire entry and ALL of
* its related data.
*/
public short wEntryLen;
/**
* UNID of the entry this is details of
* C type : UNID
*/
public NotesUniversalNoteIdStruct Unid;
/** Offset from entry start to actual data */
public short wOffsetDetails;
/** SCHED_DETAIL_ENTRY_ATTR_xxx attributes (TBD) */
public byte Attr;
/** Reserved space/padding for ODS */
public byte bReserved;
public NotesSchedDetailEntryStruct() {
super();
}
public static NotesSchedDetailEntryStruct newInstance() {
return AccessController.doPrivileged(new PrivilegedAction() {
@Override
public NotesSchedDetailEntryStruct run() {
return new NotesSchedDetailEntryStruct();
}
});
}
protected List getFieldOrder() {
return Arrays.asList("wPrefixLen", "wEntryLen", "Unid", "wOffsetDetails", "Attr", "bReserved");
}
/**
* @param wPrefixLen Length of THIS prefix entry, in case it
* ever grows, so that new items can be
* easily skipped
* @param wEntryLen Length of THIS entire entry and ALL of
* its related data.
* @param Unid UNID of the entry this is details of
* C type : UNID
* @param wOffsetDetails Offset from entry start to actual data
* @param Attr SCHED_DETAIL_ENTRY_ATTR_xxx attributes (TBD)
* @param bReserved Reserved space/padding for ODS
*/
public NotesSchedDetailEntryStruct(short wPrefixLen, short wEntryLen, NotesUniversalNoteIdStruct Unid, short wOffsetDetails, byte Attr, byte bReserved) {
super();
this.wPrefixLen = wPrefixLen;
this.wEntryLen = wEntryLen;
this.Unid = Unid;
this.wOffsetDetails = wOffsetDetails;
this.Attr = Attr;
this.bReserved = bReserved;
}
public static NotesSchedDetailEntryStruct newInstance(final short wPrefixLen, final short wEntryLen,
final NotesUniversalNoteIdStruct Unid, final short wOffsetDetails,
final byte Attr, final byte bReserved) {
return AccessController.doPrivileged(new PrivilegedAction() {
@Override
public NotesSchedDetailEntryStruct run() {
return new NotesSchedDetailEntryStruct(wPrefixLen, wEntryLen, Unid,
wOffsetDetails, Attr, bReserved);
}
});
}
public NotesSchedDetailEntryStruct(Pointer peer) {
super(peer);
}
public static NotesSchedDetailEntryStruct newInstance(final Pointer peer) {
return AccessController.doPrivileged(new PrivilegedAction() {
@Override
public NotesSchedDetailEntryStruct run() {
return new NotesSchedDetailEntryStruct(peer);
}
});
}
public static class ByReference extends NotesSchedDetailEntryStruct implements Structure.ByReference {
};
public static class ByValue extends NotesSchedDetailEntryStruct implements Structure.ByValue {
};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy