Package io.micronaut.microstream.rest
Class RootObject
java.lang.Object
io.micronaut.microstream.rest.RootObject
This object represents a root object for the MicroStream REST api.
- Since:
 - 1.0.0
 - Author:
 - Tim Yates
 
- 
Constructor Summary
ConstructorsConstructorDescriptionRootObject(String name, 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. - 
Method Summary
 
- 
Constructor Details
- 
RootObject
Construct a root object from a name and id.- Parameters:
 name- the name of the root objectobjectId- the id of the root object
 - 
RootObject
public RootObject(@NonNull one.microstream.storage.restadapter.types.ViewerRootDescription userRoot) Construct a root object from the MicroStream description.- Parameters:
 userRoot- the root description from MicroStream
 
 - 
 - 
Method Details
- 
getName
- Returns:
 - the name of the root object
 
 - 
getObjectId
- Returns:
 - the id of the root object
 
 
 -