net.dpml.metro.data
Class LookupDirective

java.lang.Object
  extended by net.dpml.metro.data.AbstractDirective
      extended by net.dpml.metro.data.LookupDirective
All Implemented Interfaces:
Serializable, Directive

public final class LookupDirective
extends AbstractDirective
implements Directive

A reference directive is a reference to a part within the enclosing part's context or parts.

Version:
1.0.4
Author:
Digital Product Meta Library
See Also:
Serialized Form

Constructor Summary
LookupDirective(String classname)
          Creation of a new lookup directive.
 
Method Summary
 boolean equals(Object other)
          Test if the supplied object is equal to this object.
 String getServiceClassname()
          Return the service classname.
 int hashCode()
          Return the hashcode for the instance.
 
Methods inherited from class net.dpml.metro.data.AbstractDirective
getPartHandlerURI, setupURI
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LookupDirective

public LookupDirective(String classname)
                throws NullPointerException
Creation of a new lookup directive.

Parameters:
classname - the service classname
Throws:
NullPointerException - if the classname argument is null.
Method Detail

getServiceClassname

public String getServiceClassname()
Return the service classname.

Returns:
the classname

equals

public boolean equals(Object other)
Test if the supplied object is equal to this object.

Overrides:
equals in class AbstractDirective
Parameters:
other - the object to compare with this instance
Returns:
TRUE if the supplied object is equal to this object

hashCode

public int hashCode()
Return the hashcode for the instance.

Overrides:
hashCode in class AbstractDirective
Returns:
the instance hashcode