Package net.sf.basedb.core.data
Class FileTypeIndex
java.lang.Object
net.sf.basedb.core.data.FileTypeIndex
- All Implemented Interfaces:
Serializable
This is a helper class for the
PlatformData
item to
help with the Hibernate mapping to PlatformFileTypeData
object.- Version:
- 2.5
- Author:
- Nicklas
- See Also:
- Last modified
- $Date: 2015-04-16 13:47:41 +0200 (to, 16 apr 2015) $
-
Field Summary
Modifier and TypeFieldDescriptionprivate DataFileTypeData
private static final long
private PlatformVariantData
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Check if this object is equal to anotherFileTypeIndex
object.int
hashCode()
Calculate the hash code for the object.private void
(package private) void
setDataFileType
(DataFileTypeData fileType) (package private) void
setVariant
(PlatformVariantData variant) private void
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
variant
-
fileType
-
-
Constructor Details
-
FileTypeIndex
FileTypeIndex() -
FileTypeIndex
-
-
Method Details
-
getVariant
- Hibernate: many-to-one
- column="`variant_id`" outer-join="false"
-
setVariant
-
getDataFileType
- Hibernate: many-to-one
- column="`datafiletype_id`" outer-join="false"
-
setDataFileType
-
equals
Check if this object is equal to anotherFileTypeIndex
object. They are equal if both have the same fileType and variant id. -
hashCode
public int hashCode()Calculate the hash code for the object. -
readObject
- Throws:
ClassNotFoundException
IOException
-
writeObject
- Throws:
IOException
-