Class ContentBlockWithAttributesImpl

java.lang.Object
de.digitalcollections.model.impl.identifiable.parts.structuredcontent.ContentBlockImpl
de.digitalcollections.model.impl.identifiable.parts.structuredcontent.ContentBlockWithAttributesImpl
All Implemented Interfaces:
ContentBlock, Attributes
Direct Known Subclasses:
IFrameImpl, ImageImpl, VideoImpl

public abstract class ContentBlockWithAttributesImpl
extends ContentBlockImpl
implements Attributes
  • Constructor Summary

    Constructors
    Constructor Description
    ContentBlockWithAttributesImpl()  
  • Method Summary

    Modifier and Type Method Description
    void addAttribute​(java.lang.String key, java.lang.Object value)  
    boolean equals​(java.lang.Object o)  
    java.lang.Object getAttribute​(java.lang.String key)  
    java.util.Map<java.lang.String,​java.lang.Object> getAttributes()  
    int hashCode()  
    void setAttributes​(java.util.Map<java.lang.String,​java.lang.Object> attributes)  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ContentBlockWithAttributesImpl

      public ContentBlockWithAttributesImpl()
  • Method Details

    • addAttribute

      public void addAttribute​(java.lang.String key, java.lang.Object value)
      Specified by:
      addAttribute in interface Attributes
    • equals

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

      public java.lang.Object getAttribute​(java.lang.String key)
      Specified by:
      getAttribute in interface Attributes
    • getAttributes

      public java.util.Map<java.lang.String,​java.lang.Object> getAttributes()
      Specified by:
      getAttributes in interface Attributes
    • setAttributes

      public void setAttributes​(java.util.Map<java.lang.String,​java.lang.Object> attributes)
      Specified by:
      setAttributes in interface Attributes
    • hashCode

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

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