public class Source extends CommonEntry
atomSource
construct in the RFC4287 specification.
atomSource = element atom:source { atomCommonAttributes, (atomAuthor* & atomCategory* & atomContributor* & atomGenerator? & atomIcon? & atomId? & atomLink* & atomLogo? & atomRights? & atomSubtitle? & atomTitle? & atomUpdated? & extensionElement*) }
Constructor and Description |
---|
Source() |
Modifier and Type | Method and Description |
---|---|
Source |
authors(Person... authors)
Sets the list of authors for this object.
|
Source |
base(Object base)
Sets the URI base of this object.
|
Source |
categories(Category... categories)
Sets the list of categories of this object.
|
Source |
contributors(Person... contributors)
Sets the list of contributors of this object.
|
Source |
generator(Generator generator)
Sets the generator info of this source.
|
Generator |
getGenerator()
Returns the generator info of this source.
|
Icon |
getIcon()
Returns the icon of this source.
|
Logo |
getLogo()
Returns the logo of this source.
|
Text |
getSubtitle()
Returns the subtitle of this source.
|
Source |
icon(Icon icon)
Sets the icon of this source.
|
Source |
id(Id id)
Sets the ID of this object.
|
Source |
lang(String lang)
Sets the language of this object.
|
Source |
links(Link... links)
Sets the list of links of this object.
|
Source |
logo(Logo logo)
Sets the logo of this source.
|
Source |
rights(String rights)
Sets the rights statement of this object.
|
Source |
rights(Text rights)
Sets the rights statement of this object.
|
Source |
subtitle(String subtitle)
Sets the subtitle of this source.
|
Source |
subtitle(Text subtitle)
Sets the subtitle of this source.
|
Source |
title(String title)
Sets the title of this object.
|
Source |
title(Text title)
Sets the title of this object.
|
Source |
updated(Calendar updated)
Sets the update timestamp of this object.
|
Source |
updated(String updated)
Sets the update timestamp of this object.
|
getAuthors, getCatetories, getContributors, getId, getLinks, getRights, getTitle, getUpdated, id
public Source()
public Generator getGenerator()
@BeanProperty(value="generator") public Source generator(Generator generator)
generator
- The generator info of this source.@BeanProperty(value="icon") public Source icon(Icon icon)
icon
- The icon of this source.@BeanProperty(value="logo") public Source logo(Logo logo)
logo
- The logo of this source.public Text getSubtitle()
@BeanProperty(value="subtitle") public Source subtitle(Text subtitle)
subtitle
- The subtitle of this source.@BeanProperty(value="subtitle") public Source subtitle(String subtitle)
subtitle
- The subtitle of this source.public Source authors(Person... authors)
CommonEntry
authors
in class CommonEntry
authors
- The list of authors for this object.public Source categories(Category... categories)
CommonEntry
categories
in class CommonEntry
categories
- The list of categories of this object.public Source contributors(Person... contributors)
CommonEntry
contributors
in class CommonEntry
contributors
- The list of contributors of this object.public Source id(Id id)
CommonEntry
id
in class CommonEntry
id
- The ID of this object.public Source links(Link... links)
CommonEntry
links
in class CommonEntry
links
- The list of links of this object.public Source rights(Text rights)
CommonEntry
rights
in class CommonEntry
rights
- The rights statement of this object.public Source rights(String rights)
CommonEntry
rights
in class CommonEntry
rights
- The rights statement of this object.public Source title(Text title)
CommonEntry
title
in class CommonEntry
title
- The title of this object.public Source title(String title)
CommonEntry
title
in class CommonEntry
title
- The title of this object.public Source updated(Calendar updated)
CommonEntry
updated
in class CommonEntry
updated
- The update timestamp of this object.public Source updated(String updated)
CommonEntry
updated
in class CommonEntry
updated
- The update timestamp of this object in ISO8601 format.public Source 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 © 2018 Apache. All rights reserved.