org.mule.transport.jcr
Class JcrMessage
java.lang.Object
org.mule.transport.jcr.JcrMessage
- All Implemented Interfaces:
- Serializable, javax.jcr.observation.Event
public final class JcrMessage
- extends Object
- implements javax.jcr.observation.Event, Serializable
Provides an immutable JCR message, which is an augmented and serializable
javax.jcr.observation.Event
.
- Author:
- David Dossot (david@dossot.net)
- See Also:
- Serialized Form
Fields inherited from interface javax.jcr.observation.Event |
NODE_ADDED, NODE_REMOVED, PROPERTY_ADDED, PROPERTY_CHANGED, PROPERTY_REMOVED |
JcrMessage
@Deprecated
public JcrMessage(String path,
int type,
String typeAsString,
String userID,
Serializable content)
- Deprecated. Prefer using the complete constructor.
JcrMessage
public JcrMessage(String path,
int type,
String typeAsString,
String userID,
Serializable content,
String uuid)
toString
public String toString()
- Overrides:
toString
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
getContent
public Serializable getContent()
- Returns:
- the content
getPath
public String getPath()
- Specified by:
getPath
in interface javax.jcr.observation.Event
- Returns:
- the path
getType
public int getType()
- Specified by:
getType
in interface javax.jcr.observation.Event
- Returns:
- the type
getTypeAsString
public String getTypeAsString()
- Returns:
- the typeAsString
getUserID
public String getUserID()
- Specified by:
getUserID
in interface javax.jcr.observation.Event
- Returns:
- the userID
getUuid
public String getUuid()
- Returns:
- the uuid
Copyright © 2011. All Rights Reserved.