org.apache.activemq.kaha.impl.container
Class ContainerId
java.lang.Object
org.apache.activemq.kaha.impl.container.ContainerId
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable
public class ContainerId
- extends java.lang.Object
- implements java.io.Externalizable
Used by RootContainers
- Version:
- $Revision: 1.1.1.1 $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ContainerId
public ContainerId()
getDataContainerName
public java.lang.String getDataContainerName()
- Returns:
- Returns the dataContainerPrefix.
setDataContainerName
public void setDataContainerName(java.lang.String dataContainerPrefix)
- Parameters:
dataContainerPrefix
- The dataContainerPrefix to set.
getKey
public java.lang.Object getKey()
- Returns:
- Returns the key.
setKey
public void setKey(java.lang.Object key)
- Parameters:
key
- The key to set.
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Specified by:
writeExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2009 Apache Software Foundation. All Rights Reserved.