WEB4J Development Tools 4.10.0.0

hirondelle.web4jtools.metrics.images
Class ImageReference

Object
  extended by hirondelle.web4jtools.metrics.images.ImageReference

public final class ImageReference
extends Object

Model Object for an image, and all files that reference it.

This class is mutable.


Constructor Summary
ImageReference(FileInfo aFileInfo)
          Full constructor.
 
Method Summary
 void addReferenceFrom(FileInfo aFileInfo)
          Add a file which references the image.
 boolean equals(Object aThat)
           
 FileInfo getFileInfo()
          Return the file information for the image itself.
 Integer getNumReferences()
          Return the number of files that reference the image.
 List<FileInfo> getReferencingFiles()
          List all files that reference the image.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImageReference

public ImageReference(FileInfo aFileInfo)
Full constructor.

Parameters:
aFileInfo - file info for the image file.
Method Detail

addReferenceFrom

public void addReferenceFrom(FileInfo aFileInfo)
Add a file which references the image.


getFileInfo

public FileInfo getFileInfo()
Return the file information for the image itself.


getReferencingFiles

public List<FileInfo> getReferencingFiles()
List all files that reference the image.


getNumReferences

public Integer getNumReferences()
Return the number of files that reference the image.


toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object aThat)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

WEB4J Development Tools 4.10.0.0

Copyright Hirondelle Systems - Generated 2013Oct19.12.26