Class ContentItemFactory.ContainerContentItem

    • Field Detail

      • continuityOfContent

        protected java.lang.String continuityOfContent
      • templateMappingResource

        protected java.lang.String templateMappingResource
      • templateIdentifier

        protected java.lang.String templateIdentifier
    • Constructor Detail

      • ContainerContentItem

        public ContainerContentItem​(ContentItem parent,
                                    AttributeList list)
        Parameters:
        parent - parent content item to add to
        list - the list of attributes for this content item
      • ContainerContentItem

        public ContainerContentItem​(ContentItem parent,
                                    java.lang.String relationshipType,
                                    CodedSequenceItem conceptName,
                                    boolean continuityOfContentIsSeparate,
                                    java.lang.String templateMappingResource,
                                    java.lang.String templateIdentifier)
                             throws DicomException
        Parameters:
        parent - parent content item to add to
        relationshipType - relationship type
        conceptName - coded concept name
        continuityOfContentIsSeparate - true if SEPARATE, false if CONTINUOUS
        templateMappingResource - identifier of the template mapping resource
        templateIdentifier - identifier of the template
        Throws:
        DicomException - if error in DICOM encoding
      • ContainerContentItem

        public ContainerContentItem​(ContentItem parent,
                                    java.lang.String relationshipType,
                                    CodedSequenceItem conceptName,
                                    boolean continuityOfContentIsSeparate)
                             throws DicomException
        Parameters:
        parent - parent content item to add to
        relationshipType - relationship type
        conceptName - coded concept name
        continuityOfContentIsSeparate - true if SEPARATE, false if CONTINUOUS
        Throws:
        DicomException - if error in DICOM encoding
      • ContainerContentItem

        public ContainerContentItem​(ContentItem parent,
                                    java.lang.String relationshipType,
                                    CodedSequenceItem conceptName)
                             throws DicomException
        Parameters:
        parent - parent content item to add to
        relationshipType - relationship type
        conceptName - coded concept name
        Throws:
        DicomException - if error in DICOM encoding
    • Method Detail

      • getConceptValue

        public java.lang.String getConceptValue()
        Description copied from class: ContentItemWithValue

        Get a string representation of the value of the concept.

        The exact form of the returned string is specific to the type of ContentItem.

        Specified by:
        getConceptValue in class ContentItemWithValue
        Returns:
        a String representation of the name and value, or an empty string
      • getContinuityOfContent

        public java.lang.String getContinuityOfContent()
        Returns:
        the continuity of content
      • getTemplateMappingResource

        public java.lang.String getTemplateMappingResource()
        Returns:
        the template mapping resource
      • getTemplateIdentifier

        public java.lang.String getTemplateIdentifier()
        Returns:
        the template identifier
      • toString

        public java.lang.String toString()
        Description copied from class: ContentItemWithValue

        Get a human-readable string representation of the content item.

        Overrides:
        toString in class ContentItemWithValue
        Returns:
        the string representation of the content item