@Bean(typeName="entry") public class Entry extends CommonEntry
atomEntry = element atom:entry { atomCommonAttributes, (atomAuthor* & atomCategory* & atomContent? & atomContributor* & atomId & atomLink* & atomPublished? & atomRights? & atomSource? & atomSummary? & atomTitle & atomUpdated & extensionElement*) }
Constructor and Description |
---|
Entry()
Bean constructor.
|
Entry(Id id,
Text title,
Calendar updated)
Normal constructor.
|
Entry(String id,
String title,
String updated)
Normal constructor.
|
Modifier and Type | Method and Description |
---|---|
Entry |
authors(Person... authors)
Sets the list of authors for this object.
|
Entry |
base(Object base)
Sets the URI base of this object.
|
Entry |
categories(Category... categories)
Sets the list of categories of this object.
|
Entry |
content(Content content)
Sets the content of this entry.
|
Entry |
contributors(Person... contributors)
Sets the list of contributors of this object.
|
Content |
getContent()
Returns the content of this entry.
|
Calendar |
getPublished()
Returns the publish timestamp of this entry.
|
Source |
getSource()
Returns the source of this entry.
|
Text |
getSummary()
Returns the summary of this entry.
|
Entry |
id(Id id)
Sets the ID of this object.
|
Entry |
lang(String lang)
Sets the language of this object.
|
Entry |
links(Link... links)
Sets the list of links of this object.
|
Entry |
published(Calendar published)
Sets the publish timestamp of this entry.
|
Entry |
published(String published)
Sets the publish timestamp of this entry.
|
Entry |
rights(String rights)
Sets the rights statement of this object.
|
Entry |
rights(Text rights)
Sets the rights statement of this object.
|
Entry |
source(Source source)
Sets the source of this entry.
|
Entry |
summary(String summary)
Sets the summary of this entry.
|
Entry |
summary(Text summary)
Sets the summary of this entry.
|
Entry |
title(String title)
Sets the title of this object.
|
Entry |
title(Text title)
Sets the title of this object.
|
Entry |
updated(Calendar updated)
Sets the update timestamp of this object.
|
Entry |
updated(String updated)
Sets the update timestamp of this object.
|
getAuthors, getCategories, getContributors, getId, getLinks, getRights, getTitle, getUpdated, id
public Entry(Id id, Text title, Calendar updated)
id
- The ID of this entry.title
- The title of this entry.updated
- The updated timestamp of this entry.public Entry(String id, String title, String updated)
id
- The ID of this entry.title
- The title of this entry.updated
- The updated timestamp of this entry.public Entry()
public Content getContent()
@BeanProperty(value="content") public Entry content(Content content)
content
- The content of this entry.public Calendar getPublished()
@BeanProperty(value="published") public Entry published(Calendar published)
published
- The publish timestamp of this entry.@BeanProperty(value="published") public Entry published(String published)
published
- The publish timestamp of this entry in ISO8601 format.public Source getSource()
@BeanProperty(value="source") public Entry source(Source source)
source
- The source of this entry.public Text getSummary()
@BeanProperty(value="summary") public Entry summary(Text summary)
summary
- The summary of this entry.@BeanProperty(value="summary") public Entry summary(String summary)
summary
- The summary of this entry.public Entry authors(Person... authors)
CommonEntry
authors
in class CommonEntry
authors
- The list of authors for this object.public Entry categories(Category... categories)
CommonEntry
categories
in class CommonEntry
categories
- The list of categories of this object.public Entry contributors(Person... contributors)
CommonEntry
contributors
in class CommonEntry
contributors
- The list of contributors of this object.public Entry id(Id id)
CommonEntry
id
in class CommonEntry
id
- The ID of this object.public Entry links(Link... links)
CommonEntry
links
in class CommonEntry
links
- The list of links of this object.public Entry rights(Text rights)
CommonEntry
rights
in class CommonEntry
rights
- The rights statement of this object.public Entry rights(String rights)
CommonEntry
rights
in class CommonEntry
rights
- The rights statement of this object.public Entry title(Text title)
CommonEntry
title
in class CommonEntry
title
- The title of this object.public Entry title(String title)
CommonEntry
title
in class CommonEntry
title
- The title of this object.public Entry updated(Calendar updated)
CommonEntry
updated
in class CommonEntry
updated
- The update timestamp of this object.public Entry updated(String updated)
CommonEntry
updated
in class CommonEntry
updated
- The update timestamp of this object in ISO8601 format.public Entry base(Object base)
Common
The value can be of any of the following types: URI
, URL
, String
.
Strings must be valid URIs.
URIs defined by UriResolver
can be used for values.
Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.