Package es.bsc.dataclay.heap
Class DataClayIDFactory
- java.lang.Object
-
- es.bsc.dataclay.heap.DataClayIDFactory
-
public class DataClayIDFactory extends Object
This class create and manages all IDs in dataClay. It is necessary to avoid having thousands of IDs occupying the Heap.
-
-
Constructor Summary
Constructors Constructor Description DataClayIDFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AccountID
newAccountID()
Create a new account ID.static AccountID
newAccountID(String uuidStr)
Create a new account ID.static ContractID
newContractID()
Create a new contract ID.static ContractID
newContractID(String uuidStr)
Create a new contract ID.static CredentialID
newCredentialID()
Create a new credential ID.static CredentialID
newCredentialID(String uuidStr)
Create a new credential ID.static DataClayInstanceID
newDataClayInstanceID()
Create a new DataClayInstanceID ID.static DataClayInstanceID
newDataClayInstanceID(String uuidStr)
Create a new DataClayInstanceID ID.static DataContractID
newDataContractID()
Create a new DataContractID ID.static DataContractID
newDataContractID(String uuidStr)
Create a new DataContractID ID.static DataSetID
newDataSetID()
Create a new DataSetID.static DataSetID
newDataSetID(String uuidStr)
Create a new DataSetID.static ECAID
newECAID()
Create a new ECAID.static ECAID
newECAID(String uuidStr)
Create a new ECAID.static EventMessageID
newEventMessageID()
Create a new EventMessageID.static EventMessageID
newEventMessageID(String uuidStr)
Create a new EventMessageID.static EventObjsMeetConditionID
newEventObjsMeetConditionID()
Create a new EventObjsMeetConditionID.static EventObjsMeetConditionID
newEventObjsMeetConditionID(String uuidStr)
Create a new EventObjsMeetConditionID.static ExecutionEnvironmentID
newExecutionEnvironmentID()
Create a new ExecutionEnvironmentID.static ExecutionEnvironmentID
newExecutionEnvironmentID(String uuidStr)
Create a new ExecutionEnvironmentID.static ImplementationID
newImplementationID()
Create a new ImplementationID.static ImplementationID
newImplementationID(String uuidStr)
Create a new ImplementationID.static InterfaceID
newInterfaceID()
Create a new InterfaceID.static InterfaceID
newInterfaceID(String uuidStr)
Create a new InterfaceID.static MetaClassID
newMetaClassID()
Create a new MetaClassID.static MetaClassID
newMetaClassID(String uuidStr)
Create a new MetaClassID.static NamespaceID
newNamespaceID()
Create a new NamespaceID.static NamespaceID
newNamespaceID(String uuidStr)
Create a new NamespaceID.static ObjectID
newObjectID()
Create a new ObjectID.static ObjectID
newObjectID(String uuidStr)
Create a new ObjectID.static OperationID
newOperationID()
Create a new OperationID.static OperationID
newOperationID(String uuidStr)
Create a new OperationID.static PropertyID
newPropertyID()
Create a new PropertyID.static PropertyID
newPropertyID(String uuidStr)
Create a new PropertyID.static ResourceID
newResourceID()
Create a new ResourceID.static ResourceID
newResourceID(String uuidStr)
Create a new ResourceID.static SessionID
newSessionID()
Create a new SessionID.static SessionID
newSessionID(String uuidStr)
Create a new SessionID.static StorageLocationID
newStorageLocationID()
Create a new StorageLocationID.static StorageLocationID
newStorageLocationID(String uuidStr)
Create a new StorageLocationID.
-
-
-
Method Detail
-
newAccountID
public static AccountID newAccountID(String uuidStr)
Create a new account ID.- Parameters:
uuidStr
- UUID string representation.- Returns:
- AccountID.
-
newContractID
public static ContractID newContractID(String uuidStr)
Create a new contract ID.- Parameters:
uuidStr
- UUID string representation.- Returns:
- ContractID.
-
newCredentialID
public static CredentialID newCredentialID(String uuidStr)
Create a new credential ID.- Parameters:
uuidStr
- UUID string representation.- Returns:
- CredentialID.
-
newDataClayInstanceID
public static DataClayInstanceID newDataClayInstanceID(String uuidStr)
Create a new DataClayInstanceID ID.- Parameters:
uuidStr
- UUID string representation.- Returns:
- DataClayInstanceID.
-
newDataContractID
public static DataContractID newDataContractID(String uuidStr)
Create a new DataContractID ID.- Parameters:
uuidStr
- UUID string representation.- Returns:
- DataContractID.
-
newDataSetID
public static DataSetID newDataSetID(String uuidStr)
Create a new DataSetID.- Parameters:
uuidStr
- UUID string representation.- Returns:
- DataSetID.
-
newECAID
public static ECAID newECAID(String uuidStr)
Create a new ECAID.- Parameters:
uuidStr
- UUID string representation.- Returns:
- ECAID.
-
newEventMessageID
public static EventMessageID newEventMessageID(String uuidStr)
Create a new EventMessageID.- Parameters:
uuidStr
- UUID string representation.- Returns:
- EventMessageID.
-
newEventObjsMeetConditionID
public static EventObjsMeetConditionID newEventObjsMeetConditionID(String uuidStr)
Create a new EventObjsMeetConditionID.- Parameters:
uuidStr
- UUID string representation.- Returns:
- EventObjsMeetConditionID.
-
newExecutionEnvironmentID
public static ExecutionEnvironmentID newExecutionEnvironmentID(String uuidStr)
Create a new ExecutionEnvironmentID.- Parameters:
uuidStr
- UUID string representation.- Returns:
- ExecutionEnvironmentID.
-
newImplementationID
public static ImplementationID newImplementationID(String uuidStr)
Create a new ImplementationID.- Parameters:
uuidStr
- UUID string representation.- Returns:
- ImplementationID.
-
newInterfaceID
public static InterfaceID newInterfaceID(String uuidStr)
Create a new InterfaceID.- Parameters:
uuidStr
- UUID string representation.- Returns:
- InterfaceID.
-
newMetaClassID
public static MetaClassID newMetaClassID(String uuidStr)
Create a new MetaClassID.- Parameters:
uuidStr
- UUID string representation.- Returns:
- MetaClassID.
-
newNamespaceID
public static NamespaceID newNamespaceID(String uuidStr)
Create a new NamespaceID.- Parameters:
uuidStr
- UUID string representation.- Returns:
- NamespaceID.
-
newObjectID
public static ObjectID newObjectID(String uuidStr)
Create a new ObjectID.- Parameters:
uuidStr
- UUID string representation.- Returns:
- ObjectID.
-
newOperationID
public static OperationID newOperationID(String uuidStr)
Create a new OperationID.- Parameters:
uuidStr
- UUID string representation.- Returns:
- OperationID.
-
newPropertyID
public static PropertyID newPropertyID(String uuidStr)
Create a new PropertyID.- Parameters:
uuidStr
- UUID string representation.- Returns:
- PropertyID.
-
newResourceID
public static ResourceID newResourceID(String uuidStr)
Create a new ResourceID.- Parameters:
uuidStr
- UUID string representation.- Returns:
- ResourceID.
-
newSessionID
public static SessionID newSessionID(String uuidStr)
Create a new SessionID.- Parameters:
uuidStr
- UUID string representation.- Returns:
- SessionID.
-
newStorageLocationID
public static StorageLocationID newStorageLocationID(String uuidStr)
Create a new StorageLocationID.- Parameters:
uuidStr
- UUID string representation.- Returns:
- StorageLocationID.
-
newAccountID
public static AccountID newAccountID()
Create a new account ID.- Returns:
- AccountID.
-
newContractID
public static ContractID newContractID()
Create a new contract ID.- Returns:
- ContractID.
-
newCredentialID
public static CredentialID newCredentialID()
Create a new credential ID.- Returns:
- CredentialID.
-
newDataClayInstanceID
public static DataClayInstanceID newDataClayInstanceID()
Create a new DataClayInstanceID ID.- Returns:
- DataClayInstanceID.
-
newDataContractID
public static DataContractID newDataContractID()
Create a new DataContractID ID.- Returns:
- DataContractID.
-
newDataSetID
public static DataSetID newDataSetID()
Create a new DataSetID.- Returns:
- DataSetID.
-
newECAID
public static ECAID newECAID()
Create a new ECAID.- Returns:
- ECAID.
-
newEventMessageID
public static EventMessageID newEventMessageID()
Create a new EventMessageID.- Returns:
- EventMessageID.
-
newEventObjsMeetConditionID
public static EventObjsMeetConditionID newEventObjsMeetConditionID()
Create a new EventObjsMeetConditionID.- Returns:
- EventObjsMeetConditionID.
-
newExecutionEnvironmentID
public static ExecutionEnvironmentID newExecutionEnvironmentID()
Create a new ExecutionEnvironmentID.- Returns:
- ExecutionEnvironmentID.
-
newImplementationID
public static ImplementationID newImplementationID()
Create a new ImplementationID.- Returns:
- ImplementationID.
-
newInterfaceID
public static InterfaceID newInterfaceID()
Create a new InterfaceID.- Returns:
- InterfaceID.
-
newMetaClassID
public static MetaClassID newMetaClassID()
Create a new MetaClassID.- Returns:
- MetaClassID.
-
newNamespaceID
public static NamespaceID newNamespaceID()
Create a new NamespaceID.- Returns:
- NamespaceID.
-
newObjectID
public static ObjectID newObjectID()
Create a new ObjectID.- Returns:
- ObjectID.
-
newOperationID
public static OperationID newOperationID()
Create a new OperationID.- Returns:
- OperationID.
-
newPropertyID
public static PropertyID newPropertyID()
Create a new PropertyID.- Returns:
- PropertyID.
-
newResourceID
public static ResourceID newResourceID()
Create a new ResourceID.- Returns:
- ResourceID.
-
newSessionID
public static SessionID newSessionID()
Create a new SessionID.- Returns:
- SessionID.
-
newStorageLocationID
public static StorageLocationID newStorageLocationID()
Create a new StorageLocationID.- Returns:
- StorageLocationID.
-
-