io.qt.serialbus.QCanMessageDescription Maven / Gradle / Ivy
Show all versions of qtjambi-serialbus Show documentation
package io.qt.serialbus;
import io.qt.*;
/**
* Java wrapper for Qt class QCanMessageDescription
*/
public class QCanMessageDescription extends QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QCanMessageDescription:: QCanMessageDescription()
*/
public QCanMessageDescription(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QCanMessageDescription instance);
/**
* See QCanMessageDescription:: QCanMessageDescription(QCanMessageDescription)
*/
public QCanMessageDescription(io.qt.serialbus.@StrictNonNull QCanMessageDescription other){
super((QPrivateConstructor)null);
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
initialize_native(this, other);
}
private native static void initialize_native(QCanMessageDescription instance, io.qt.serialbus.QCanMessageDescription other);
/**
* See QCanMessageDescription:: addSignalDescription(QCanSignalDescription)
*/
@QtUninvokable
public final void addSignalDescription(io.qt.serialbus.@StrictNonNull QCanSignalDescription description){
java.util.Objects.requireNonNull(description, "Argument 'description': null not expected.");
addSignalDescription_native_cref_QCanSignalDescription(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(description));
}
@QtUninvokable
private native void addSignalDescription_native_cref_QCanSignalDescription(long __this__nativeId, long description);
/**
* See QCanMessageDescription:: clearSignalDescriptions()
*/
@QtUninvokable
public final void clearSignalDescriptions(){
clearSignalDescriptions_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void clearSignalDescriptions_native(long __this__nativeId);
/**
* See QCanMessageDescription:: comment()const
*/
@QtUninvokable
public final java.lang.@NonNull String comment(){
return comment_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String comment_native_constfct(long __this__nativeId);
/**
* See QCanMessageDescription:: isValid()const
*/
@QtUninvokable
public final boolean isValid(){
return isValid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isValid_native_constfct(long __this__nativeId);
/**
* See QCanMessageDescription:: name()const
*/
@QtUninvokable
public final java.lang.@NonNull String name(){
return name_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String name_native_constfct(long __this__nativeId);
/**
* See QCanMessageDescription:: operator=(QCanMessageDescription)
*/
@QtUninvokable
public final void assign(io.qt.serialbus.@StrictNonNull QCanMessageDescription other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
assign_native_cref_QCanMessageDescription(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_QCanMessageDescription(long __this__nativeId, long other);
/**
* See QCanMessageDescription:: setComment(QString)
*/
@QtUninvokable
public final void setComment(java.lang.@NonNull String text){
setComment_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), text);
}
@QtUninvokable
private native void setComment_native_cref_QString(long __this__nativeId, java.lang.String text);
/**
* See QCanMessageDescription:: setName(QString)
*/
@QtUninvokable
public final void setName(java.lang.@NonNull String name){
setName_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), name);
}
@QtUninvokable
private native void setName_native_cref_QString(long __this__nativeId, java.lang.String name);
/**
* See QCanMessageDescription:: setSignalDescriptions(QList<QCanSignalDescription>)
*/
@QtUninvokable
public final void setSignalDescriptions(java.util.@NonNull Collection extends io.qt.serialbus.@NonNull QCanSignalDescription> descriptions){
setSignalDescriptions_native_cref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), descriptions);
}
@QtUninvokable
private native void setSignalDescriptions_native_cref_QList(long __this__nativeId, java.util.Collection extends io.qt.serialbus.QCanSignalDescription> descriptions);
/**
* See QCanMessageDescription:: setSize(quint8)
*/
@QtUninvokable
public final void setSize(byte size){
setSize_native_quint8(QtJambi_LibraryUtilities.internal.nativeId(this), size);
}
@QtUninvokable
private native void setSize_native_quint8(long __this__nativeId, byte size);
/**
* See QCanMessageDescription:: setTransmitter(QString)
*/
@QtUninvokable
public final void setTransmitter(java.lang.@NonNull String transmitter){
setTransmitter_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), transmitter);
}
@QtUninvokable
private native void setTransmitter_native_cref_QString(long __this__nativeId, java.lang.String transmitter);
/**
* See QCanMessageDescription:: setUniqueId(QtCanBus::UniqueId)
*/
@QtUninvokable
public final void setUniqueId(io.qt.serialbus.QtCanBus.@NonNull UniqueId id){
setUniqueId_native_QtCanBus_UniqueId(QtJambi_LibraryUtilities.internal.nativeId(this), id.value());
}
@QtUninvokable
private native void setUniqueId_native_QtCanBus_UniqueId(long __this__nativeId, int id);
/**
* See QCanMessageDescription:: signalDescriptionForName(QString)const
*/
@QtUninvokable
public final io.qt.serialbus.@NonNull QCanSignalDescription signalDescriptionForName(java.lang.@NonNull String name){
return signalDescriptionForName_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), name);
}
@QtUninvokable
private native io.qt.serialbus.QCanSignalDescription signalDescriptionForName_native_cref_QString_constfct(long __this__nativeId, java.lang.String name);
/**
* See QCanMessageDescription:: signalDescriptions()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QList signalDescriptions(){
return signalDescriptions_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList signalDescriptions_native_constfct(long __this__nativeId);
/**
* See QCanMessageDescription:: size()const
*/
@QtUninvokable
public final byte size(){
return size_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native byte size_native_constfct(long __this__nativeId);
/**
* See QCanMessageDescription:: swap(QCanMessageDescription&)
*/
@QtUninvokable
public final void swap(io.qt.serialbus.@StrictNonNull QCanMessageDescription other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
swap_native_ref_QCanMessageDescription(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void swap_native_ref_QCanMessageDescription(long __this__nativeId, long other);
/**
* See QCanMessageDescription:: transmitter()const
*/
@QtUninvokable
public final java.lang.@NonNull String transmitter(){
return transmitter_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String transmitter_native_constfct(long __this__nativeId);
/**
* See QCanMessageDescription:: uniqueId()const
*/
@QtUninvokable
public final io.qt.serialbus.QtCanBus.@NonNull UniqueId uniqueId(){
return io.qt.serialbus.QtCanBus.UniqueId.resolve(uniqueId_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int uniqueId_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QCanMessageDescription(QPrivateConstructor p) { super(p); }
/**
* See operator<<(QDebug, QCanMessageDescription)
*/
@QtUninvokable
@Override
public @NonNull String toString() {
return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private static native String toString_native(long __this_nativeId);
/**
* Creates and returns a copy of this object.
See QCanMessageDescription:: QCanMessageDescription(QCanMessageDescription)
*/
@QtUninvokable
@Override
public QCanMessageDescription clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QCanMessageDescription clone_native(long __this_nativeId);
}