Class LocQualityIssue

    • Constructor Detail

      • LocQualityIssue

        public LocQualityIssue()
        Creates a new LocQualityIssue object without initial data.
      • LocQualityIssue

        public LocQualityIssue​(String comment)
        Creates a new LocQualityIssue object with a comment.
        Parameters:
        comment - the comment to set.
    • Method Detail

      • getDataCategoryName

        public String getDataCategoryName()
        Description copied from interface: IITSItem
        Gets the id/name of this data category.
        Returns:
        the id/name of this data category.
      • validate

        public void validate()
        Description copied from interface: IITSItem
        Validates the data category. Checks if all required attributes are set properly.
      • createCopy

        public IITSItem createCopy()
        Description copied from interface: IITSItem
        Creates a deep-copy clone of this item.
        Returns:
        the duplicated item.
      • hasUnresolvedGroup

        public boolean hasUnresolvedGroup()
        Description copied from interface: IITSItem
        Indicates if this item has currently a reference to a stand-off element that has not been resolved yet.

        This occurs for example when a unit element has a reference to a set of Provenance instances and the stand-off element has not been read yet (because the reading of the unit's element is done after the reading of its attributes.

        Specified by:
        hasUnresolvedGroup in interface IITSItem
        Overrides:
        hasUnresolvedGroup in class DataCategory
        Returns:
        true if this item has currently an unresolved reference to a stand-off element.
      • getUnresolvedGroupRef

        public String getUnresolvedGroupRef()
      • setUnresolvedGroupRef

        public void setUnresolvedGroupRef​(String unresolvedGroupRef)
      • getType

        public String getType()
      • setType

        public void setType​(String type)
      • getComment

        public String getComment()
      • setComment

        public void setComment​(String comment)
      • getSeverity

        public Double getSeverity()
      • setSeverity

        public void setSeverity​(double severity)
      • getProfileRef

        public String getProfileRef()
      • setProfileRef

        public void setProfileRef​(String profileRef)
      • isEnabled

        public boolean isEnabled()
      • setEnabled

        public void setEnabled​(boolean enabled)