org.oclc.da.gdfr.registryprototype
Class Abstract

java.lang.Object
  extended by org.oclc.da.gdfr.registryprototype.Abstract

public class Abstract
extends java.lang.Object


Constructor Summary
Abstract(Ref r, java.lang.String desc)
          Only constructor available.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Overloaded equals method.
 java.lang.String getDescription()
          Returns the brief description of this object
 Ref getRef()
          Returns the Ref associated with this object
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Abstract

public Abstract(Ref r,
                java.lang.String desc)
Only constructor available.

Parameters:
r - The Ref of the Abstract
desc - A brief description
Method Detail

getRef

public Ref getRef()
Returns the Ref associated with this object

Returns:
Ref referencing this object

getDescription

public java.lang.String getDescription()
Returns the brief description of this object

Returns:
String representing the description

equals

public boolean equals(java.lang.Object obj)
Overloaded equals method. This compares the ref and the description

Overrides:
equals in class java.lang.Object
Parameters:
obj - The Object to compare to
Returns:
true if equal, false otherwise


Copyright © 2008 OCLC Online Computer Library Center, Inc.. All Rights Reserved.