Share via


ResourceCollection<TResource> Class

Type Parameters

TResource

public class ResourceCollection extends ResourceCollectionWithLinks<TResource,StandardResourceCollectionLinks>

Contains a collection of resources with JSON properties to represent the output Type of objects in collection

Constructor Summary

Modifier Constructor Description
protected ResourceCollection(ResourceCollection<TResource> resourceCollection)

Initializes a new instance of the ResourceCollection class.

ResourceCollection(List<TResource> items)

Initializes a new instance of the ResourceCollection class.

Inherited Members

ResourceBase.getAttributes() ResourceBaseWithLinks<TLinks>.getLinks() ResourceBaseWithLinks<TLinks>.setLinks(TLinks value) ResourceCollectionWithLinks<TResource,TLinks>.getItems() ResourceCollectionWithLinks<TResource,TLinks>.getTotalCount() ResourceCollectionWithLinks<TResource,TLinks>.setItems(List<TResource> value) ResourceCollectionWithLinks<TResource,TLinks>.setTotalCount(int value) ResourceCollectionWithLinks<TResource,TLinks>.toString() java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Constructor Details

ResourceCollection

protected ResourceCollection(ResourceCollection resourceCollection)

Initializes a new instance of the ResourceCollection class.

Parameters:

resourceCollection - The resource collection.

ResourceCollection

public ResourceCollection(List items)

Initializes a new instance of the ResourceCollection class.

Parameters:

items - The items.

Applies to