ResourceInfo class
The ResourceInfo class is a wrapper class for a resource id and collection name tuple.
public class com.ibm.wcp.analysis.event.ResourceInfo extends Object implements Serializable
Methods of the ResourceInfo class.
Method Explanation public ResourceInfo( String resourceId, String collectionName ) Constructor. public ResourceInfo( ) Constructor. public String getResourceId( ) Return the id of the resource. public void setResourceId( String resourceId ) Set the id of the resource. public String getCollectionName( ) Return the name of the collection containing this resource. public void setCollectionName( String collectionName ) Set the name of the collection containing this resource. public String toString( ) Return a String representation of this resource tuple. public boolean equals( ResourceInfo resourceInfo ) Return true if and only if (1) the objects are the same or (2) the resource id and collection name information is equal. public int hashCode( ) Return a hash code enabling objects of this type to be used as hash keys.
Parent topic: Classes and APIs for writing custom listeners