Package com.sodius.oslc.core.model
Class OslcCore.GenericEntities
java.lang.Object
com.sodius.oslc.core.model.OslcCore.GenericEntities
- Enclosing class:
OslcCore
Generic Entities for OSLC Core shapes, used when replying with a collection of entities in a
javax.ws.rs.core.Response object.- Since:
- 1.3.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic GenericEntity<ResponseInfoCollection<Property>>forProperties(Collection<Property> properties) Returns a generic entity for a collection ofPropertyresources.static GenericEntity<ResponseInfoCollection<Property>>forProperties(ResponseInfoCollection<Property> properties) Returns a generic entity for a collection ofPropertyresources.forResourceShapes(Collection<ResourceShape> shapes)
-
Method Details
-
forResourceShapes
public static GenericEntity<ResponseInfoCollection<ResourceShape>> forResourceShapes(Collection<ResourceShape> shapes) -
forResourceShapes
public static GenericEntity<ResponseInfoCollection<ResourceShape>> forResourceShapes(ResponseInfoCollection<ResourceShape> shapes) -
forProperties
public static GenericEntity<ResponseInfoCollection<Property>> forProperties(ResponseInfoCollection<Property> properties) Returns a generic entity for a collection ofPropertyresources.- Parameters:
properties- the resources- Returns:
- a response with a collection of
Propertyresources as entity - Since:
- 3.7.0
-
forProperties
public static GenericEntity<ResponseInfoCollection<Property>> forProperties(Collection<Property> properties) Returns a generic entity for a collection ofPropertyresources.- Parameters:
properties- the resources- Returns:
- a response with a collection of
Propertyresources as entity - Since:
- 3.7.0
-