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 ofCheckSumType
for 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 forMyCheckSumType
is necessary for PojoInstantiator of HIBERNATE.MyCheckSumType(UntypedData edal)
Copy constructor to convert publicCheckSumType
to privateMyCheckSumType
.
-
Method Summary
Modifier and Type Method Description java.lang.String
getAlgorithm()
java.lang.String
getCheckSum()
void
setAlgorithm(java.lang.String algorithm)
void
setCheckSum(java.lang.String checkSum)
CheckSumType
toCheckSumType()
Convert thisMyCheckSumType
to a publicCheckSumType
.java.lang.String
toString()
-
Methods inherited from class de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.implementation.MyUntypedData
getId, getString, setId, setString
-
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 forMyCheckSumType
is necessary for PojoInstantiator of HIBERNATE.
-
MyCheckSumType
public MyCheckSumType(UntypedData edal)
Copy constructor to convert publicCheckSumType
to privateMyCheckSumType
.- Parameters:
edal
- the EDAL publicUntypedData
object 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 thisMyCheckSumType
to a publicCheckSumType
.- Returns:
- a
CheckSumType
object.
-
toString
public java.lang.String toString()
Description copied from class:UntypedData
- Overrides:
toString
in classUntypedData
-
-