com.hcl.domino.jna.internal.structs.HtmlApi_UrlTargetComponentStruct Maven / Gradle / Ivy
/*
* ==========================================================================
* Copyright (C) 2019-2022 HCL America, Inc. ( http://www.hcl.com/ )
* All rights reserved.
* ==========================================================================
* Licensed under the Apache License, Version 2.0 (the "License"). You may
* not use this file except in compliance with the License. You may obtain a
* copy of the License at .
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations
* under the License.
* ==========================================================================
*/
package com.hcl.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 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((PrivilegedAction) () -> new HtmlApi_UrlTargetComponentStruct());
}
@Override
protected List getFieldOrder() {
return Arrays.asList("AddressableType", "ReferenceType", "Value"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
}
/**
* @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((PrivilegedAction) () -> new HtmlApi_UrlTargetComponentStruct(AddressableType, ReferenceType, Value));
}
public HtmlApi_UrlTargetComponentStruct(Pointer peer) {
super(peer);
}
public static HtmlApi_UrlTargetComponentStruct newInstance(final Pointer peer) {
return AccessController.doPrivileged((PrivilegedAction) () -> 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