pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.webdav.request
Class PropPatchRequest.PropPatchOperation

java.lang.Object
  extended by org.torweg.pulse.webdav.request.PropPatchRequest.PropPatchOperation
Enclosing class:
PropPatchRequest

public static class PropPatchRequest.PropPatchOperation
extends java.lang.Object

a single PROPPATCH operation.


Constructor Summary
PropPatchRequest.PropPatchOperation(PropPatchRequest.OperationType t, IProperty p)
          creates a new PropPatchOperation of the given type, with the given property.
 
Method Summary
 boolean equals(java.lang.Object obj)
          returns whether the given object is equal to the PropPatchOperation.
 IProperty getProperty()
          returns the property element.
 PropPatchRequest.OperationType getType()
          returns the operation type.
 int hashCode()
          returns the hash code.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropPatchRequest.PropPatchOperation

public PropPatchRequest.PropPatchOperation(PropPatchRequest.OperationType t, IProperty p)
creates a new PropPatchOperation of the given type, with the given property.

Parameters:
t - the type
p - the property
Method Detail

getType

public final PropPatchRequest.OperationType getType()
returns the operation type.

Returns:
the type.

getProperty

public final IProperty getProperty()
returns the property element.

Returns:
the element

hashCode

public int hashCode()
returns the hash code.

Overrides:
hashCode in class java.lang.Object
Returns:
the hash code
See Also:
Object.hashCode()

equals

public boolean equals(java.lang.Object obj)
returns whether the given object is equal to the PropPatchOperation.

Overrides:
equals in class java.lang.Object
Parameters:
obj - the object to check against
Returns:
true, if and only if the given object is a PropPatchOperation with the same type and property. Otherwise false.
See Also:
Object.equals(java.lang.Object)