public class VanillaReferenceOwner extends Object implements ReferenceOwner, QueryCloseable
ReferenceOwner and QueryCloseable interfaces.
This class represents an object that can own references, but is not closeable.
It holds a name for identification purposes.INIT, TMP| Constructor and Description |
|---|
VanillaReferenceOwner(String name)
Constructs a new instance of
VanillaReferenceOwner with the specified name. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isClosed()
Indicates whether this reference owner is closed.
|
String |
referenceName()
Returns the name of the reference owner in a string format.
|
String |
toString()
Returns the string representation of the reference owner.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitreferenceId, temporaryisClosingpublic VanillaReferenceOwner(String name)
VanillaReferenceOwner with the specified name.name - the name of the reference owner, used for identification.IllegalArgumentException - if name is null.public String referenceName()
referenceName in interface ReferenceOwnerString representing the name of the reference owner,
wrapped inside the standard string representation of this object.public String toString()
public boolean isClosed()
VanillaReferenceOwner does not support the concept of being closed,
this method always returns false.isClosed in interface QueryCloseablefalse, indicating that this reference owner is not closeable.Copyright © 2024. All rights reserved.