public class CollectionImpl extends Object implements Collection
| Constructor and Description |
|---|
CollectionImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<Accept> |
getAcceptElements()
Get the media range that specifies a type of representation
that can be POSTed to a Collection
|
List<Categories> |
getCategories() |
CommonAttributes |
getCommonAttributes()
Get common attributes
|
List<ExtensionElement> |
getExtesionElements()
Get the list of extension elements
|
String |
getHref()
Get the "href" attribute, whose value gives IRI of the Collection
|
Title |
getTitle()
Get the human-readable title for the Collection
|
CollectionImpl |
setAcceptElements(List<Accept> acceptElements) |
CollectionImpl |
setCategories(List<Categories> categories) |
CollectionImpl |
setCommonAttributes(CommonAttributes attributes) |
CollectionImpl |
setExtesionElements(List<ExtensionElement> elements) |
CollectionImpl |
setHref(String href) |
CollectionImpl |
setTitle(Title title) |
public CommonAttributes getCommonAttributes()
CollectiongetCommonAttributes in interface CollectionCommonAttributespublic Title getTitle()
CollectiongetTitle in interface CollectionTitlepublic String getHref()
CollectiongetHref in interface Collectionpublic List<Accept> getAcceptElements()
CollectiongetAcceptElements in interface CollectionAcceptpublic List<Categories> getCategories()
getCategories in interface CollectionCategoriespublic List<ExtensionElement> getExtesionElements()
CollectiongetExtesionElements in interface CollectionExtensionElementpublic CollectionImpl setTitle(Title title)
public CollectionImpl setHref(String href)
public CollectionImpl setAcceptElements(List<Accept> acceptElements)
public CollectionImpl setCategories(List<Categories> categories)
public CollectionImpl setCommonAttributes(CommonAttributes attributes)
public CollectionImpl setExtesionElements(List<ExtensionElement> elements)
Copyright © 2020. All rights reserved.