congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ParentPathSegment.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
com.evolveum.midpoint.prism.path.ParentPathSegment
constructor

Best Java code snippets using com.evolveum.midpoint.prism.path.ParentPathSegment.<init> (Showing top 3 results out of 315)

origin: Evolveum/midpoint

@Override
public ItemPathSegment clone() {
  return new ParentPathSegment();
}
origin: Evolveum/midpoint

public static ItemPathSegment createSegment(QName qname, boolean variable) {
  if (ParentPathSegment.QNAME.equals(qname)) {
    return new ParentPathSegment();
  } else if (ObjectReferencePathSegment.QNAME.equals(qname)) {
    return new ObjectReferencePathSegment();
  } else if (IdentifierPathSegment.QNAME.equals(qname)) {
    return new IdentifierPathSegment();
  } else if (variable) {
    return new VariableItemPathSegment(qname);
  } else {
    return new NameItemPathSegment(qname);
  }
}
origin: Evolveum/midpoint

@Test
public void test700Exists() throws Exception {
  final String TEST_NAME = "test700Exists";
  displayTestTitle(TEST_NAME);
  PrismReferenceValue ownerRef = ObjectTypeUtil.createObjectRef("1234567890", ObjectTypes.USER).asReferenceValue();
  ObjectQuery q = getPrismContext().queryFor(AccessCertificationCaseType.class)
      .exists(new ParentPathSegment())        // if using T_PARENT then toString representation of paths is different
        .block()
          .id(123456L)
          .or().item(F_OWNER_REF).ref(ownerRef)
        .endBlock()
      .and().exists(AccessCertificationCaseType.F_WORK_ITEM)
        .item(AccessCertificationWorkItemType.F_STAGE_NUMBER).eq(3)
      .build();
  checkQueryRoundtripFile(AccessCertificationCaseType.class, q, TEST_NAME);
}
com.evolveum.midpoint.prism.pathParentPathSegment<init>

Popular methods of ParentPathSegment

  • equals

Popular in Java

  • Updating database using SQL prepared statement
  • getExternalFilesDir (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • compareTo (BigDecimal)
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now