org.rhq.core.domain.content
Class Distribution

java.lang.Object
  extended by org.rhq.core.domain.content.Distribution
All Implemented Interfaces:
Serializable

public class Distribution
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
static String QUERY_DELETE_BY_DIST_ID
           
static String QUERY_FIND_ALL
           
static String QUERY_FIND_BY_DIST_LABEL
           
static String QUERY_FIND_BY_DIST_PATH
           
static String QUERY_FIND_PATH_BY_DIST_TYPE
           
 
Constructor Summary
Distribution()
           
Distribution(String label, String basepathIn, DistributionType distributionType)
           
 
Method Summary
 boolean equals(Object o)
           
 String getBasePath()
           
 Set<DistributionFile> getDistributionFiles()
           
 DistributionType getDistributionType()
          Describes the capabilities of this distribution.
 int getId()
           
 String getLabel()
           
 long getLastModifiedDate()
           
 int hashCode()
           
 void setBasePath(String basepathIn)
           
 void setDistributionFiles(Set<DistributionFile> distributionFiles)
           
 void setDistributionType(DistributionType distributionType)
           
 void setId(int id)
           
 void setLabel(String labelIn)
           
 void setLastModifiedDate(long lastModifiedDate)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

QUERY_FIND_ALL

public static final String QUERY_FIND_ALL
See Also:
Constant Field Values

QUERY_FIND_BY_DIST_LABEL

public static final String QUERY_FIND_BY_DIST_LABEL
See Also:
Constant Field Values

QUERY_FIND_BY_DIST_PATH

public static final String QUERY_FIND_BY_DIST_PATH
See Also:
Constant Field Values

QUERY_FIND_PATH_BY_DIST_TYPE

public static final String QUERY_FIND_PATH_BY_DIST_TYPE
See Also:
Constant Field Values

QUERY_DELETE_BY_DIST_ID

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

Distribution

public Distribution()

Distribution

public Distribution(String label,
                    String basepathIn,
                    DistributionType distributionType)
Method Detail

getDistributionFiles

public Set<DistributionFile> getDistributionFiles()

setDistributionFiles

public void setDistributionFiles(Set<DistributionFile> distributionFiles)

getLabel

public String getLabel()

getBasePath

public String getBasePath()

setLabel

public void setLabel(String labelIn)

setBasePath

public void setBasePath(String basepathIn)

getId

public int getId()

setId

public void setId(int id)

getDistributionType

public DistributionType getDistributionType()
Describes the capabilities of this distribution.


setDistributionType

public void setDistributionType(DistributionType distributionType)

setLastModifiedDate

public void setLastModifiedDate(long lastModifiedDate)

getLastModifiedDate

public long getLastModifiedDate()

toString

public String toString()
Overrides:
toString in class Object

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


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