Class 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 Detail

      • DataClayIDFactory

        public DataClayIDFactory()
    • 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.