Package dev.getelements.elements.rt
Class SimpleResourceServiceUnlink
java.lang.Object
dev.getelements.elements.rt.SimpleResourceServiceUnlink
- All Implemented Interfaces:
ResourceService.Unlink
,Serializable
public class SimpleResourceServiceUnlink
extends Object
implements ResourceService.Unlink, Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static SimpleResourceServiceUnlink
from
(ResourceId resourceId, boolean removed) Returns theResourceId
at the suppliedResourceId
.int
hashCode()
boolean
Returns true if theResourceId
was destroyed as part of this unlink operation.void
setRemoved
(boolean removed) void
setResourceId
(ResourceId resourceId) toString()
-
Constructor Details
-
SimpleResourceServiceUnlink
public SimpleResourceServiceUnlink()
-
-
Method Details
-
from
-
isRemoved
public boolean isRemoved()Description copied from interface:ResourceService.Unlink
Returns true if theResourceId
was destroyed as part of this unlink operation.- Specified by:
isRemoved
in interfaceResourceService.Unlink
- Returns:
- true if destroyed, false otherwise
-
setRemoved
public void setRemoved(boolean removed) -
getResourceId
Description copied from interface:ResourceService.Unlink
Returns theResourceId
at the suppliedResourceId
.- Specified by:
getResourceId
in interfaceResourceService.Unlink
- Returns:
- the
ResourceId
-
setResourceId
-
equals
-
hashCode
public int hashCode() -
toString
-