public class RootObject
extends java.lang.Object
Constructor and Description |
---|
RootObject(java.lang.String name,
java.lang.String objectId)
Construct a root object from a name and id.
|
RootObject(one.microstream.storage.restadapter.types.ViewerRootDescription userRoot)
Construct a root object from the MicroStream description.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
java.lang.String |
getObjectId() |
public RootObject(@NonNull java.lang.String name, @NonNull java.lang.String objectId)
name
- the name of the root objectobjectId
- the id of the root objectpublic RootObject(@NonNull one.microstream.storage.restadapter.types.ViewerRootDescription userRoot)
userRoot
- the root description from MicroStream