
com.mindoo.domino.jna.internal.structs.NotesNFMTStruct 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 NotesNFMTStruct extends BaseStructure {
/** Number of decimal digits */
public byte Digits;
/** Display Format */
public byte Format;
/** Display Attributes */
public byte Attributes;
public byte Unused;
public NotesNFMTStruct() {
super();
}
public static NotesNFMTStruct newInstance() {
return AccessController.doPrivileged(new PrivilegedAction() {
@Override
public NotesNFMTStruct run() {
return new NotesNFMTStruct();
}
});
}
protected List getFieldOrder() {
return Arrays.asList("Digits", "Format", "Attributes", "Unused");
}
/**
* @param Digits Number of decimal digits
* @param Format Display Format
* @param Attributes Display Attributes
* @param Unused not used
*/
public NotesNFMTStruct(byte Digits, byte Format, byte Attributes, byte Unused) {
super();
this.Digits = Digits;
this.Format = Format;
this.Attributes = Attributes;
this.Unused = Unused;
}
public static NotesNFMTStruct newInstance(final byte Digits, final byte Format, final byte Attributes, final byte Unused) {
return AccessController.doPrivileged(new PrivilegedAction() {
@Override
public NotesNFMTStruct run() {
return new NotesNFMTStruct(Digits, Format, Attributes, Unused);
}
});
}
public NotesNFMTStruct(Pointer peer) {
super(peer);
}
public static NotesNFMTStruct newInstance(final Pointer peer) {
return AccessController.doPrivileged(new PrivilegedAction() {
@Override
public NotesNFMTStruct run() {
return new NotesNFMTStruct(peer);
}
});
}
public static class ByReference extends NotesNFMTStruct implements Structure.ByReference {
};
public static class ByValue extends NotesNFMTStruct implements Structure.ByValue {
};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy