Class MarkImpl
- java.lang.Object
-
- de.digitalcollections.model.impl.identifiable.parts.structuredcontent.contentblocks.MarkImpl
-
- All Implemented Interfaces:
Attributes,Mark
public class MarkImpl extends Object implements Mark
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAttribute(String key, Object value)booleanequals(Object o)ObjectgetAttribute(String key)Map<String,Object>getAttributes()StringgetType()inthashCode()voidsetAttributes(Map<String,Object> attributes)voidsetType(String type)StringtoString()
-
-
-
Constructor Detail
-
MarkImpl
public MarkImpl()
-
MarkImpl
public MarkImpl(String type)
-
-
Method Detail
-
getAttributes
public Map<String,Object> getAttributes()
- Specified by:
getAttributesin interfaceAttributes
-
setAttributes
public void setAttributes(Map<String,Object> attributes)
- Specified by:
setAttributesin interfaceAttributes
-
addAttribute
public void addAttribute(String key, Object value)
- Specified by:
addAttributein interfaceAttributes
-
getAttribute
public Object getAttribute(String key)
- Specified by:
getAttributein interfaceAttributes
-
-