Package org.jivesoftware.openfire.pubsub
Class PubSubService.UniqueIdentifier
- java.lang.Object
-
- org.jivesoftware.openfire.pubsub.PubSubService.UniqueIdentifier
-
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- PubSubService
public static final class PubSubService.UniqueIdentifier extends Object implements Serializable
A unique identifier for an item, in context of all nodes of all services in the system. The property that uniquely identifies a service within the system is its serviceId.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UniqueIdentifier(String serviceId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getServiceId()
int
hashCode()
boolean
owns(Node.UniqueIdentifier nodeIdentifier)
boolean
owns(PublishedItem.UniqueIdentifier itemIdentifier)
String
toString()
-
-
-
Constructor Detail
-
UniqueIdentifier
public UniqueIdentifier(String serviceId)
-
-
Method Detail
-
getServiceId
public String getServiceId()
-
owns
public boolean owns(Node.UniqueIdentifier nodeIdentifier)
-
owns
public boolean owns(PublishedItem.UniqueIdentifier itemIdentifier)
-
-