@Platform(include="<nix/valid/helper.hpp>") @Platform(value="linux",link="nix@.1",preload="hdf5@.7") @Platform(value="windows",link="nix",preload={"hdf5","msvcp120","msvcr120","szip","zlib"})
@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.Pointerpublic String toString()
toString in class org.bytedeco.javacpp.PointerCopyright © 2016. All rights reserved.