@Beta public final class ContinuousResourceId extends ResourceId
ContinuousResource.| Modifier and Type | Method and Description |
|---|---|
ContinuousResourceId |
child(java.lang.Class<?> child)
Returns a resource ID of a child of this resource based on the specified object.
|
DiscreteResourceId |
child(java.lang.Object child)
Returns a resource ID of a child of this resource based on the specified object.
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.util.Optional<DiscreteResourceId> |
parent()
Returns the parent resource ID of this instance.
|
java.lang.String |
toString() |
public DiscreteResourceId child(java.lang.Object child)
Class instance, IllegalArgumentException is thrown.
A child of a continuous-type resource is prohibited.
UnsupportedOperationException is always thrown.child in class ResourceIdchild - the last component of the childpublic ContinuousResourceId child(java.lang.Class<?> child)
UnsupportedOperationException is always thrown.child in class ResourceIdchild - the last component of the childpublic java.util.Optional<DiscreteResourceId> parent()
ResourceIdparent in class ResourceIdpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object