Package no.nsd.qddt.domain.study
Class Study
- java.lang.Object
- 
- no.nsd.qddt.domain.AbstractEntity
- 
- no.nsd.qddt.domain.AbstractEntityAudit
- 
- no.nsd.qddt.domain.study.Study
 
 
 
- 
- All Implemented Interfaces:
- IAuthor,- IArchived,- IEntityAuditXmlRef
 
 @Entity public class Study extends AbstractEntityAudit implements IAuthor, IArchived - A Study will have of one or more TopicGroups.
     - A TopicGroup will have one or more Concepts.
         - A Concept consist of one or more QuestionItems.
                 - Every QuestionItem will have a Question.
 - Every QuestionItem will have a ResponseDomain.
 
 
- A Concept consist of one or more QuestionItems.
                 
 
- A TopicGroup will have one or more Concepts.
         
 
 A publication structure for a specific study. Structures identification information, full bibliographic and discovery information, administrative information, all of the reusable delineations used for response domains and variable representations, and TopicGroups covering different points in the lifecycle of the study (DataCollection, LogicalProduct, PhysicalDataProduct, PhysicalInstance, Archive, and DDIProfile).
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class no.nsd.qddt.domain.AbstractEntityAuditAbstractEntityAudit.ChangeKind
 
- 
 - 
Field Summary- 
Fields inherited from class no.nsd.qddt.domain.AbstractEntityAudithasRun
 - 
Fields inherited from class no.nsd.qddt.domain.AbstractEntityLOG
 
- 
 - 
Constructor SummaryConstructors Constructor Description Study()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAuthor(Author user)Add aAuthorto aSetof authors.TopicGroupaddTopicGroup(TopicGroup topicGroup)protected voidbeforeInsert()protected voidbeforeUpdate()booleanequals(java.lang.Object o)voidfillDoc(PdfReport pdfReport, java.lang.String counter)java.util.Set<Author>getAuthors()Get all authors attached to this entity as aSetjava.lang.StringgetDescription()java.util.Set<Instrument>getInstruments()SurveyProgramgetSurveyProgram()java.util.Set<TopicGroup>getTopicGroups()AbstractXmlBuildergetXmlBuilder()inthashCode()booleanisArchived()voidremove()voidsetArchived(boolean archived)voidsetAuthors(java.util.Set<Author> authors)Set theSetofAuthorfor the entity.voidsetDescription(java.lang.String description)voidsetSurveyProgram(SurveyProgram surveyProgram)voidsetTopicGroups(java.util.Set<TopicGroup> topicGroups)java.lang.StringtoString()- 
Methods inherited from class no.nsd.qddt.domain.AbstractEntityAuditgetAgency, getBasedOnObject, getBasedOnRevision, getChangeComment, getChangeKind, getClassKind, getComments, getName, getVersion, getXmlLang, isBasedOn, isNewCopy, makeNewCopy, makePdf, setAgency, setBasedOnObject, setBasedOnRevision, setChangeComment, setChangeKind, setClassKind, setComments, setName, setVersion, setXmlLang
 - 
Methods inherited from class no.nsd.qddt.domain.AbstractEntitygetId, getModified, getModifiedBy, setField, setId, setModified, setModifiedBy
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface no.nsd.qddt.domain.IEntityAuditXmlRefgetId
 
- 
 
- 
- 
- 
Method Detail- 
getDescriptionpublic java.lang.String getDescription() 
 - 
setDescriptionpublic void setDescription(java.lang.String description) 
 - 
addAuthorpublic void addAuthor(Author user) Description copied from interface:IAuthorAdd aAuthorto aSetof authors.
 - 
getAuthorspublic java.util.Set<Author> getAuthors() Description copied from interface:IAuthorGet all authors attached to this entity as aSet- Specified by:
- getAuthorsin interface- IAuthor
 
 - 
setAuthorspublic void setAuthors(java.util.Set<Author> authors) Description copied from interface:IAuthorSet theSetofAuthorfor the entity.- Specified by:
- setAuthorsin interface- IAuthor
- Parameters:
- authors- populated set of authors.
 
 - 
getSurveyProgrampublic SurveyProgram getSurveyProgram() 
 - 
setSurveyProgrampublic void setSurveyProgram(SurveyProgram surveyProgram) 
 - 
getInstrumentspublic java.util.Set<Instrument> getInstruments() 
 - 
getTopicGroupspublic java.util.Set<TopicGroup> getTopicGroups() 
 - 
setTopicGroupspublic void setTopicGroups(java.util.Set<TopicGroup> topicGroups) 
 - 
addTopicGrouppublic TopicGroup addTopicGroup(TopicGroup topicGroup) 
 - 
isArchivedpublic boolean isArchived() - Specified by:
- isArchivedin interface- IArchived
 
 - 
setArchivedpublic void setArchived(boolean archived) - Specified by:
- setArchivedin interface- IArchived
 
 - 
equalspublic boolean equals(java.lang.Object o) - Overrides:
- equalsin class- AbstractEntityAudit
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- AbstractEntityAudit
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- AbstractEntityAudit
 
 - 
getXmlBuilderpublic AbstractXmlBuilder getXmlBuilder() - Specified by:
- getXmlBuilderin interface- IEntityAuditXmlRef
- Specified by:
- getXmlBuilderin class- AbstractEntity
 
 - 
fillDocpublic void fillDoc(PdfReport pdfReport, java.lang.String counter) - Specified by:
- fillDocin class- AbstractEntityAudit
 
 - 
removepublic void remove() 
 - 
beforeUpdateprotected void beforeUpdate() - Specified by:
- beforeUpdatein class- AbstractEntityAudit
 
 - 
beforeInsertprotected void beforeInsert() - Specified by:
- beforeInsertin class- AbstractEntityAudit
 
 
- 
 
-