Class SolidContainer

    • Constructor Detail

      • SolidContainer

        public SolidContainer​(URI identifier)
        Create a new SolidContainer.
        Parameters:
        identifier - the container's unique identifier
      • SolidContainer

        public SolidContainer​(URI identifier,
                              Dataset dataset)
        Create a new SolidContainer.
        Parameters:
        identifier - the container's unique identifier
        dataset - the dataset for this container, may be null
      • SolidContainer

        public SolidContainer​(URI identifier,
                              Dataset dataset,
                              Metadata metadata)
        Create a new SolidContainer.
        Parameters:
        identifier - the container's unique identifier
        dataset - the dataset for this container, may be null
        metadata - the container's metadata, may be null
    • Method Detail

      • getResources

        public Set<SolidResource> getResources()
        Get an immutable collection of resources contained in this SolidContainer.
        Returns:
        the contained resources
      • validate

        public ValidationResult validate()
        Description copied from class: RDFSource
        Validate the dataset for this object.

        Subclasses may override this method to perform validation on the provided dataset. By default, this method is a no-op.

        Overrides:
        validate in class RDFSource
        Returns:
        the validation result