com.mindoo.domino.jna.internal.structs.NotesSchedDetailDataStruct 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 NotesSchedDetailDataStruct extends BaseStructure {
/** Notes data type for the data */
public short wType;
/** Length of the data that immediately follows */
public short wDataLen;
/** SCHED_DETAIL_DATA_ATTR_xxx attributes */
public byte Attr;
/** Reserved space/padding for ODS */
public byte bReserved;
public NotesSchedDetailDataStruct() {
super();
}
public static NotesSchedDetailDataStruct newInstance() {
return AccessController.doPrivileged(new PrivilegedAction() {
@Override
public NotesSchedDetailDataStruct run() {
return new NotesSchedDetailDataStruct();
}
});
}
protected List getFieldOrder() {
return Arrays.asList("wType", "wDataLen", "Attr", "bReserved");
}
/**
* @param wType Notes data type for the data
* @param wDataLen Length of the data that immediately follows
* @param Attr SCHED_DETAIL_DATA_ATTR_xxx attributes
* @param bReserved Reserved space/padding for ODS
*/
public NotesSchedDetailDataStruct(short wType, short wDataLen, byte Attr, byte bReserved) {
super();
this.wType = wType;
this.wDataLen = wDataLen;
this.Attr = Attr;
this.bReserved = bReserved;
}
public static NotesSchedDetailDataStruct newInstance(final short wType, final short wDataLen,
final byte Attr, final byte bReserved) {
return AccessController.doPrivileged(new PrivilegedAction() {
@Override
public NotesSchedDetailDataStruct run() {
return new NotesSchedDetailDataStruct(wType, wDataLen, Attr, bReserved);
}
});
}
public NotesSchedDetailDataStruct(Pointer peer) {
super(peer);
}
public static NotesSchedDetailDataStruct newInstance(final Pointer peer) {
return AccessController.doPrivileged(new PrivilegedAction() {
@Override
public NotesSchedDetailDataStruct run() {
return new NotesSchedDetailDataStruct(peer);
}
});
}
public static class ByReference extends NotesSchedDetailDataStruct implements Structure.ByReference {
};
public static class ByValue extends NotesSchedDetailDataStruct implements Structure.ByValue {
};
}