org.rhq.core.domain.content
Class ChannelContentSource

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

public class ChannelContentSource
extends Object
implements Serializable

This is the many-to-many entity that correlates a channel with a content source that will fill the channel with package versions. It is an explicit relationship mapping entity between Channel and ContentSource.

See Also:
Serialized Form

Field Summary
static String DELETE_BY_CHANNEL_ID
           
static String DELETE_BY_CONTENT_SOURCE_ID
           
 
Constructor Summary
protected ChannelContentSource()
           
  ChannelContentSource(Channel channel, ContentSource contentSource)
           
 
Method Summary
 boolean equals(Object obj)
           
 ChannelContentSourcePK getChannelContentSourcePK()
           
 long getCreatedTime()
          This is the epoch time when this mapping was first created; in other words, when the channel was first associated with the content source.
 int hashCode()
           
 void setChannelContentSourcePK(ChannelContentSourcePK pk)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DELETE_BY_CONTENT_SOURCE_ID

public static final String DELETE_BY_CONTENT_SOURCE_ID
See Also:
Constant Field Values

DELETE_BY_CHANNEL_ID

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

ChannelContentSource

protected ChannelContentSource()

ChannelContentSource

public ChannelContentSource(Channel channel,
                            ContentSource contentSource)
Method Detail

getChannelContentSourcePK

public ChannelContentSourcePK getChannelContentSourcePK()

setChannelContentSourcePK

public void setChannelContentSourcePK(ChannelContentSourcePK 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 content source.


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.