Tabnine Logo
ScriptExpressionEvaluatorType.clone
Code IndexAdd Tabnine to your IDE (free)

How to use
clone
method
in
com.evolveum.midpoint.xml.ns._public.common.common_3.ScriptExpressionEvaluatorType

Best Java code snippets using com.evolveum.midpoint.xml.ns._public.common.common_3.ScriptExpressionEvaluatorType.clone (Showing top 3 results out of 315)

origin: Evolveum/midpoint

/**
 * Creates and returns a deep copy of a given {@code javax.xml.bind.JAXBElement<com.evolveum.midpoint.xml.ns._public.common.common_3.ScriptExpressionEvaluatorType>} instance.
 * 
 * @param e
 *     The instance to copy or {@code null}.
 * @return
 *     A deep copy of {@code e} or {@code null} if {@code e} is {@code null}.
 */
@SuppressWarnings("unchecked")
private static JAXBElement<ScriptExpressionEvaluatorType> copyOfScriptExpressionEvaluatorTypeElement(final JAXBElement<ScriptExpressionEvaluatorType> e) {
  // CC-XJC Version 2.0 Build 2011-09-16T18:27:24+0000
  if (e!= null) {
    final JAXBElement<ScriptExpressionEvaluatorType> copy = new JAXBElement<ScriptExpressionEvaluatorType>(e.getName(), e.getDeclaredType(), e.getScope(), e.getValue());
    copy.setNil(e.isNil());
    // CClassInfo: com.evolveum.midpoint.xml.ns._public.common.common_3.ScriptExpressionEvaluatorType
    copy.setValue(((((ScriptExpressionEvaluatorType) copy.getValue()) == null)?null:((ScriptExpressionEvaluatorType) copy.getValue()).clone()));
    return copy;
  }
  return null;
}
origin: Evolveum/midpoint

clone.script = ((this.script == null)?null:((this.getScript() == null)?null:this.getScript().clone()));
return clone;
origin: Evolveum/midpoint

/**
 * Creates a new {@code HookType} instance by deeply copying a given {@code HookType} instance.
 * 
 * 
 * @param o
 *     The instance to copy.
 * @throws NullPointerException
 *     if {@code o} is {@code null}.
 */
public HookType(final HookType o) {
  // CC-XJC Version 2.0 Build 2011-09-16T18:27:24+0000
  super();
  if (o == null) {
    throw new NullPointerException("Cannot create a copy of 'HookType' from 'null'.");
  }
  // CBuiltinLeafInfo: java.lang.String
  this.name = ((o.name == null)?null:o.getName());
  // CBuiltinLeafInfo: java.lang.String
  this.description = ((o.description == null)?null:o.getDescription());
  // CBuiltinLeafInfo: java.lang.Boolean
  this.enabled = ((o.enabled == null)?null:o.isEnabled());
  // CEnumLeafInfo: com.evolveum.midpoint.xml.ns._public.common.common_3.ModelStateType
  this.state = ((o.state == null)?null:o.getState());
  // CBuiltinLeafInfo: javax.xml.namespace.QName
  this.focusType = ((o.focusType == null)?null:o.getFocusType());
  // CBuiltinLeafInfo: java.lang.String
  this.ref = ((o.ref == null)?null:o.getRef());
  // CClassInfo: com.evolveum.midpoint.xml.ns._public.common.common_3.ScriptExpressionEvaluatorType
  this.script = ((o.script == null)?null:((o.getScript() == null)?null:o.getScript().clone()));
}
com.evolveum.midpoint.xml.ns._public.common.common_3ScriptExpressionEvaluatorTypeclone

Popular methods of ScriptExpressionEvaluatorType

    Popular in Java

    • Reading from database using SQL prepared statement
    • requestLocationUpdates (LocationManager)
    • getContentResolver (Context)
    • startActivity (Activity)
    • Window (java.awt)
      A Window object is a top-level window with no borders and no menubar. The default layout for a windo
    • FileWriter (java.io)
      A specialized Writer that writes to a file in the file system. All write requests made by calling me
    • Runnable (java.lang)
      Represents a command that can be executed. Often used to run code in a different Thread.
    • Dictionary (java.util)
      Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
    • JFrame (javax.swing)
    • Reflections (org.reflections)
      Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
    • Top plugins for WebStorm
    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