org.rhq.core.domain.content
Class ChannelContentSourcePK

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

public class ChannelContentSourcePK
extends Object
implements Serializable

This is the composite primary key for the ChannelContentSource entity. That entity is an explicit many-to-many mapping table, so this composite key is simply the foreign keys to both ends of that relationship.

See Also:
Serialized Form

Constructor Summary
ChannelContentSourcePK()
           
ChannelContentSourcePK(Channel channel, ContentSource contentSource)
           
 
Method Summary
 boolean equals(Object obj)
           
 Channel getChannel()
           
 ContentSource getContentSource()
           
 int hashCode()
           
 void setChannel(Channel channel)
           
 void setContentSource(ContentSource contentSource)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChannelContentSourcePK

public ChannelContentSourcePK()

ChannelContentSourcePK

public ChannelContentSourcePK(Channel channel,
                              ContentSource contentSource)
Method Detail

getChannel

public Channel getChannel()

setChannel

public void setChannel(Channel channel)

getContentSource

public ContentSource getContentSource()

setContentSource

public void setContentSource(ContentSource contentSource)

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.