Class CollectionContent

    • Constructor Detail

      • CollectionContent

        public CollectionContent()
    • Method Detail

      • getResourceType

        public URI getResourceType()
        The type of resource being covered in this collection.
        Returns:
        The type of resource being covered in this collection.
      • setResourceType

        public void setResourceType​(URI resourceType)
        The type of resource being covered in this collection.
        Parameters:
        resourceType - The type of resource being covered in this collection.
      • resourceType

        public CollectionContent resourceType​(URI resourceType)
        Build out the content with a resource type.
        Parameters:
        resourceType - The resource type.
        Returns:
        this.
      • resourceType

        public CollectionContent resourceType​(ResourceType resourceType)
        Build out the content with a resource type.
        Parameters:
        resourceType - The resource type.
        Returns:
        this.
      • getKnownResourceType

        public ResourceType getKnownResourceType()
        The type of resource being covered in this collection.
        Returns:
        The type of resource being covered in this collection.
      • setKnownResourceType

        public void setKnownResourceType​(ResourceType type)
        The type of resource being covered in this collection.
        Parameters:
        type - The type of resource being covered in this collection.
      • getCount

        public Integer getCount()
        The count of the items applicable to this content aspect.
        Returns:
        The count of the items applicable to this content aspect.
      • setCount

        public void setCount​(Integer count)
        The count of the items applicable to this content aspect.
        Parameters:
        count - The count of the items applicable to this content aspect.
      • count

        public CollectionContent count​(Integer count)
        Build out this collection content with a count.
        Parameters:
        count - The count.
        Returns:
        this.
      • getCompleteness

        public Float getCompleteness()
        A completeness factor for this content; i.e. what percentage of the total number of items in the collection is included in this content aspect. The completeness factor is a value between 0 and 1.
        Returns:
        A completeness factor for this content aspect, a value between 0 and 1.
      • setCompleteness

        public void setCompleteness​(Float completeness)
        A completeness factor for this content; i.e. what percentage of the total number of items in the collection is included in this content aspect. The completeness factor is a value between 0 and 1.
        Parameters:
        completeness - A completeness factor for this content aspect, a value between 0 and 1.
      • completeness

        public CollectionContent completeness​(Float completeness)
        Build out this content with completeness.
        Parameters:
        completeness - The completeness.
        Returns:
        this.