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