org.rhq.core.domain.content
Class ResourceChannelPK
java.lang.Object
org.rhq.core.domain.content.ResourceChannelPK
- All Implemented Interfaces:
- Serializable
public class ResourceChannelPK
- extends Object
- implements Serializable
This is the composite primary key for the ResourceChannel
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
ResourceChannelPK
public ResourceChannelPK()
ResourceChannelPK
public ResourceChannelPK(Resource resource,
Channel channel)
getResource
public Resource getResource()
setResource
public void setResource(Resource resource)
getChannel
public Channel getChannel()
setChannel
public void setChannel(Channel channel)
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 RHQ Project Advisory Board (Red Hat, Inc. and Hyperic, Inc.). All Rights Reserved.