public final class TopDownIndex extends java.lang.Object implements KnowledgeIndex
Constructor and Description |
---|
TopDownIndex(Model model) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<OperationShape> |
getContainedOperations(ToShapeId entity)
Get all operations in service or resource closure.
|
java.util.Set<ResourceShape> |
getContainedResources(ToShapeId entity)
Get all resources in a service or resource closure.
|
static TopDownIndex |
of(Model model) |
public TopDownIndex(Model model)
public static TopDownIndex of(Model model)
public java.util.Set<OperationShape> getContainedOperations(ToShapeId entity)
entity
- Service or resource shape ID.public java.util.Set<ResourceShape> getContainedResources(ToShapeId entity)
entity
- Service or resource shape ID.