com.vwp.vuapi.util
Class VUInfo
java.lang.Object
com.vwp.vuapi.util.VUInfo
- Direct Known Subclasses:
- VUObjectInfo, VUUserInfo, VUWorldInfo
public class VUInfo
- extends Object
This is the base class for different information like they are provided by
the listeners. Please note: fields that are currently not available, e.g.
because the listener context isn't able to provide the data for them are
initialized with null or -1. To collect all available information without any
loss automatically the VUInfoTool class or the VUObjectInfoTool class can be
used.
|
Field Summary |
long |
ID
This field contains a value that identifies a world / object / user non-ambiguous. |
String |
name
|
|
Constructor Summary |
VUInfo()
The default constructor that creates an empty object |
|
Method Summary |
void |
set(VUInfo vui)
This method sets the available values of the given VUInfo
object, that means, memebers of the given parameter that
are not -1 and not null are copied to the related members
of this object |
name
public String name
ID
public long ID
- This field contains a value that identifies a world / object / user non-ambiguous.
This value is created and given by the API and don't has to be modified by the
application. Elsewhere the results are undefined.
VUInfo
public VUInfo()
- The default constructor that creates an empty object
set
public void set(VUInfo vui)
- This method sets the available values of the given VUInfo
object, that means, memebers of the given parameter that
are not -1 and not null are copied to the related members
of this object
- Parameters:
vui - the VUInfo object to copy the available
members from