org.entityfs.lock.cmd
Class LockParentForWritingCommand

java.lang.Object
  extended by org.entityfs.lock.cmd.AbstractLockCommand
      extended by org.entityfs.lock.cmd.LockParentForWritingCommand
All Implemented Interfaces:
LockCommand

public final class LockParentForWritingCommand
extends AbstractLockCommand

LockCommand that says "lock this entity's parent for writing".

Since:
1.0
Author:
Karl Gustafsson

Constructor Summary
LockParentForWritingCommand(EntityView ent)
           
 
Method Summary
 boolean equals(Object o)
           
 Entity getEntity()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class org.entityfs.lock.cmd.AbstractLockCommand
getLockable
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LockParentForWritingCommand

public LockParentForWritingCommand(EntityView ent)
Method Detail

getEntity

public Entity getEntity()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object