/** * Create an instance of {@link WorkItemSelectorType } * */ public WorkItemSelectorType createWorkItemSelectorType() { return new WorkItemSelectorType(); }
public WorkItemSelectorType clone() { WorkItemSelectorType object = new WorkItemSelectorType(); PrismContainerValue value = asPrismContainerValue().clone(); object.setupContainerValue(value); return object; }
public WorkItemSelectorType all(Boolean value) { setAll(value); return this; }
@Override public boolean equals(Object object) { if (!(object instanceof WorkItemSelectorType)) { return false; } WorkItemSelectorType other = ((WorkItemSelectorType) object); return asPrismContainerValue().equivalent(other.asPrismContainerValue()); }
public WorkItemSelectorType description(String value) { setDescription(value); return this; }
public WorkItemSelectorType id(Long value) { setId(value); return this; }
public WorkItemSelectorType(PrismContext prismContext) { setupContainerValue(new PrismContainerValueImpl<>(this, prismContext)); }
public static boolean limitationsAllow(List<OtherPrivilegesLimitationType> limitations, QName itemName) { for (OtherPrivilegesLimitationType limitation : limitations) { @SuppressWarnings({ "unchecked", "raw" }) PrismContainer<WorkItemSelectorType> selector = limitation.asPrismContainerValue().findContainer(itemName); if (selector == null || selector.isEmpty() || !selector.getRealValue().isAll()) { return false; } } return true; }
@Override public String toString() { return asPrismContainerValue().toString(); }
/** * Create an instance of {@link WorkItemSelectorType } * */ public WorkItemSelectorType createWorkItemSelectorType() { return new WorkItemSelectorType(); }
@Override public int hashCode() { return asPrismContainerValue().hashCode(); }
/** * Create an instance of {@link WorkItemSelectorType } * */ public WorkItemSelectorType createWorkItemSelectorType() { return new WorkItemSelectorType(); }
@XmlElement(name = "all") public Boolean isAll() { return PrismForJAXBUtil.getPropertyValue(asPrismContainerValue(), F_ALL, Boolean.class); }
public WorkItemSelectorType beginCaseManagementWorkItems() { WorkItemSelectorType value = new WorkItemSelectorType(); caseManagementWorkItems(value); return value; }
public void setDescription(String value) { PrismForJAXBUtil.setPropertyValue(asPrismContainerValue(), F_DESCRIPTION, value); }
public WorkItemSelectorType beginCertificationWorkItems() { WorkItemSelectorType value = new WorkItemSelectorType(); certificationWorkItems(value); return value; }
@XmlElement(name = "description") public String getDescription() { return PrismForJAXBUtil.getPropertyValue(asPrismContainerValue(), F_DESCRIPTION, String.class); }
public WorkItemSelectorType beginApprovalWorkItems() { WorkItemSelectorType value = new WorkItemSelectorType(); approvalWorkItems(value); return value; }
@XmlAttribute(name = "id") public Long getId() { return asPrismContainerValue().getId(); }
public void setAll(Boolean value) { PrismForJAXBUtil.setPropertyValue(asPrismContainerValue(), F_ALL, value); }