Class TypeDeclarations

java.lang.Object
de.digitalcollections.cudami.model.config.TypeDeclarations

public class TypeDeclarations extends Object
  • Constructor Details

    • TypeDeclarations

      public TypeDeclarations(List<String> manufacturingTypes, List<String> mediaTypes, List<String> subjectTypes, List<de.digitalcollections.model.identifiable.entity.manifestation.ExpressionType> expressionTypes, List<de.digitalcollections.model.text.TitleType> titleTypes)
  • Method Details

    • getRelationPredicates

      public List<String> getRelationPredicates()
    • getManufacturingTypes

      public List<String> getManufacturingTypes()
    • getMediaTypes

      public List<String> getMediaTypes()
    • getSubjectTypes

      public List<String> getSubjectTypes()
    • getExpressionTypes

      public List<de.digitalcollections.model.identifiable.entity.manifestation.ExpressionType> getExpressionTypes()
    • getTitleTypes

      public List<de.digitalcollections.model.text.TitleType> getTitleTypes()
    • setRelationPredicates

      public void setRelationPredicates(List<String> relationPredicates)
    • findExpressionTypes

      public List<de.digitalcollections.model.identifiable.entity.manifestation.ExpressionType> findExpressionTypes(String mainType, String subType)
      Finds ExpressionTypes that meet the passed main and sub type. If an exact match is not found then all types matching either main or sub type are returned.
      Parameters:
      mainType - can be null
      subType - can be null
      Returns:
      list of matching types or an empty list
    • findTitleTypes

      public List<de.digitalcollections.model.text.TitleType> findTitleTypes(String mainType, String subType)
      Finds TitleTypes that meet the passed main and sub type. If an exact match is not found then all types matching either main or sub type are returned.
      Parameters:
      mainType - can be null
      subType - can be null
      Returns:
      list of matching types or an empty list