org.proteios.core.data
Class ProtocolData
java.lang.Object
org.proteios.core.data.BasicData
org.proteios.core.data.OwnedData
org.proteios.core.data.SharedData
org.proteios.core.data.CommonData
org.proteios.core.data.ProtocolData
- All Implemented Interfaces:
- FileAttachableData, IdentifiableData, NameableData, OwnableData, RemovableData, ShareableData
public class ProtocolData
- extends CommonData
- implements FileAttachableData
- Version:
- 2.0
- Author:
- enell
- See Also:
Protocol,
Protocol overview- Hibernate: class
- table="`Protocols`" lazy="true"
ProtocolData
public ProtocolData()
getFile
public FileData getFile()
- Description copied from interface:
FileAttachableData
- Get the file that is attached to the item.
- Specified by:
getFile in interface FileAttachableData
- Returns:
- A
FileData object or null if no file is attached
setFile
public void setFile(FileData file)
- Description copied from interface:
FileAttachableData
- Attach a file to the item. Null is allowed.
- Specified by:
setFile in interface FileAttachableData
getProtocolType
public ProtocolTypeData getProtocolType()
- Get the associated
ProtocolTypeData item.
- Hibernate: many-to-one
- column="`protocoltype_id`" not-null="true" outer-join="false"
setProtocolType
public void setProtocolType(ProtocolTypeData protocolType)