Project JXTA

net.jxta.impl.id.CBID
Class PeerGroupID

java.lang.Object
  extended bynet.jxta.id.ID
      extended bynet.jxta.peergroup.PeerGroupID
          extended bynet.jxta.impl.id.UUID.PeerGroupID
              extended bynet.jxta.impl.id.CBID.PeerGroupID
All Implemented Interfaces:
Serializable

public class PeerGroupID
extends PeerGroupID

An implementation of the PeerGroupID ID Type.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.jxta.impl.id.UUID.PeerGroupID
groupIdOffset, id, padOffset, padSize, parentgroupIdOffset
 
Fields inherited from class net.jxta.peergroup.PeerGroupID
defaultNetPeerGroupID, worldPeerGroupID
 
Fields inherited from class net.jxta.id.ID
nullID, URIEncodingName, URNNamespace
 
Constructor Summary
  PeerGroupID()
          See IDFactory.Instantiator.newPeerGroupID().
  PeerGroupID(byte[] seed)
          See IDFactory.Instantiator.newPeerGroupID(byte[]).
protected PeerGroupID(IDBytes id)
          Intializes contents from provided ID.
  PeerGroupID(PeerGroupID parent, byte[] seed)
          See IDFactory.Instantiator.newPeerGroupID(net.jxta.peergroup.PeerGroupID,byte[]).
protected PeerGroupID(UUID groupUUID)
          Creates a PeerGroupID.
 
Method Summary
 String getIDFormat()
          
 PeerGroupID getParentPeerGroupID()
          
 UUID getUUID()
          Returns the UUID associated with this PeerGroupID.
 
Methods inherited from class net.jxta.impl.id.UUID.PeerGroupID
equals, getUniqueValue, getURL, hashCode, toURI
 
Methods inherited from class net.jxta.peergroup.PeerGroupID
 
Methods inherited from class net.jxta.id.ID
clone, create, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PeerGroupID

protected PeerGroupID(IDBytes id)
Intializes contents from provided ID.

Parameters:
id - the ID data

PeerGroupID

protected PeerGroupID(UUID groupUUID)
Creates a PeerGroupID. A PeerGroupID is provided

Parameters:
groupUUID - the PeerGroupID to use to construct the new PeerGroupID

PeerGroupID

public PeerGroupID()
See IDFactory.Instantiator.newPeerGroupID().


PeerGroupID

public PeerGroupID(byte[] seed)
See IDFactory.Instantiator.newPeerGroupID(byte[]).


PeerGroupID

public PeerGroupID(PeerGroupID parent,
                   byte[] seed)
See IDFactory.Instantiator.newPeerGroupID(net.jxta.peergroup.PeerGroupID,byte[]).

Method Detail

getIDFormat

public String getIDFormat()

Overrides:
getIDFormat in class PeerGroupID

getParentPeerGroupID

public PeerGroupID getParentPeerGroupID()

Overrides:
getParentPeerGroupID in class PeerGroupID

getUUID

public UUID getUUID()
Returns the UUID associated with this PeerGroupID.

Overrides:
getUUID in class PeerGroupID
Returns:
The UUID associated with this PeerGroupID.

JXTA J2SE