Interface MemResource

    • Method Detail

      • getSubjectStatementList

        MemStatementList getSubjectStatementList()
        Gets the list of statements for which this MemResource is the subject.
        Returns:
        a MemStatementList containing the statements.
      • getSubjectStatementCount

        int getSubjectStatementCount()
        Gets the number of statements for which this MemResource is the subject.
        Returns:
        An integer larger than or equal to 0.
      • addSubjectStatement

        void addSubjectStatement​(MemStatement st)
        Adds a statement to this MemResource's list of statements for which it is the subject.
        Parameters:
        st -
      • removeSubjectStatement

        void removeSubjectStatement​(MemStatement st)
        Removes a statement from this MemResource's list of statements for which it is the subject.
        Parameters:
        st -
      • cleanSnapshotsFromSubjectStatements

        void cleanSnapshotsFromSubjectStatements​(int currentSnapshot)
        Removes statements from old snapshots (those that have expired at or before the specified snapshot version) from this MemValue's list of statements for which it is the subject.
        Parameters:
        currentSnapshot - The current snapshot version.
      • getContextStatementList

        MemStatementList getContextStatementList()
        Gets the list of statements for which this MemResource represents the context.
        Returns:
        a MemStatementList containing the statements.
      • getContextStatementCount

        int getContextStatementCount()
        Gets the number of statements for which this MemResource represents the context.
        Returns:
        An integer larger than or equal to 0.
      • addContextStatement

        void addContextStatement​(MemStatement st)
        Adds a statement to this MemResource's list of statements for which it represents the context.
        Parameters:
        st -
      • removeContextStatement

        void removeContextStatement​(MemStatement st)
        Removes a statement from this MemResource's list of statements for which it represents the context.
        Parameters:
        st -
      • cleanSnapshotsFromContextStatements

        void cleanSnapshotsFromContextStatements​(int currentSnapshot)
        Removes statements from old snapshots (those that have expired at or before the specified snapshot version) from this MemValue's list of statements for which it is the context.
        Parameters:
        currentSnapshot - The current snapshot version.