Class DngRequirement

    • Constructor Detail

      • DngRequirement

        public DngRequirement()
    • Method Detail

      • getPrimaryText

        @OslcPropertyDefinition("http://jazz.net/ns/rm#primaryText")
        @OslcValueType(XMLLiteral)
        public String getPrimaryText()
        Returns the primary text associated to the requirement. The primary text format is XHTML.
        Returns:
        the primary text associated to the requirement.
      • setPrimaryText

        public void setPrimaryText​(String primaryText)
      • setParentFolder

        public void setParentFolder​(URI parentFolder)
      • setWrappedResourceContentType

        public void setWrappedResourceContentType​(String wrappedResourceContentType)
        Parameters:
        wrappedResourceContentType - the wrapped resource's content type
        Since:
        1.2.0
      • setWrappedResource

        public void setWrappedResource​(URI wrappedResource)
        Parameters:
        wrappedResource - the wrapped resource's location
        Since:
        1.2.0
      • getImageTagForWrappedResource

        public static String getImageTagForWrappedResource​(URI wrappedResource)
        Parameters:
        wrappedResource - the wrapped resource's location
        Returns:
        an HTML img tag with the wrapped resource's location as source
        Since:
        1.2.0