/** * Create an instance of {@link SelectorQualifiedGetOptionsType } * */ public SelectorQualifiedGetOptionsType createSelectorQualifiedGetOptionsType() { return new SelectorQualifiedGetOptionsType(); }
public static SelectorQualifiedGetOptionsType optionsToOptionsType(Collection<SelectorOptions<GetOperationOptions>> options){ SelectorQualifiedGetOptionsType optionsType = new SelectorQualifiedGetOptionsType(); List<SelectorQualifiedGetOptionType> retval = new ArrayList<>(); for (SelectorOptions<GetOperationOptions> option: options){ retval.add(selectorOptionToSelectorQualifiedGetOptionType(option)); } optionsType.getOption().addAll(retval); return optionsType; }
/** * Creates a new {@code SelectorQualifiedGetOptionsType} instance by deeply copying a given {@code SelectorQualifiedGetOptionsType} instance. * * * @param o * The instance to copy. * @throws NullPointerException * if {@code o} is {@code null}. */ public SelectorQualifiedGetOptionsType(final SelectorQualifiedGetOptionsType 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 'SelectorQualifiedGetOptionsType' from 'null'."); } // 'Option' collection. if (o.option!= null) { copyOption(o.getOption(), this.getOption()); } }
public SelectorQualifiedGetOptionsType option(SelectorQualifiedGetOptionType value) { getOption().add(value); return this; }
/** * Creates and returns a deep copy of this object. * * * @return * A deep copy of this object. */ @Override public GetObjectType clone() { try { { // CC-XJC Version 2.0 Build 2011-09-16T18:27:24+0000 final GetObjectType clone = ((GetObjectType) super.clone()); // CBuiltinLeafInfo: javax.xml.namespace.QName clone.objectType = ((this.objectType == null)?null:this.getObjectType()); // CBuiltinLeafInfo: java.lang.String clone.oid = ((this.oid == null)?null:this.getOid()); // CClassInfo: com.evolveum.midpoint.xml.ns._public.common.common_3.SelectorQualifiedGetOptionsType clone.options = ((this.options == null)?null:((this.getOptions() == null)?null:this.getOptions().clone())); return clone; } } catch (CloneNotSupportedException e) { // Please report this at https://apps.sourceforge.net/mantisbt/ccxjc/ throw new AssertionError(e); } }
public int hashCode() { final HashCodeStrategy strategy = DomAwareHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); }
public boolean equals(Object object) { final EqualsStrategy strategy = DomAwareEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); }
public static List<SelectorOptions<GetOperationOptions>> optionsTypeToOptions( SelectorQualifiedGetOptionsType objectOptionsType, PrismContext prismContext) { if (objectOptionsType == null) { return null; } List<SelectorOptions<GetOperationOptions>> retval = new ArrayList<>(); for (SelectorQualifiedGetOptionType optionType : objectOptionsType.getOption()) { retval.add(selectorQualifiedGetOptionTypeToSelectorOption(optionType, prismContext)); } return retval; }
/** * Creates a new {@code GetObjectType} instance by deeply copying a given {@code GetObjectType} instance. * * * @param o * The instance to copy. * @throws NullPointerException * if {@code o} is {@code null}. */ public GetObjectType(final GetObjectType 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 'GetObjectType' from 'null'."); } // CBuiltinLeafInfo: javax.xml.namespace.QName this.objectType = ((o.objectType == null)?null:o.getObjectType()); // CBuiltinLeafInfo: java.lang.String this.oid = ((o.oid == null)?null:o.getOid()); // CClassInfo: com.evolveum.midpoint.xml.ns._public.common.common_3.SelectorQualifiedGetOptionsType this.options = ((o.options == null)?null:((o.getOptions() == null)?null:o.getOptions().clone())); }
/** * Create an instance of {@link SelectorQualifiedGetOptionsType } * */ public SelectorQualifiedGetOptionsType createSelectorQualifiedGetOptionsType() { return new SelectorQualifiedGetOptionsType(); }
public static SelectorQualifiedGetOptionsType createRootGetOptions(GetOperationOptionsType opt) { SelectorQualifiedGetOptionsType rootOpts = new SelectorQualifiedGetOptionsType(); SelectorQualifiedGetOptionType selOpt = new SelectorQualifiedGetOptionType(); selOpt.setOptions(opt); rootOpts.getOption().add(selOpt); return rootOpts; }
/** * Creates and returns a deep copy of this object. * * * @return * A deep copy of this object. */ @Override public SelectorQualifiedGetOptionsType clone() { try { { // CC-XJC Version 2.0 Build 2011-09-16T18:27:24+0000 final SelectorQualifiedGetOptionsType clone = ((SelectorQualifiedGetOptionsType) super.clone()); // 'Option' collection. if (this.option!= null) { clone.option = null; copyOption(this.getOption(), clone.getOption()); } return clone; } } catch (CloneNotSupportedException e) { // Please report this at https://apps.sourceforge.net/mantisbt/ccxjc/ throw new AssertionError(e); } }
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = 1; { List<SelectorQualifiedGetOptionType> theOption; theOption = (((this.option!= null)&&(!this.option.isEmpty()))?this.getOption():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "option", theOption), currentHashCode, theOption); } return currentHashCode; }
/** * Creates and returns a deep copy of this object. * * * @return * A deep copy of this object. */ @Override public SearchObjectsType clone() { try { { // CC-XJC Version 2.0 Build 2011-09-16T18:27:24+0000 final SearchObjectsType clone = ((SearchObjectsType) super.clone()); // CBuiltinLeafInfo: javax.xml.namespace.QName clone.objectType = ((this.objectType == null)?null:this.getObjectType()); // CClassInfo: com.evolveum.prism.xml.ns._public.query_3.QueryType clone.query = ((this.query == null)?null:((this.getQuery() == null)?null:this.getQuery().clone())); // CClassInfo: com.evolveum.midpoint.xml.ns._public.common.common_3.SelectorQualifiedGetOptionsType clone.options = ((this.options == null)?null:((this.getOptions() == null)?null:this.getOptions().clone())); return clone; } } catch (CloneNotSupportedException e) { // Please report this at https://apps.sourceforge.net/mantisbt/ccxjc/ throw new AssertionError(e); } }
/** * Create an instance of {@link SelectorQualifiedGetOptionsType } * */ public SelectorQualifiedGetOptionsType createSelectorQualifiedGetOptionsType() { return new SelectorQualifiedGetOptionsType(); }
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { if (!(object instanceof SelectorQualifiedGetOptionsType)) { return false; } if (this == object) { return true; } final SelectorQualifiedGetOptionsType that = ((SelectorQualifiedGetOptionsType) object); { List<SelectorQualifiedGetOptionType> lhsOption; lhsOption = (((this.option!= null)&&(!this.option.isEmpty()))?this.getOption():null); List<SelectorQualifiedGetOptionType> rhsOption; rhsOption = (((that.option!= null)&&(!that.option.isEmpty()))?that.getOption():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "option", lhsOption), LocatorUtils.property(thatLocator, "option", rhsOption), lhsOption, rhsOption)) { return false; } } return true; }
/** * Creates and returns a deep copy of this object. * * * @return * A deep copy of this object. */ @Override public ProcessReportType clone() { try { { // CC-XJC Version 2.0 Build 2011-09-16T18:27:24+0000 final ProcessReportType clone = ((ProcessReportType) super.clone()); // CBuiltinLeafInfo: java.lang.String clone.query = ((this.query == null)?null:this.getQuery()); // CClassInfo: com.evolveum.midpoint.xml.ns._public.report.report_3.RemoteReportParametersType clone.parameters = ((this.parameters == null)?null:((this.getParameters() == null)?null:this.getParameters().clone())); // CClassInfo: com.evolveum.midpoint.xml.ns._public.common.common_3.SelectorQualifiedGetOptionsType clone.options = ((this.options == null)?null:((this.getOptions() == null)?null:this.getOptions().clone())); return clone; } } catch (CloneNotSupportedException e) { // Please report this at https://apps.sourceforge.net/mantisbt/ccxjc/ throw new AssertionError(e); } }
public SelectorQualifiedGetOptionsType beginOptions() { SelectorQualifiedGetOptionsType value = new SelectorQualifiedGetOptionsType(); options(value); return value; }
/** * Creates a new {@code SearchObjectsType} instance by deeply copying a given {@code SearchObjectsType} instance. * * * @param o * The instance to copy. * @throws NullPointerException * if {@code o} is {@code null}. */ public SearchObjectsType(final SearchObjectsType 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 'SearchObjectsType' from 'null'."); } // CBuiltinLeafInfo: javax.xml.namespace.QName this.objectType = ((o.objectType == null)?null:o.getObjectType()); // CClassInfo: com.evolveum.prism.xml.ns._public.query_3.QueryType this.query = ((o.query == null)?null:((o.getQuery() == null)?null:o.getQuery().clone())); // CClassInfo: com.evolveum.midpoint.xml.ns._public.common.common_3.SelectorQualifiedGetOptionsType this.options = ((o.options == null)?null:((o.getOptions() == null)?null:o.getOptions().clone())); }
public SelectorQualifiedGetOptionsType beginOptions() { SelectorQualifiedGetOptionsType value = new SelectorQualifiedGetOptionsType(); options(value); return value; }