Class MyCheckSumType
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.implementation.MyUntypedData
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.implementation.MyCheckSumType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<UntypedData>
@Entity @Indexed public final class MyCheckSumType extends MyUntypedData
Internal representation ofCheckSumTypefor persistence with HIBERNATE- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData
ALL_RIGHTS_RESERVED, EMPTY, string
-
-
Constructor Summary
Constructors Constructor Description MyCheckSumType()Default constructor forMyCheckSumTypeis necessary for PojoInstantiator of HIBERNATE.MyCheckSumType(UntypedData edal)Copy constructor to convert publicCheckSumTypeto privateMyCheckSumType.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAlgorithm()java.lang.StringgetCheckSum()voidsetAlgorithm(java.lang.String algorithm)voidsetCheckSum(java.lang.String checkSum)CheckSumTypetoCheckSumType()Convert thisMyCheckSumTypeto a publicCheckSumType.java.lang.StringtoString()-
Methods inherited from class de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.implementation.MyUntypedData
getId, getString, setId, setString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from class de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData
compareTo, equals, hashCode, toHTML
-
-
-
-
Constructor Detail
-
MyCheckSumType
public MyCheckSumType()
Default constructor forMyCheckSumTypeis necessary for PojoInstantiator of HIBERNATE.
-
MyCheckSumType
public MyCheckSumType(UntypedData edal)
Copy constructor to convert publicCheckSumTypeto privateMyCheckSumType.- Parameters:
edal- the EDAL publicUntypedDataobject to be cloned
-
-
Method Detail
-
getAlgorithm
public java.lang.String getAlgorithm()
- Returns:
- the algorithm
-
getCheckSum
public java.lang.String getCheckSum()
- Returns:
- the checkSum
-
setAlgorithm
public void setAlgorithm(java.lang.String algorithm)
- Parameters:
algorithm- the algorithm to set
-
setCheckSum
public void setCheckSum(java.lang.String checkSum)
- Parameters:
checkSum- the checkSum to set
-
toCheckSumType
public CheckSumType toCheckSumType()
Convert thisMyCheckSumTypeto a publicCheckSumType.- Returns:
- a
CheckSumTypeobject.
-
toString
public java.lang.String toString()
Description copied from class:UntypedData- Overrides:
toStringin classUntypedData
-
-