com.softwareag.mdm.instance
Class RepositoryId

java.lang.Object
  extended bycom.softwareag.mdm.instance.RepositoryId

public final class RepositoryId
extends Object

Identifies a particular webMethods MDM repository in a persistent and durable manner.

This identity is independant of repository's physical location and format.

The repository id conforms to the format of a UUID node, as specified by RFC 4122: it is 48 bits (6 bytes), and it is usually represented as 12 hexadecimal digits.


Method Summary
 void checkValidity()
           
static RepositoryId createRandomly()
           
 boolean equals(Object x)
           
 String formatToHexString()
           
 long getLong()
           
 int hashCode()
           
static RepositoryId parseHexString(String aString)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

createRandomly

public static RepositoryId createRandomly()

parseHexString

public static RepositoryId parseHexString(String aString)
                                   throws NumberFormatException
Throws:
NumberFormatException

equals

public boolean equals(Object x)

formatToHexString

public String formatToHexString()

hashCode

public int hashCode()

toString

public String toString()

getLong

public long getLong()

checkValidity

public void checkValidity()
                   throws com.softwareag.mdm.boot.BootException
Throws:
com.softwareag.mdm.boot.BootException


(report a bug)
webMethods MDM 4.2.8 [0558]
Copyright Software AG 2000-2007. All rights reserved.