public class EAXMIIDManager extends Object
Constructor and Description |
---|
EAXMIIDManager() |
Modifier and Type | Method and Description |
---|---|
static String |
convertXMIID2GUID(String xmiid)
Converts a specified Enterprise Architect XMI Id to an Enterprise Architect GUID
|
static String |
generateDeterministicEAXMIID(long seed)
Generates a valid XMI id for Enterprise Architect from the specified 'seed' long attribute.
|
static String |
generateDeterministicEAXMIID(String stringSeed)
Generates a valid XMI id for Enterprise Architect from the specified 'stringSeed' String attribute.
|
static String |
generateEAXMIID()
Generates randomly a new ID for an Enterprise Architect Element
|
static boolean |
isValidEAXMIID(String id)
Determinates whether the specified 'id' attribute is a valid Enterprise Architect id
|
public static String generateEAXMIID()
public static String generateDeterministicEAXMIID(String stringSeed)
seed
- the String attribute from which the id is generatedpublic static String generateDeterministicEAXMIID(long seed)
seed
- the long attribute from which the id is generatedpublic static boolean isValidEAXMIID(String id)
id
- the String value to test