org.rhq.core.domain.content
Class DistributionFile
java.lang.Object
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.
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
DistributionFile
protected DistributionFile()
DistributionFile
public DistributionFile(Distribution dist,
String filenameIn,
String md5sum)
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.