ch.qos.logback.core.joran.spi
Class HostClassAndPropertyDouble

java.lang.Object
  extended by ch.qos.logback.core.joran.spi.HostClassAndPropertyDouble

public class HostClassAndPropertyDouble
extends java.lang.Object

A 2-tuple (a double) consisting of a Class and a String. The Class references the hosting class of a component and the String represents the property name under which a nested component is referenced the host. This class is used by DefaultNestedComponentRegistry.

Author:
Ceki Gulcu

Constructor Summary
HostClassAndPropertyDouble(java.lang.Class hostClass, java.lang.String propertyName)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.Class getHostClass()
           
 java.lang.String getPropertyName()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HostClassAndPropertyDouble

public HostClassAndPropertyDouble(java.lang.Class hostClass,
                                  java.lang.String propertyName)
Method Detail

getHostClass

public java.lang.Class getHostClass()

getPropertyName

public java.lang.String getPropertyName()

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