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 voidaddAttribute(java.lang.String key, java.lang.Object value)booleanequals(java.lang.Object o)java.lang.ObjectgetAttribute(java.lang.String key)java.util.Map<java.lang.String,java.lang.Object>getAttributes()inthashCode()voidsetAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)java.lang.StringtoString()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:
addAttributein interfaceAttributes
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
getAttribute
public java.lang.Object getAttribute(java.lang.String key)- Specified by:
getAttributein interfaceAttributes
-
getAttributes
public java.util.Map<java.lang.String,java.lang.Object> getAttributes()- Specified by:
getAttributesin interfaceAttributes
-
setAttributes
public void setAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)- Specified by:
setAttributesin interfaceAttributes
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-