public interface ModelReference
| Modifier and Type | Method and Description |
|---|---|
String |
getData()
Get the JSON data for an object
|
Set<ModelRelation> |
getInboundRelations()
Get relations for an object
|
Set<ModelRelation> |
getInboundRelations(String named)
Get relations for an object
|
Set<ModelRelation> |
getOutboundRelations()
Get relations for an object
|
Set<ModelRelation> |
getOutboundRelations(String named)
Get relations for an object
|
Set<ModelRelation> |
getRelations()
Get relations for an object
|
ModelReference |
patchData(String jsonData)
Patch (merge) the data stored with the object
|
ModelReference |
putData(String jsonData)
Overwrite the data stored with the object
|
ModelReference |
relateFrom(String name,
ModelObjectLocator from)
Relate this object from the given source object with the given name
|
ModelReference |
relateTo(String name,
ModelObjectLocator to)
Relate this object to the given target object with the given name
|
String getData() throws ModelClient.ModelServiceException, IOException
IOExceptionModelClient.ModelServiceExceptionModelReference putData(String jsonData) throws ModelClient.ModelServiceException, IOException
jsonData - IOExceptionModelClient.ModelServiceExceptionModelReference patchData(String jsonData)
jsonData - Set<ModelRelation> getRelations()
Set<ModelRelation> getInboundRelations()
Set<ModelRelation> getInboundRelations(String named)
named - Set<ModelRelation> getOutboundRelations()
Set<ModelRelation> getOutboundRelations(String named)
named - ModelReference relateTo(String name, ModelObjectLocator to)
name - to - ModelReference relateFrom(String name, ModelObjectLocator from)
name - from - Copyright © 2020 continual.io. All rights reserved.