net.dpml.lang
Class Info

java.lang.Object
  extended bynet.dpml.lang.AbstractDirective
      extended bynet.dpml.lang.Info
All Implemented Interfaces:
Serializable

public final class Info
extends AbstractDirective

Part info description.

Version:
1.0.0
Author:
The Digital Product Meta Library
See Also:
Serialized Form

Constructor Summary
Info(URI uri, String title, String description)
          Creation of a new part info descriptor.
 
Method Summary
 boolean equals(Object other)
          Test if this instance is equal to the supplied instance.
 String getDescription()
          Get the part description.
 String getTitle()
          Get the part title.
 URI getURI()
          Get the part uri.
 int hashCode()
          Get the hashcode for this instance.
 
Methods inherited from class net.dpml.lang.AbstractDirective
equals, hashArray, hashValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Info

public Info(URI uri,
            String title,
            String description)
Creation of a new part info descriptor.

Parameters:
uri - the part uri
title - the title of the part
description - the part description
Method Detail

getURI

public URI getURI()
Get the part uri.

Returns:
the uri

getTitle

public String getTitle()
Get the part title.

Returns:
the title

getDescription

public String getDescription()
Get the part description.

Returns:
the description

equals

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

Overrides:
equals in class AbstractDirective
Parameters:
other - the other instance
Returns:
the equality status

hashCode

public int hashCode()
Get the hashcode for this instance.

Overrides:
hashCode in class AbstractDirective
Returns:
the hash value