@Entity @Indexed public final class MyDataSize extends MyUntypedData
DataSize for persistence with
HIBERNATE.ALL_RIGHTS_RESERVED, EMPTY, string| Constructor and Description |
|---|
MyDataSize()
Default constructor for
MyDataSize is necessary for
PojoInstantiator of HIBERNATE. |
MyDataSize(UntypedData edal)
Copy constructor to convert public
DataSize to private
MyDataSize. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
getSize()
Getter for the field
size. |
void |
setSize(java.lang.Long size)
Setter for the field
size. |
DataSize |
toDataSize()
Convert this
MyDataSize to a public DataSize. |
java.lang.String |
toString() |
getId, getString, setId, setStringcompareTo, equals, hashCode, toHTMLpublic MyDataSize()
MyDataSize is necessary for
PojoInstantiator of HIBERNATE.public MyDataSize(UntypedData edal)
DataSize to private
MyDataSize.edal - the EDAL public UntypedData object to be clonedpublic DataSize toDataSize()
MyDataSize to a public DataSize.DataSize object.public void setSize(java.lang.Long size)
size.size - the size to setpublic java.lang.Long getSize()
size.public java.lang.String toString()
toString in class UntypedData