org.rhq.core.domain.content
Class ChannelPackageVersion

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

public class ChannelPackageVersion
extends Object
implements Serializable

This is the many-to-many entity that correlates a channel with one of the package versions it contains. It is an explicit relationship mapping entity between Channel and PackageVersion.

See Also:
Serialized Form

Field Summary
static String DELETE_BY_CHANNEL_ID
           
 
Constructor Summary
protected ChannelPackageVersion()
           
  ChannelPackageVersion(Channel channel, PackageVersion packageVersion)
           
 
Method Summary
 boolean equals(Object obj)
           
 ChannelPackageVersionPK getChannelPackageVersionPK()
           
 long getCreatedTime()
          This is the epoch time when this mapping was first created; in other words, when the channel was first associated with the package version.
 int hashCode()
           
 void setChannelPackageVersionPK(ChannelPackageVersionPK pk)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DELETE_BY_CHANNEL_ID

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

ChannelPackageVersion

protected ChannelPackageVersion()

ChannelPackageVersion

public ChannelPackageVersion(Channel channel,
                             PackageVersion packageVersion)
Method Detail

getChannelPackageVersionPK

public ChannelPackageVersionPK getChannelPackageVersionPK()

setChannelPackageVersionPK

public void setChannelPackageVersionPK(ChannelPackageVersionPK pk)

getCreatedTime

public long getCreatedTime()
This is the epoch time when this mapping was first created; in other words, when the channel was first associated with the package version.


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-2009 RHQ Project Advisory Board (Red Hat, Inc.). All Rights Reserved.