public class CommonEntry extends Common
Constructor and Description |
---|
CommonEntry()
Bean constructor.
|
CommonEntry(Id id,
Text title,
Calendar updated)
Normal constructor.
|
CommonEntry(String id,
String title,
String updated)
Normal constructor.
|
Modifier and Type | Method and Description |
---|---|
CommonEntry |
authors(Person... authors)
Sets the list of authors for this object.
|
CommonEntry |
categories(Category... categories)
Sets the list of categories of this object.
|
CommonEntry |
contributors(Person... contributors)
Sets the list of contributors of this object.
|
Person[] |
getAuthors()
Returns the list of authors for this object.
|
Category[] |
getCategories()
Returns the list of categories of this object.
|
Person[] |
getContributors()
Returns the list of contributors of this object.
|
Id |
getId()
Returns the ID of this object.
|
Link[] |
getLinks()
Returns the list of links of this object.
|
Text |
getRights()
Returns the rights statement of this object.
|
Text |
getTitle()
Returns the title of this object.
|
Calendar |
getUpdated()
Returns the update timestamp of this object.
|
CommonEntry |
id(Id id)
Sets the ID of this object.
|
CommonEntry |
id(String id)
Sets the ID of this object.
|
CommonEntry |
links(Link... links)
Sets the list of links of this object.
|
CommonEntry |
rights(String rights)
Sets the rights statement of this object.
|
CommonEntry |
rights(Text rights)
Sets the rights statement of this object.
|
CommonEntry |
title(String title)
Sets the title of this object.
|
CommonEntry |
title(Text title)
Sets the title of this object.
|
CommonEntry |
updated(Calendar updated)
Sets the update timestamp of this object.
|
CommonEntry |
updated(String updated)
Sets the update timestamp of this object.
|
public CommonEntry(Id id, Text title, Calendar updated)
id
- The ID of this object.title
- The title of this object.updated
- The updated timestamp of this object.public CommonEntry(String id, String title, String updated)
id
- The ID of this object.title
- The title of this object.updated
- The updated timestamp of this object.public CommonEntry()
@Xml(format=COLLAPSED, childName="author") public Person[] getAuthors()
@BeanProperty(value="authors") public CommonEntry authors(Person... authors)
authors
- The list of authors for this object.@Xml(format=COLLAPSED, childName="category") public Category[] getCategories()
@BeanProperty(value="categories") public CommonEntry categories(Category... categories)
categories
- The list of categories of this object.@Xml(format=COLLAPSED, childName="contributor") public Person[] getContributors()
@BeanProperty(value="contributors") public CommonEntry contributors(Person... contributors)
contributors
- The list of contributors of this object.@BeanProperty(value="id") public CommonEntry id(Id id)
id
- The ID of this object.public CommonEntry id(String id)
id
- The ID of this object.@Xml(format=COLLAPSED) public Link[] getLinks()
@BeanProperty(value="links") public CommonEntry links(Link... links)
links
- The list of links of this object.public Text getRights()
@BeanProperty(value="rights") public CommonEntry rights(Text rights)
rights
- The rights statement of this object.public CommonEntry rights(String rights)
rights
- The rights statement of this object.public Text getTitle()
@BeanProperty(value="title") public CommonEntry title(Text title)
title
- The title of this object.public CommonEntry title(String title)
title
- The title of this object.public Calendar getUpdated()
@BeanProperty(value="updated") public CommonEntry updated(Calendar updated)
updated
- The update timestamp of this object.@BeanProperty(value="updated") public CommonEntry updated(String updated)
updated
- The update timestamp of this object in ISO8601 format.Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.