T
- the type of the referenced object.public interface Referenceable<T> extends ResourceIdentifiable<T>
Reference
to it.
It is not necessarily the case that the reference is filled.Modifier and Type | Method and Description |
---|---|
default boolean |
hasSameIdAs(Referenceable<T> other) |
Reference<T> |
toReference()
Creates a reference to this resource, the reference may not be filled.
|
default ResourceIdentifier<T> |
toResourceIdentifier() |
Reference<T> toReference()
default ResourceIdentifier<T> toResourceIdentifier()
toResourceIdentifier
in interface ResourceIdentifiable<T>
default boolean hasSameIdAs(Referenceable<T> other)