
com.mindoo.domino.jna.internal.structs.NotesSchedDetailListStruct 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 com.sun.jna.Pointer;
import com.sun.jna.Structure;
import java.security.AccessController;
import java.security.PrivilegedAction;
import java.util.Arrays;
import java.util.List;
/**
* 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 NotesSchedDetailListStruct extends BaseStructure {
/**
* Length of THIS header, in case it
* ever grows, so that new items can be
* easily skipped
*/
public short wHeaderLen;
/**
* Length of THIS entire list and ALL of
* its related data.
*/
public short wEntryLen;
/** Number of entries that follow */
public short wNumEntries;
/** Offset from list start to TEXT_LIST */
public short wOffsetItems;
/** Offset from list start to SCHED_DETAIL_ENTRY */
public short wOffsetDetails;
/** SCHED_DETAIL_LIST_ATTR_xxx attributes */
public byte Attr;
/** Reserved space/padding for ODS */
public byte bReserved;
public NotesSchedDetailListStruct() {
super();
}
public static NotesSchedDetailListStruct newInstance() {
return AccessController.doPrivileged(new PrivilegedAction() {
@Override
public NotesSchedDetailListStruct run() {
return new NotesSchedDetailListStruct();
}
});
}
protected List getFieldOrder() {
return Arrays.asList("wHeaderLen", "wEntryLen", "wNumEntries", "wOffsetItems", "wOffsetDetails", "Attr", "bReserved");
}
/**
* @param wHeaderLen Length of THIS header, in case it
* ever grows, so that new items can be
* easily skipped
* @param wEntryLen Length of THIS entire list and ALL of
* its related data.
* @param wNumEntries Number of entries that follow
* @param wOffsetItems Offset from list start to TEXT_LIST
* @param wOffsetDetails Offset from list start to SCHED_DETAIL_ENTRY
* @param Attr SCHED_DETAIL_LIST_ATTR_xxx attributes
* @param bReserved Reserved space/padding for ODS
*/
public NotesSchedDetailListStruct(short wHeaderLen, short wEntryLen, short wNumEntries, short wOffsetItems,
short wOffsetDetails, byte Attr, byte bReserved) {
super();
this.wHeaderLen = wHeaderLen;
this.wEntryLen = wEntryLen;
this.wNumEntries = wNumEntries;
this.wOffsetItems = wOffsetItems;
this.wOffsetDetails = wOffsetDetails;
this.Attr = Attr;
this.bReserved = bReserved;
}
public static NotesSchedDetailListStruct newInstance(final short wHeaderLen, final short wEntryLen,
final short wNumEntries, final short wOffsetItems,
final short wOffsetDetails, final byte Attr, final byte bReserved) {
return AccessController.doPrivileged(new PrivilegedAction() {
@Override
public NotesSchedDetailListStruct run() {
return new NotesSchedDetailListStruct(wHeaderLen, wEntryLen,
wNumEntries, wOffsetItems,
wOffsetDetails, Attr, bReserved);
}
});
}
public NotesSchedDetailListStruct(Pointer peer) {
super(peer);
}
public static NotesSchedDetailListStruct newInstance(final Pointer peer) {
return AccessController.doPrivileged(new PrivilegedAction() {
@Override
public NotesSchedDetailListStruct run() {
return new NotesSchedDetailListStruct(peer);
}
});
}
public static class ByReference extends NotesSchedDetailListStruct implements Structure.ByReference {
};
public static class ByValue extends NotesSchedDetailListStruct implements Structure.ByValue {
};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy