java.lang.Object
eu.dzhw.fdz.metadatamanagement.common.domain.AbstractRdcDomainObject
eu.dzhw.fdz.metadatamanagement.conceptmanagement.domain.Concept
All Implemented Interfaces:
eu.dzhw.fdz.metadatamanagement.common.domain.projections.AbstractRdcDomainObjectProjection, eu.dzhw.fdz.metadatamanagement.conceptmanagement.domain.projections.ConceptSubDocumentProjection, Serializable

public class Concept
extends AbstractRdcDomainObject
implements eu.dzhw.fdz.metadatamanagement.conceptmanagement.domain.projections.ConceptSubDocumentProjection
A concept is something which cannot be observed directly but there is a model which helps observing the concept. E.g.: The concept "Personality" can be observed with the help of the five-factor model (Big5).
See Also:
Serialized Form
  • Field Summary

    Fields
    Modifier and Type Field Description
    private @Valid @NotEmpty(message="concept-management.error.concept.authors.not-empty") List<Person> authors
    List of Persons which have defined this concept.
    private @NotEmpty(message="concept-management.error.concept.citation-hint.not-empty") @Size(max=2048,message="concept-management.error.concept.citation-hint.size") String citationHint
    Hint on how to cite this concept.
    private @NotNull(message="concept-management.error.concept.description.not-null") @I18nStringSize(max=2048,message="concept-management.error.concept.description.i18n-string-size") @I18nStringEntireNotEmpty(message="concept-management.error.concept.description.i18n-string-not-empty") I18nString description
    A description of the concept.
    private @Size(max=512,message="concept-management.error.concept.doi.size") String doi
    The doi of the paper defining the concept.
    private @NotEmpty(message="concept-management.error.concept.id.not-empty") @Pattern(regexp="^con-[^,;\\s]+\\$$",message="concept-management.error.concept.id.not-valid-id") @Size(max=512,message="concept-management.error.concept.id.size") String id
    The id of the concept which uniquely identifies the concept in this application.
    private @Size(max=1048576,message="concept-management.error.concept.license.size") String license
    The license of this concept.
    private @NotEmpty(message="concept-management.error.concept.original-languages.not-empty") Set<@ValidIsoLanguage(message="concept-management.error.concept.original-languages.not-valid-iso") String> originalLanguages
    The original languages of the definition of the concept as ISO 639 code.
    private static long serialVersionUID  
    private @Valid @NotNull(message="concept-management.error.concept.tags.not-null") Tags tags
    Keywords for the concept.
    private @NotNull(message="concept-management.error.concept.title.not-null") @I18nStringSize(max=512,message="concept-management.error.concept.title.i18n-string-size") @I18nStringEntireNotEmpty(message="concept-management.error.concept.title.i18n-string-entire-not-empty") I18nString title
    The title of the concept.
  • Constructor Summary

    Constructors
    Constructor Description
    Concept​(Concept concept)  
  • Method Summary

    Methods inherited from class eu.dzhw.fdz.metadatamanagement.common.domain.AbstractRdcDomainObject

    getId

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface eu.dzhw.fdz.metadatamanagement.common.domain.projections.AbstractRdcDomainObjectProjection

    getCreatedBy, getCreatedDate, getId, getLastModifiedBy, getLastModifiedDate, getVersion

    Methods inherited from interface eu.dzhw.fdz.metadatamanagement.conceptmanagement.domain.projections.ConceptSubDocumentProjection

    getAuthors, getDoi, getTags, getTitle
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
      Constant Field Values
    • id

      @NotEmpty(message="concept-management.error.concept.id.not-empty") @Pattern(regexp="^con-[^,;\\s]+\\$$", message="concept-management.error.concept.id.not-valid-id") @Size(max=512, message="concept-management.error.concept.id.size") private @NotEmpty(message="concept-management.error.concept.id.not-empty") @Pattern(regexp="^con-[^,;\\s]+\\$$",message="concept-management.error.concept.id.not-valid-id") @Size(max=512,message="concept-management.error.concept.id.size") String id
      The id of the concept which uniquely identifies the concept in this application. Must not be empty and must not contain more than 512 characters. Must start with "con-" and end with "$" and must not contain any whitespace.
    • title

      @NotNull(message="concept-management.error.concept.title.not-null") @I18nStringSize(max=512, message="concept-management.error.concept.title.i18n-string-size") @I18nStringEntireNotEmpty(message="concept-management.error.concept.title.i18n-string-entire-not-empty") private @NotNull(message="concept-management.error.concept.title.not-null") @I18nStringSize(max=512,message="concept-management.error.concept.title.i18n-string-size") @I18nStringEntireNotEmpty(message="concept-management.error.concept.title.i18n-string-entire-not-empty") I18nString title
      The title of the concept. It must be specified in German and English and it must not contain more than 512 characters.
    • description

      @NotNull(message="concept-management.error.concept.description.not-null") @I18nStringSize(max=2048, message="concept-management.error.concept.description.i18n-string-size") @I18nStringEntireNotEmpty(message="concept-management.error.concept.description.i18n-string-not-empty") private @NotNull(message="concept-management.error.concept.description.not-null") @I18nStringSize(max=2048,message="concept-management.error.concept.description.i18n-string-size") @I18nStringEntireNotEmpty(message="concept-management.error.concept.description.i18n-string-not-empty") I18nString description
      A description of the concept. Markdown is supported. It must be specified in German and English and it must not contain more than 2048 characters.
    • authors

      @Valid @NotEmpty(message="concept-management.error.concept.authors.not-empty") private @Valid @NotEmpty(message="concept-management.error.concept.authors.not-empty") List<Person> authors
      List of Persons which have defined this concept. Must not be empty.
    • doi

      @Size(max=512, message="concept-management.error.concept.doi.size") private @Size(max=512,message="concept-management.error.concept.doi.size") String doi
      The doi of the paper defining the concept. Must not contain more than 512 characters.
    • license

      @Size(max=1048576, message="concept-management.error.concept.license.size") private @Size(max=1048576,message="concept-management.error.concept.license.size") String license
      The license of this concept. Markdown is supported. Must not contain more than 1 MB characters.
    • citationHint

      @NotEmpty(message="concept-management.error.concept.citation-hint.not-empty") @Size(max=2048, message="concept-management.error.concept.citation-hint.size") private @NotEmpty(message="concept-management.error.concept.citation-hint.not-empty") @Size(max=2048,message="concept-management.error.concept.citation-hint.size") String citationHint
      Hint on how to cite this concept. Markdown is supported. Must not be empty and must not contain more than 2048 characters.
    • tags

      @Valid @NotNull(message="concept-management.error.concept.tags.not-null") private @Valid @NotNull(message="concept-management.error.concept.tags.not-null") Tags tags
      Keywords for the concept. Must not be empty.
    • originalLanguages

      @NotEmpty(message="concept-management.error.concept.original-languages.not-empty") private @NotEmpty(message="concept-management.error.concept.original-languages.not-empty") Set<@ValidIsoLanguage(message="concept-management.error.concept.original-languages.not-valid-iso") String> originalLanguages
      The original languages of the definition of the concept as ISO 639 code. Must not be empty.
  • Constructor Details

    • Concept

      public Concept​(Concept concept)