All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.sphere.sdk.customobjects.queries.CustomObjectQueryModel Maven / Gradle / Ivy

There is a newer version: 1.0.0-M26
Show newest version
package io.sphere.sdk.customobjects.queries;

import io.sphere.sdk.customobjects.CustomObject;
import io.sphere.sdk.queries.QueryModel;
import io.sphere.sdk.queries.ResourceQueryModelImpl;
import io.sphere.sdk.queries.StringQuerySortingModel;

/**
 * 

Metamodel to explore for which fields can be queried in a CustomObject.

* * *

Example:

* {@include.example io.sphere.sdk.customobjects.queries.CustomObjectQueryTest#queryWithClass()} * * @param The type of the value of the custom object. * @see CustomObject */ public class CustomObjectQueryModel> extends ResourceQueryModelImpl { public static > CustomObjectQueryModel of() { return new CustomObjectQueryModel<>(null, null); } private CustomObjectQueryModel(final QueryModel parent, final String pathSegment) { super(parent, pathSegment); } public StringQuerySortingModel container() { return stringModel("container"); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy