Package ca.phon.session.spi
Interface SessionMetadataSPI
- All Known Implementing Classes:
SessionMetadataImpl
public interface SessionMetadataSPI
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addComment
(Comment comment) Add commentgetAppID()
App IDgetComment
(int idx) get comment at given indexContributerCoverageCreatorgetDate()
DateDescriptionFormatIdentifierLanguageint
number of commentsPublisherRelationRightsSourceSubjectgetTitle()
TitlegetType()
Typevoid
removeComment
(int idx) void
removeComment
(Comment comment) Remove commentvoid
void
setContributor
(String contributer) void
setCoverage
(String coverage) void
setCreator
(String creator) void
void
setDescription
(String description) void
void
setIdentifier
(String identifier) void
setLanguage
(String language) void
setPublisher
(String publisher) void
setRelation
(String relation) void
void
void
setSubject
(String subject) void
void
-
Method Details
-
getTitle
String getTitle()Title- Returns:
- String
-
setTitle
-
getCreator
String getCreator()Creator- Returns:
- String
-
setCreator
-
getAppID
String getAppID()App ID- Returns:
- String
-
setAppID
-
getSubject
String getSubject()Subject- Returns:
- String
-
setSubject
-
getDescription
String getDescription()Description- Returns:
- String
-
setDescription
-
getPublisher
String getPublisher()Publisher- Returns:
- String
-
setPublisher
-
getContributor
String getContributor()Contributer- Returns:
- String
-
setContributor
-
getDate
String getDate()Date- Returns:
- String
-
setDate
-
getType
String getType()Type- Returns:
- String
-
setType
-
getFormat
String getFormat()Format- Returns:
- String
-
setFormat
-
getIdentifier
String getIdentifier()Identifier- Returns:
- String
-
setIdentifier
-
getSource
String getSource()Source- Returns:
- String
-
setSource
-
getLanguage
String getLanguage()Language- Returns:
- String
-
setLanguage
-
getRelation
String getRelation()Relation- Returns:
- String
-
setRelation
-
getCoverage
String getCoverage()Coverage- Returns:
- String
-
setCoverage
-
getRights
String getRights()Rights- Returns:
- String
-
setRights
-
getNumberOfComments
int getNumberOfComments()number of comments- Returns:
- int
-
getComment
get comment at given index- Parameters:
idx
-- Returns:
- comment
- Throws:
ArrayIndexOutOfBoundsException
-
addComment
Add comment- Parameters:
comment
-
-
removeComment
Remove comment- Parameters:
comment
-
-
removeComment
void removeComment(int idx)
-