/** * Create an instance of {@link ObjectSelectorType } * */ public ObjectSelectorType createObjectSelectorType() { return new ObjectSelectorType(); }
public SearchFilterType beginFilter() { SearchFilterType value = new SearchFilterType(); filter(value); return value; }
public ObjectSelectorType clone() { ObjectSelectorType object = new ObjectSelectorType(); PrismContainerValue value = asPrismContainerValue().clone(); object.setupContainerValue(value); return object; }
.focusSelector(new ObjectSelectorType(prismContext)) .targetSelector(new ObjectSelectorType(prismContext) .type(RoleType.COMPLEX_TYPE) .filter(prismContext.getQueryConverter().createSearchFilterType(studentFilter))) .beginPolicyConstraints() .beginHasAssignment()
@Override public boolean equals(Object object) { if (!(object instanceof ObjectSelectorType)) { return false; } ObjectSelectorType other = ((ObjectSelectorType) object); return asPrismContainerValue().equivalent(other.asPrismContainerValue()); }
SearchFilterType specFilterType = objectSelector.getFilter(); ObjectReferenceType specOrgRef = objectSelector.getOrgRef(); QName specTypeQName = objectSelector.getType(); // now it does not matter if it's unqualified PrismObjectDefinition<O> objectDefinition = object.getDefinition(); String specSubtype = objectSelector.getSubtype(); if (specSubtype != null) { Collection<String> actualSubtypeValues = FocusTypeUtil.determineSubTypes(object);
@Override public int hashCode() { return asPrismContainerValue().hashCode(); }
/** * Create an instance of {@link ObjectSelectorType } * */ public ObjectSelectorType createObjectSelectorType() { return new ObjectSelectorType(); }
@XmlElement(name = "description") public String getDescription() { return PrismForJAXBUtil.getPropertyValue(asPrismContainerValue(), F_DESCRIPTION, String.class); }
/** * Create an instance of {@link ObjectSelectorType } * */ public ObjectSelectorType createObjectSelectorType() { return new ObjectSelectorType(); }
@XmlElement(name = "type") public QName getType() { return PrismForJAXBUtil.getPropertyValue(asPrismContainerValue(), F_TYPE, QName.class); }
public ObjectSelectorType beginTargetSelector() { ObjectSelectorType value = new ObjectSelectorType(); targetSelector(value); return value; }
@XmlElement(name = "subtype") public String getSubtype() { return PrismForJAXBUtil.getPropertyValue(asPrismContainerValue(), F_SUBTYPE, String.class); }
public ObjectSelectorType beginFocusSelector() { ObjectSelectorType value = new ObjectSelectorType(); focusSelector(value); return value; }
@XmlElement(name = "filter") public SearchFilterType getFilter() { return PrismForJAXBUtil.getPropertyValue(asPrismContainerValue(), F_FILTER, SearchFilterType.class); }
@Override public String toString() { return asPrismContainerValue().toString(); }
@XmlAttribute(name = "id") public Long getId() { return asPrismContainerValue().getId(); }
public void setDescription(String value) { PrismForJAXBUtil.setPropertyValue(asPrismContainerValue(), F_DESCRIPTION, value); }
public void setType(QName value) { PrismForJAXBUtil.setPropertyValue(asPrismContainerValue(), F_TYPE, value); }
public void setSubtype(String value) { PrismForJAXBUtil.setPropertyValue(asPrismContainerValue(), F_SUBTYPE, value); }