Class NTupleOmitPrefixStorageLayoutConfig

    • Constructor Detail

      • NTupleOmitPrefixStorageLayoutConfig

        public NTupleOmitPrefixStorageLayoutConfig()
    • Method Detail

      • hasParameters

        public boolean hasParameters()
        Description copied from interface: OcflExtensionConfig
        Indicates if the extension defines parameters.
        Specified by:
        hasParameters in interface OcflExtensionConfig
        Returns:
        true if the extension defines parameters; false otherwise
      • getDelimiter

        public String getDelimiter()
        Returns:
        the delimiter marking end of prefix
      • getTupleSize

        public int getTupleSize()
        Returns:
        tupleSize - the segment size (in characters) to split the digest into
      • getNumberOfTuples

        public int getNumberOfTuples()
        Returns:
        The number of segments to use for path generation
      • isReverseObjectRoot

        public boolean isReverseObjectRoot()
        return true or false, indicates that the prefix-omitted, padded object identifier should be reversed
      • setDelimiter

        public NTupleOmitPrefixStorageLayoutConfig setDelimiter​(String delimiter)
        The case-insensitive, delimiter marking the end of the OCFL object identifier prefix; MUST consist of a character string of length one or greater. If the delimiter is found multiple times in the OCFL object identifier, its last occurrence (right-most) will be used to select the termination of the prefix.
        Parameters:
        delimiter - marking the end of prefix
      • setTupleSize

        public NTupleOmitPrefixStorageLayoutConfig setTupleSize​(int tupleSize)
        the segment size (in characters) to split the digest into
        Parameters:
        tupleSize - - the segment size (in characters) to split the digest into
      • setNumberOfTuples

        public NTupleOmitPrefixStorageLayoutConfig setNumberOfTuples​(int numberOfTuples)
        The number of segments to use for path generation
        Parameters:
        numberOfTuples - - The number of segments to use for path generation
      • setReverseObjectRoot

        public NTupleOmitPrefixStorageLayoutConfig setReverseObjectRoot​(boolean reverseObjectRoot)
        indicates that the prefix-omitted, padded object identifier should be reversed
        Parameters:
        reverseObjectRoot - - indicates that the prefix-omitted, padded object identifier should be reversed
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object