congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
LifecycleStateModelType
Code IndexAdd Tabnine to your IDE (free)

How to use
LifecycleStateModelType
in
com.evolveum.midpoint.xml.ns._public.common.common_3

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

origin: Evolveum/midpoint

public LifecycleStateModelType clone() {
  LifecycleStateModelType object = new LifecycleStateModelType();
  PrismContainerValue value = asPrismContainerValue().clone();
  object.setupContainerValue(value);
  return object;
}
origin: Evolveum/midpoint

public List<LifecycleStateType> createStateList() {
  PrismForJAXBUtil.createContainer(asPrismContainerValue(), F_STATE);
  return getState();
}
origin: Evolveum/midpoint

/**
 * Create an instance of {@link LifecycleStateModelType }
 * 
 */
public LifecycleStateModelType createLifecycleStateModelType() {
  return new LifecycleStateModelType();
}
origin: Evolveum/midpoint

@Override
public boolean equals(Object object) {
  if (!(object instanceof LifecycleStateModelType)) {
    return false;
  }
  LifecycleStateModelType other = ((LifecycleStateModelType) object);
  return asPrismContainerValue().equivalent(other.asPrismContainerValue());
}
origin: Evolveum/midpoint

public LifecycleStateModelType state(LifecycleStateType value) {
  getState().add(value);
  return this;
}
origin: Evolveum/midpoint

public LifecycleStateType beginState() {
  LifecycleStateType value = new LifecycleStateType();
  state(value);
  return value;
}
origin: Evolveum/midpoint

public LifecycleStateModelType(PrismContext prismContext) {
  setupContainerValue(new PrismContainerValueImpl<>(this, prismContext));
}
origin: Evolveum/midpoint

/**
 * Create an instance of {@link LifecycleStateModelType }
 * 
 */
public LifecycleStateModelType createLifecycleStateModelType() {
  return new LifecycleStateModelType();
}
origin: Evolveum/midpoint

@Override
public String toString() {
  return asPrismContainerValue().toString();
}
origin: Evolveum/midpoint

public static LifecycleStateType findStateDefinition(LifecycleStateModelType lifecycleStateModel, String targetLifecycleState) {
  if (lifecycleStateModel == null) {
    return null;
  }
  if (targetLifecycleState == null) {
    targetLifecycleState = SchemaConstants.LIFECYCLE_ACTIVE;
  }
  for (LifecycleStateType stateType: lifecycleStateModel.getState()) {
    if (targetLifecycleState.equals(stateType.getName())) {
      return stateType;
    }
  }
  return null;
}

origin: Evolveum/midpoint

/**
 * Create an instance of {@link LifecycleStateModelType }
 * 
 */
public LifecycleStateModelType createLifecycleStateModelType() {
  return new LifecycleStateModelType();
}
origin: Evolveum/midpoint

@Override
public int hashCode() {
  return asPrismContainerValue().hashCode();
}
origin: Evolveum/midpoint

public LifecycleStateModelType beginLifecycleStateModel() {
  LifecycleStateModelType value = new LifecycleStateModelType();
  lifecycleStateModel(value);
  return value;
}
origin: Evolveum/midpoint

@XmlElement(name = "state")
public List<LifecycleStateType> getState() {
  PrismContainerValue pcv = asPrismContainerValue();
  PrismContainer container = PrismForJAXBUtil.getContainer(pcv, F_STATE);
  return new LifecycleStateModelType.AnonState(container, pcv);
}
origin: Evolveum/midpoint

public LifecycleStateModelType beginLifecycleStateModel() {
  LifecycleStateModelType value = new LifecycleStateModelType();
  lifecycleStateModel(value);
  return value;
}
origin: Evolveum/midpoint

public void setLifecycleStateModel(LifecycleStateModelType value) {
  PrismContainerValue fieldContainerValue = ((value!= null)?value.asPrismContainerValue():null);
  PrismForJAXBUtil.setFieldContainerValue(asPrismContainerValue(), F_LIFECYCLE_STATE_MODEL, fieldContainerValue);
}
origin: Evolveum/midpoint

public<X >X end() {
  return ((X)((PrismContainerValue)((PrismContainer) asPrismContainerValue().getParent()).getParent()).asContainerable());
}
com.evolveum.midpoint.xml.ns._public.common.common_3LifecycleStateModelType

Most used methods

    Popular in Java

    • Running tasks concurrently on multiple threads
    • findViewById (Activity)
    • scheduleAtFixedRate (Timer)
    • getSystemService (Context)
    • NumberFormat (java.text)
      The abstract base class for all number formats. This class provides the interface for formatting and
    • Random (java.util)
      This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
    • Callable (java.util.concurrent)
      A task that returns a result and may throw an exception. Implementors define a single method with no
    • Response (javax.ws.rs.core)
      Defines the contract between a returned instance and the runtime when an application needs to provid
    • StringUtils (org.apache.commons.lang)
      Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
    • Join (org.hibernate.mapping)
    • CodeWhisperer alternatives
    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