Class MyDataSize
- 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.MyDataSize
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UntypedData>
@Entity @Indexed public final class MyDataSize extends MyUntypedData
Internal representation ofDataSize
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 MyDataSize()
Default constructor forMyDataSize
is necessary for PojoInstantiator of HIBERNATE.MyDataSize(UntypedData edal)
Copy constructor to convert publicDataSize
to privateMyDataSize
.
-
Method Summary
Modifier and Type Method Description java.lang.Long
getSize()
Getter for the fieldsize
.void
setSize(java.lang.Long size)
Setter for the fieldsize
.DataSize
toDataSize()
Convert thisMyDataSize
to a publicDataSize
.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
-
MyDataSize
public MyDataSize()
Default constructor forMyDataSize
is necessary for PojoInstantiator of HIBERNATE.
-
MyDataSize
public MyDataSize(UntypedData edal)
Copy constructor to convert publicDataSize
to privateMyDataSize
.- Parameters:
edal
- the EDAL publicUntypedData
object to be cloned
-
-
Method Detail
-
toDataSize
public DataSize toDataSize()
Convert thisMyDataSize
to a publicDataSize
.- Returns:
- a
DataSize
object.
-
setSize
public void setSize(java.lang.Long size)
Setter for the fieldsize
.- Parameters:
size
- the size to set
-
getSize
public java.lang.Long getSize()
Getter for the fieldsize
.- Returns:
- size
-
toString
public java.lang.String toString()
- Overrides:
toString
in classUntypedData
-
-