org.rhq.core.domain.content
Class ResourceChannel
java.lang.Object
org.rhq.core.domain.content.ResourceChannel
- All Implemented Interfaces:
- Serializable
public class ResourceChannel
- extends Object
- implements Serializable
This is the many-to-many entity that correlates a channel with one of its subscribers. It is an explicit relationship
mapping entity between Channel
and Resource
.
- See Also:
- Serialized Form
DELETE_BY_RESOURCES
public static final String DELETE_BY_RESOURCES
- See Also:
- Constant Field Values
DELETE_BY_RESOURCE_ID
public static final String DELETE_BY_RESOURCE_ID
- See Also:
- Constant Field Values
DELETE_BY_CHANNEL_ID
public static final String DELETE_BY_CHANNEL_ID
- See Also:
- Constant Field Values
ResourceChannel
protected ResourceChannel()
ResourceChannel
public ResourceChannel(Resource resource,
Channel channel)
getResourceChannelPK
public ResourceChannelPK getResourceChannelPK()
setResourceChannelPK
public void setResourceChannelPK(ResourceChannelPK pk)
getCreatedTime
public long getCreatedTime()
- This is the epoch time when this mapping was first created; in other words, when the resource was subscribed to
the channel.
- Returns:
- the time the resource was subscribed to the 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.