org.rhq.core.domain.content
Class DistributionFile

java.lang.Object
  extended by org.rhq.core.domain.content.DistributionFile

public class DistributionFile
extends Object

This is the many-to-many entity that correlates a distribution with its associated files.


Field Summary
static String DELETE_BY_DIST_ID
           
static String SELECT_BY_DIST_ID
           
 
Constructor Summary
protected DistributionFile()
           
  DistributionFile(Distribution dist, String filenameIn, String md5sum)
           
 
Method Summary
 boolean equals(Object obj)
           
 Distribution getDistribution()
           
 DistributionFilePK getDistributionFilePK()
           
 int getId()
           
 long getLastModified()
           
 String getMd5sum()
           
 String getRelativeFilename()
           
 int hashCode()
           
 void setDistribution(Distribution dist)
           
 void setDistributionFilePK(DistributionFilePK pk)
           
 void setId(int id)
           
 void setLastModified(long lastModifiedIn)
           
 void setMd5sum(String md5sum)
           
 void setRelativeFilename(String relative_filename)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SELECT_BY_DIST_ID

public static final String SELECT_BY_DIST_ID
See Also:
Constant Field Values

DELETE_BY_DIST_ID

public static final String DELETE_BY_DIST_ID
See Also:
Constant Field Values
Constructor Detail

DistributionFile

protected DistributionFile()

DistributionFile

public DistributionFile(Distribution dist,
                        String filenameIn,
                        String md5sum)
Method Detail

getDistributionFilePK

public DistributionFilePK getDistributionFilePK()

setDistributionFilePK

public void setDistributionFilePK(DistributionFilePK pk)

getId

public int getId()

setId

public void setId(int id)

getLastModified

public long getLastModified()

setLastModified

public void setLastModified(long lastModifiedIn)

getDistribution

public Distribution getDistribution()

setDistribution

public void setDistribution(Distribution dist)

getRelativeFilename

public String getRelativeFilename()

setRelativeFilename

public void setRelativeFilename(String relative_filename)

getMd5sum

public String getMd5sum()

setMd5sum

public void setMd5sum(String md5sum)

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.