Package be.gaudry.model.file.metadata
Class FileDescriptor
java.lang.Object
be.gaudry.model.file.metadata.FileDescriptor
- Direct Known Subclasses:
MediaDescriptor
Allows to use an xml file to store informations about a file. \n
Provided by the broldev.file.finder.model project.
- Since:
- 1.0 (Jun 11, 2011), broldev.file.finder.model 0.0.1-SNAPSHOT dependency
- Version:
- 1.0 (Jun 11, 2011)
- Author:
- Steph GAUDRY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAn entity primarily responsible for making the resource.getDate()
A point or period of time associated with an event in the lifecycle of the resource.Description may include but is not limited to: an abstract, a table of contents, a graphical representation, or a free-text account of the resource.A language of the resource.The topic of the resource.getTitle()
A name given to the resource.void
setCreator(String creator)
void
void
setDescription(String description)
void
setLanguage(String language)
void
setSubject(String subject)
void
-
Constructor Details
-
FileDescriptor
public FileDescriptor()
-
-
Method Details
-
getCreator
An entity primarily responsible for making the resource.- Returns:
- the creator
-
setCreator
- Parameters:
creator
- the creator to set- See Also:
getCreator()
-
getDate
A point or period of time associated with an event in the lifecycle of the resource. The date may also be used to make difference between the dates(creation, modification, etc.) of the file and the date of the object of the file(i.e. the publishing date of a book is not the date of the electronic representation of the book). \n Recommended best practice is to use an encoding scheme, such as the W3CDTF profile of ISO 8601.- Returns:
- the date
-
setDate
- Parameters:
date
- the date to set- See Also:
getDate()
-
getDescription
Description may include but is not limited to: an abstract, a table of contents, a graphical representation, or a free-text account of the resource.- Returns:
- the description
-
setDescription
- Parameters:
description
- the description to set- See Also:
getDescription()
-
getLanguage
A language of the resource. \nRecommended best practice is to use a controlled vocabulary such as RFC 4646.- Returns:
- the language
-
setLanguage
- Parameters:
language
- the language to set- See Also:
getLanguage()
-
getSubject
The topic of the resource.- Returns:
- the subject
-
setSubject
- Parameters:
subject
- the subject to set- See Also:
getSubject()
-
getTitle
A name given to the resource.- Returns:
- the title
-
setTitle
- Parameters:
title
- the title to set- See Also:
getTitle()
-