@Platform(include="<nix/valid/helper.hpp>",link="nix",preload="hdf5") @Platform(value="linux") @Platform(value="windows")
@Namespace(value="nix::valid")
public class Message
extends org.bytedeco.javacpp.Pointer
Class with message text and id string to save a message and the
entity id together, used by Result
.
Constructor and Description |
---|
Message(String newId,
String newMsg)
Create new message.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getId()
Get id of message.
|
String |
getMsg()
Get text of message.
|
void |
setId(String id)
Set id of message.
|
void |
setMsg(String msg)
Set text for message.
|
String |
toString() |
@Name(value="id") @MemberGetter @StdString public String getId()
@Name(value="id") @MemberSetter public void setId(@StdString String id)
id
- id of message.@Name(value="msg") @MemberGetter @StdString public String getMsg()
@Name(value="msg") @MemberSetter public void setMsg(@StdString String msg)
msg
- textpublic boolean equals(Object obj)
equals
in class org.bytedeco.javacpp.Pointer
public String toString()
toString
in class org.bytedeco.javacpp.Pointer
Copyright © 2015. All rights reserved.