java.lang.Object
de.digitalcollections.model.impl.identifiable.parts.structuredcontent.ContentBlockImpl
de.digitalcollections.model.impl.identifiable.parts.structuredcontent.ContentBlockNodeImpl
All Implemented Interfaces:
ContentBlock, ContentBlockNode
Direct Known Subclasses:
BlockquoteImpl, BulletListImpl, CodeBlockImpl, ContentBlockNodeWithAttributesImpl, ListItemImpl, ParagraphImpl, TableImpl, TableRowImpl

public abstract class ContentBlockNodeImpl
extends ContentBlockImpl
implements ContentBlockNode
  • Field Details

    • contentBlocks

      protected java.util.List<ContentBlock> contentBlocks
  • Constructor Details

    • ContentBlockNodeImpl

      public ContentBlockNodeImpl()
  • Method Details

    • getContentBlocks

      public java.util.List<ContentBlock> getContentBlocks()
      Specified by:
      getContentBlocks in interface ContentBlockNode
    • setContentBlocks

      public void setContentBlocks​(java.util.List<ContentBlock> contentBlocks)
      Specified by:
      setContentBlocks in interface ContentBlockNode
    • addContentBlock

      public void addContentBlock​(ContentBlock contentBlock)
      Specified by:
      addContentBlock in interface ContentBlockNode
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object