de.iai.ilcd.model.source
Class Source
java.lang.Object
de.iai.ilcd.model.common.DataSet
de.iai.ilcd.model.source.Source
- All Implemented Interfaces:
- de.fzk.iai.ilcd.service.model.IDataSetListVO, de.fzk.iai.ilcd.service.model.IDataSetVO, de.fzk.iai.ilcd.service.model.ISourceListVO, de.fzk.iai.ilcd.service.model.ISourceVO, java.io.Serializable
@Entity
public class Source
- extends DataSet
- implements java.io.Serializable, de.fzk.iai.ilcd.service.model.ISourceVO
- Author:
- clemens.duepmeier
- See Also:
- Serialized Form
Fields inherited from interface de.fzk.iai.ilcd.service.model.ISourceListVO |
URL_SUFFIX |
Methods inherited from class de.iai.ilcd.model.common.DataSet |
equals, getBranch, getClassification, getDataSetVersion, getDefaultName, getDescription, getHref, getId, getName, getPermanentUri, getReleaseState, getSourceId, getUuid, getUuidAsString, getVersion, getXmlFile, hashCode, isMostRecentVersion, setBranch, setClassification, setDescription, setHref, setId, setMostRecentVersion, setName, setPermanentUri, setReleaseState, setSourceId, setUuid, setVersion, setXmlFile |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface de.fzk.iai.ilcd.service.model.IDataSetVO |
getDescription |
Methods inherited from interface de.fzk.iai.ilcd.service.model.IDataSetListVO |
getClassification, getDataSetVersion, getDefaultName, getHref, getName, getPermanentUri, getSourceId, getUuidAsString, setHref, setSourceId |
shortName
protected MultiLanguageString shortName
citation
protected MultiLanguageText citation
publicationType
protected de.fzk.iai.ilcd.service.model.enums.PublicationTypeValue publicationType
Source
public Source()
getCitation
public MultiLanguageText getCitation()
- Specified by:
getCitation
in interface de.fzk.iai.ilcd.service.model.ISourceVO
setCitation
public void setCitation(MultiLanguageText citation)
getPublicationType
public de.fzk.iai.ilcd.service.model.enums.PublicationTypeValue getPublicationType()
- Specified by:
getPublicationType
in interface de.fzk.iai.ilcd.service.model.ISourceVO
setPublicationType
public void setPublicationType(de.fzk.iai.ilcd.service.model.enums.PublicationTypeValue publicationType)
getShortName
public MultiLanguageString getShortName()
setShortName
public void setShortName(MultiLanguageString shortName)
getContacts
public java.util.Set<GlobalReference> getContacts()
getContactsAsList
public java.util.List<GlobalReference> getContactsAsList()
- Convenience method for returning global references as List in order to user p:dataList (primefaces)
- Returns:
- List of global references
getBelongsTo
public java.util.List<de.fzk.iai.ilcd.service.model.common.IGlobalReference> getBelongsTo()
- Specified by:
getBelongsTo
in interface de.fzk.iai.ilcd.service.model.ISourceListVO
setContacts
protected void setContacts(java.util.Set<GlobalReference> contacts)
addContact
public void addContact(GlobalReference contact)
getFiles
public java.util.Set<DigitalFile> getFiles()
getFilesAsList
public java.util.List<DigitalFile> getFilesAsList()
- Convenience method for returning files as List in order to user p:dataList (primefaces)
- Returns:
- List of files
getFileReferences
public java.util.List<de.fzk.iai.ilcd.service.model.common.IGlobalReference> getFileReferences()
- Specified by:
getFileReferences
in interface de.fzk.iai.ilcd.service.model.ISourceListVO
setFiles
protected void setFiles(java.util.Set<DigitalFile> files)
addFile
public void addFile(DigitalFile file)
getFilesDirectory
public java.lang.String getFilesDirectory()
toString
public java.lang.String toString()
- Overrides:
toString
in class DataSet