Class FilteredResource<T>

java.lang.Object
org.eclipse.lyo.oslc4j.core.model.AbstractResource
org.eclipse.lyo.oslc4j.core.model.FilteredResource<T>
All Implemented Interfaces:
IExtendedResource, IResource
Direct Known Subclasses:
ResponseInfo

public class FilteredResource<T> extends AbstractResource
Wrapper for resources to pass in properties map to filter output to a subset of the resource's properties
  • Constructor Details

    • FilteredResource

      public FilteredResource(T resource, Map<String,Object> properties)
  • Method Details

    • resource

      public T resource()
    • properties

      public Map<String,Object> properties()