private static class handle.DummyResource extends java.lang.Object implements WrappedResource
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Long |
id
The set id of the resource
|
| Constructor and Description |
|---|
DummyResource(java.lang.Long id)
Basic constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
id()
Retrieves the id of the resource.
|
void |
id(long id)
Sets the id of the resource.
|
boolean |
unknown()
This type of resource is not unknown, but only invalid.
|
boolean |
valid()
This type of resource should be considered invalid at any time.
|
public DummyResource(java.lang.Long id)
id - The id of this dummy resource.public boolean valid()
valid in interface WrappedResourcetrue if we are valid (can be used).public boolean unknown()
unknown in interface WrappedResourcetrue if object is unknown.public java.lang.Long id()
id in interface WrappedResourcepublic void id(long id)
id in interface WrappedResourceid - The resource's ID.