org.eclipse.lyo.oslc4j.core.model

## 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 Summary

    Constructors
    Constructor and Description
    `FilteredResource(T resource, Map<String,Object> properties)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,Object>` | `properties()`
    `T` | `resource()`

    - ### Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource

      `addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### FilteredResource

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

  - ### Method Detail

    - #### resource

          public T resource()

    - #### properties

          public Map<String,Object> properties()

Copyright © 2016. All rights reserved.