Class MetaDataImplementation
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.MetaData
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.file.implementation.MetaDataImplementation
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
@Entity public class MetaDataImplementation extends MetaData implements java.lang.Cloneable
Implementation ofMetaData
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.MetaData
DIRECTORY, ELEMENT_TYPE_MAP, EMPTY, metaDataValues, UNKNOWN, UNKNOWN_STRING
-
-
Constructor Summary
Constructors Constructor Description MetaDataImplementation()
Default constructor forMetaDataImplementation
is necessary for PojoInstantiator of HIBERNATE.
-
Method Summary
Modifier and Type Method Description MetaDataImplementation
clone()
Clone theMetaDataImplementation
object.protected int
getId()
Getter for the fieldid
.protected java.util.Map<EnumDublinCoreElements,MyUntypedData>
getMyMap()
Getter for the fieldmyMap
.void
setElementValue(EnumDublinCoreElements key, UntypedData value)
Modify the value of a meta data elementprotected void
setId(int id)
Setter for the fieldid
.protected void
setMyMap(java.util.Map<EnumDublinCoreElements,MyUntypedData> myMap)
Setter for the fieldmyMap
.-
Methods inherited from class de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.MetaData
equals, getElementValue, hashCode, toString
-
-
-
-
Constructor Detail
-
MetaDataImplementation
public MetaDataImplementation()
Default constructor forMetaDataImplementation
is necessary for PojoInstantiator of HIBERNATE.
-
-
Method Detail
-
clone
public MetaDataImplementation clone() throws java.lang.CloneNotSupportedException
Clone theMetaDataImplementation
object.- Overrides:
clone
in classMetaData
- Returns:
- a
MetaDataImplementation
object. - Throws:
java.lang.CloneNotSupportedException
- if unable to clone the object.
-
getId
protected int getId()
Getter for the fieldid
.- Returns:
- a int.
-
getMyMap
protected java.util.Map<EnumDublinCoreElements,MyUntypedData> getMyMap()
Getter for the fieldmyMap
.- Returns:
- a
Map
object.
-
setElementValue
public void setElementValue(EnumDublinCoreElements key, UntypedData value) throws MetaDataException
Modify the value of a meta data element- Overrides:
setElementValue
in classMetaData
- Parameters:
key
- the element to set.value
- the new value for the element.- Throws:
MetaDataException
- if unable to set meta data element.
-
setId
protected void setId(int id)
Setter for the fieldid
.- Parameters:
id
- a int.
-
setMyMap
protected void setMyMap(java.util.Map<EnumDublinCoreElements,MyUntypedData> myMap)
Setter for the fieldmyMap
.- Parameters:
myMap
- aMap
object.
-
-