
com.mindoo.domino.jna.internal.structs.html.HtmlApi_UrlTargetComponentStruct 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.html;
import java.security.AccessController;
import java.security.PrivilegedAction;
import java.util.Arrays;
import java.util.List;
import com.mindoo.domino.jna.internal.structs.BaseStructure;
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 HtmlApi_UrlTargetComponentStruct extends BaseStructure {
/**
* the kind of note object the component refers to
* C type : UAT
*/
public int AddressableType;
/**
* the value type of the component -- determines
* the branch of the following union to use
* C type : URT
*/
public int ReferenceType;
/** C type : Value_union */
public ValueUnion Value;
public HtmlApi_UrlTargetComponentStruct() {
super();
}
public static HtmlApi_UrlTargetComponentStruct newInstance() {
return AccessController.doPrivileged(new PrivilegedAction() {
@Override
public HtmlApi_UrlTargetComponentStruct run() {
return new HtmlApi_UrlTargetComponentStruct();
}
});
}
protected List getFieldOrder() {
return Arrays.asList("AddressableType", "ReferenceType", "Value");
}
/**
* @param AddressableType the kind of note object the component refers to, C type : UAT
* @param ReferenceType the value type of the component -- determines the branch of the following union to use, C type : URT
* @param Value C type : Value_union
*/
public HtmlApi_UrlTargetComponentStruct(int AddressableType, int ReferenceType, ValueUnion Value) {
super();
this.AddressableType = AddressableType;
this.ReferenceType = ReferenceType;
this.Value = Value;
}
public static HtmlApi_UrlTargetComponentStruct newInstance(final int AddressableType, final int ReferenceType, final ValueUnion Value) {
return AccessController.doPrivileged(new PrivilegedAction() {
@Override
public HtmlApi_UrlTargetComponentStruct run() {
return new HtmlApi_UrlTargetComponentStruct(AddressableType, ReferenceType, Value);
}
});
}
public HtmlApi_UrlTargetComponentStruct(Pointer peer) {
super(peer);
}
public static HtmlApi_UrlTargetComponentStruct newInstance(final Pointer peer) {
return AccessController.doPrivileged(new PrivilegedAction() {
@Override
public HtmlApi_UrlTargetComponentStruct run() {
return new HtmlApi_UrlTargetComponentStruct(peer);
}
});
}
public static class ByReference extends HtmlApi_UrlTargetComponentStruct implements Structure.ByReference {
};
public static class ByValue extends HtmlApi_UrlTargetComponentStruct implements Structure.ByValue {
};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy