Class OslcCore.GenericEntities

  • Enclosing class:
    OslcCore

    public static class OslcCore.GenericEntities
    extends Object
    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
    • Constructor Detail

      • GenericEntities

        public GenericEntities()
    • Method Detail

      • forResourceShapes

        public static GenericEntity<org.eclipse.lyo.oslc4j.core.model.ResponseInfoCollection<org.eclipse.lyo.oslc4j.core.model.ResourceShape>> forResourceShapes​(Collection<org.eclipse.lyo.oslc4j.core.model.ResourceShape> shapes)
      • forResourceShapes

        public static GenericEntity<org.eclipse.lyo.oslc4j.core.model.ResponseInfoCollection<org.eclipse.lyo.oslc4j.core.model.ResourceShape>> forResourceShapes​(org.eclipse.lyo.oslc4j.core.model.ResponseInfoCollection<org.eclipse.lyo.oslc4j.core.model.ResourceShape> shapes)