org.jboss.cache.marshall
Class NodeData
java.lang.Object
org.jboss.cache.marshall.NodeData
- All Implemented Interfaces:
- Externalizable, Serializable
- Direct Known Subclasses:
- NodeDataExceptionMarker, NodeDataMarker
public class NodeData
- extends Object
- implements Externalizable
Serializable representation of the data of a node (FQN and attributes)
- Version:
- $Id: NodeData.java 3672 2007-03-12 18:13:48Z msurtani $
- Author:
- Bela Ban
- See Also:
- Serialized Form
NodeData
public NodeData()
NodeData
public NodeData(Fqn fqn)
NodeData
public NodeData(Fqn fqn,
Map attrs)
NodeData
public NodeData(String fqn,
Map attrs)
getAttributes
public Map getAttributes()
getFqn
public Fqn getFqn()
isMarker
public boolean isMarker()
isExceptionMarker
public boolean isExceptionMarker()
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2007 JBoss, a division of Red Hat. All Rights Reserved.