public class CoreModelRepository extends Object implements ModelRepository
It also offers convenience query methods.
| Constructor and Description |
|---|
CoreModelRepository(Set<Thing> things)
Instantiates a new Core deducer result.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<Thing> |
getThingByName(Text thingName)
Gets thing by name.
|
Optional<Function> |
getThingFunction(Text thingName,
Text functionName)
Gets thing function.
|
Set<Thing> |
getThings()
Gets things.
|
public Optional<Thing> getThingByName(Text thingName)
thingName - the thing namepublic Optional<Function> getThingFunction(Text thingName, Text functionName)
thingName - the thing namefunctionName - the function nameCopyright © 2015–2019 OREGOR LTD. All rights reserved.