@Beta public abstract class ResourceId extends Object
| Constructor and Description |
|---|
ResourceId() |
| Modifier and Type | Method and Description |
|---|---|
abstract ContinuousResourceId |
child(Class<?> child)
Returns a resource ID of a child of this resource based on the specified object.
|
abstract DiscreteResourceId |
child(Object child)
Returns a resource ID of a child of this resource based on the specified object.
|
abstract Optional<DiscreteResourceId> |
parent()
Returns the parent resource ID of this instance.
|
public abstract Optional<DiscreteResourceId> parent()
public abstract DiscreteResourceId child(Object child)
Class instance, IllegalArgumentException is thrown.child - the last component of the childpublic abstract ContinuousResourceId child(Class<?> child)
child - the last component of the child