sun.module.repository
Class ModuleInfo

java.lang.Object
  extended by sun.module.repository.ModuleInfo

public class ModuleInfo
extends Object

Represents the information about a single module as described by the schema java.module.RepositoryMetada.xml.

Author:
Dave Bristor

Method Summary
 boolean equals(Object other)
          Two ModuleInfo's are equal iff all fields are equal.
 String getArch()
           
 String getName()
           
 String getPath()
           
 String getPlatform()
           
 String getVersion()
           
 int hashCode()
          A ModuleInfo's hash code is based on all fields except path.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public String getName()

getVersion

public String getVersion()

getPlatform

public String getPlatform()

getArch

public String getArch()

getPath

public String getPath()

equals

public boolean equals(Object other)
Two ModuleInfo's are equal iff all fields are equal.

Overrides:
equals in class Object

hashCode

public int hashCode()
A ModuleInfo's hash code is based on all fields except path.

Overrides:
hashCode in class Object