org.apache.qpid.management.domain.model
Class QpidPackage.QpidClassIdentity

java.lang.Object
  extended by org.apache.qpid.management.domain.model.QpidPackage.QpidClassIdentity
Enclosing class:
QpidPackage

 class QpidPackage.QpidClassIdentity
extends Object

Qpid class identity. Each qpid class is uniquely identifier by its name and schema-hash. The schema hash is an MD5 checksum of the schema for a class. It is there so we can support the case where two different versions of the same class are present at the same time.


Field Summary
(package private)  Binary hash
           
(package private)  String name
           
 
Constructor Summary
QpidPackage.QpidClassIdentity(String name, Binary hash)
          Builds a new class identity with the given name and hash.
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

final String name

hash

final Binary hash
Constructor Detail

QpidPackage.QpidClassIdentity

QpidPackage.QpidClassIdentity(String name,
                              Binary hash)
Builds a new class identity with the given name and hash.

Parameters:
name - the class name.
hash - is an MD5 checksum of the schema of this outer class.
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Licensed to the Apache Software Foundation