org.apache.qpid.management.domain.model
Class QpidPackage.QpidClassIdentity
java.lang.Object
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.
name
final String name
hash
final Binary hash
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.
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