quickstart.pojo.model.query.QParty Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plasma-test-model Show documentation
Show all versions of plasma-test-model Show documentation
The Plasma Test Model Module
The newest version!
package quickstart.pojo.model.query;
import org.plasma.sdo.helper.PlasmaTypeHelper;
import org.plasma.query.dsl.DomainRoot;
import org.plasma.query.dsl.PathNode;
import org.plasma.query.dsl.DataNode;
import org.plasma.query.Expression;
import org.plasma.query.TemporalDataProperty;
import quickstart.pojo.model.Party;
/**
* Derived from enum plasma.test.model.humanresources.Party
*
* Generated Domain Specific Language (DSL) implementation class representing the domain model entity Party.
*/
public class QParty extends DomainRoot
{
private QParty() {
super(PlasmaTypeHelper.INSTANCE.getType(Party.class));
}
/**
* Constructor which instantiates a domain query path node. A path may
* span multiple namespaces and therefore Java inplementation packages
* based on the Condiguration.
* Note: while this constructor is public, it is not for application use!
* @param source the source path node
* @param sourceProperty the source property logical name
*/
public QParty(PathNode source, String sourceProperty) {
super(source, sourceProperty);
}
/**
* Constructor which instantiates a domain query path node. A path may
* span multiple namespaces and therefore Java inplementation packages
* based on the Condiguration.
* Note: while this constructor is public, it is not for application use!
* @param source the source path node
* @param sourceProperty the source property logical name
* @param expr the path predicate expression
*/
public QParty(PathNode source, String sourceProperty, Expression expr) {
super(source, sourceProperty, expr);
}
/**
* Returns a new DSL query for Type Party which can be used either as a query root or
* as the start (entry point) for a new path predicate expression.
* @return a new DSL query
*/
public static QParty newQuery() {
return new QParty();
}
/**
* Returns a DSL data element for property, createdDate.
* @return a Temporal DSL data element for property, createdDate.
*/
public TemporalDataProperty createdDate() {
return new DataNode(this, plasma.test.model.humanresources.Party.createdDate.name());
}
}