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