Class EAXMIIDManager
- java.lang.Object
-
- com.sodius.mdw.metamodel.uml21.io.ea.EAXMIIDManager
-
public class EAXMIIDManager extends java.lang.Object
Provides a way to manage ids of Enterprise Architect Elements
-
-
Constructor Summary
Constructors Constructor Description EAXMIIDManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
convertXMIID2GUID(java.lang.String xmiid)
Converts a specified Enterprise Architect XMI Id to an Enterprise Architect GUIDstatic java.lang.String
generateDeterministicEAXMIID(long seed)
Generates a valid XMI id for Enterprise Architect from the specified 'seed' long attribute.static java.lang.String
generateDeterministicEAXMIID(java.lang.String stringSeed)
Generates a valid XMI id for Enterprise Architect from the specified 'stringSeed' String attribute.static java.lang.String
generateEAXMIID()
Generates randomly a new ID for an Enterprise Architect Elementstatic boolean
isValidEAXMIID(java.lang.String id)
Determinates whether the specified 'id' attribute is a valid Enterprise Architect id
-
-
-
Method Detail
-
generateEAXMIID
public static java.lang.String generateEAXMIID()
Generates randomly a new ID for an Enterprise Architect Element- Returns:
- a String representing the id
-
generateDeterministicEAXMIID
public static java.lang.String generateDeterministicEAXMIID(java.lang.String stringSeed)
Generates a valid XMI id for Enterprise Architect from the specified 'stringSeed' String attribute.- Parameters:
stringSeed
- the String attribute from which the id is generated- Returns:
- a String representing the id
-
generateDeterministicEAXMIID
public static java.lang.String generateDeterministicEAXMIID(long seed)
Generates a valid XMI id for Enterprise Architect from the specified 'seed' long attribute.- Parameters:
seed
- the long attribute from which the id is generated- Returns:
- a String representing the id
-
isValidEAXMIID
public static boolean isValidEAXMIID(java.lang.String id)
Determinates whether the specified 'id' attribute is a valid Enterprise Architect id- Parameters:
id
- the String value to test- Returns:
- true if the 'id' is a valid Enterprise Architect id
-
convertXMIID2GUID
public static java.lang.String convertXMIID2GUID(java.lang.String xmiid)
Converts a specified Enterprise Architect XMI Id to an Enterprise Architect GUID- Parameters:
xmiid
- the Enterprise Architect XMI Id- Returns:
- an Enterprise Architect GUID
-
-