@Override protected PrismContainerValue getValueFrom(LookupTableRowType value) { return value.asPrismContainerValue(); }
@Override public boolean equals(Object object) { if (!(object instanceof LookupTableRowType)) { return false; } LookupTableRowType other = ((LookupTableRowType) object); return asPrismContainerValue().equivalent(other.asPrismContainerValue()); }
@XmlSchemaType(name = "dateTime") @XmlElement(name = "lastChangeTimestamp") public XMLGregorianCalendar getLastChangeTimestamp() { return PrismForJAXBUtil.getPropertyValue(asPrismContainerValue(), F_LAST_CHANGE_TIMESTAMP, XMLGregorianCalendar.class); }
@Override public int hashCode() { return asPrismContainerValue().hashCode(); }
@XmlElement(required = true, name = "key") public String getKey() { return PrismForJAXBUtil.getPropertyValue(asPrismContainerValue(), F_KEY, String.class); }
@XmlElement(name = "label") public com.evolveum.prism.xml.ns._public.types_3.PolyStringType getLabel() { return PrismForJAXBUtil.getPropertyValue(asPrismContainerValue(), F_LABEL, com.evolveum.prism.xml.ns._public.types_3.PolyStringType.class); }
@XmlElement(name = "value") public String getValue() { return PrismForJAXBUtil.getPropertyValue(asPrismContainerValue(), F_VALUE, String.class); }
@XmlAttribute(name = "id") public Long getId() { return asPrismContainerValue().getId(); }
@Override public String toString() { return asPrismContainerValue().toString(); }
public void setLabel(com.evolveum.prism.xml.ns._public.types_3.PolyStringType value) { PrismForJAXBUtil.setPropertyValue(asPrismContainerValue(), F_LABEL, value); }
public void setLastChangeTimestamp(XMLGregorianCalendar value) { PrismForJAXBUtil.setPropertyValue(asPrismContainerValue(), F_LAST_CHANGE_TIMESTAMP, value); }
public void setId(Long value) { asPrismContainerValue().setId(value); }
public void setKey(String value) { PrismForJAXBUtil.setPropertyValue(asPrismContainerValue(), F_KEY, value); }
public void setValue(String value) { PrismForJAXBUtil.setPropertyValue(asPrismContainerValue(), F_VALUE, value); }
public LookupTableRowType clone() { LookupTableRowType object = new LookupTableRowType(); PrismContainerValue value = asPrismContainerValue().clone(); object.setupContainerValue(value); return object; }
public<X >X end() { return ((X)((PrismContainerValue)((PrismContainer) asPrismContainerValue().getParent()).getParent()).asContainerable()); }
public static void copyFromJAXB(LookupTableType jaxb, RLookupTable repo, RepositoryContext repositoryContext, IdGeneratorResult generatorResult) throws DtoTranslationException, SchemaException { copyAssignmentHolderInformationFromJAXB(jaxb, repo, repositoryContext, generatorResult); repo.setNameCopy(RPolyString.copyFromJAXB(jaxb.getName())); List<LookupTableRowType> rows = jaxb.getRow(); if (!rows.isEmpty()) { repo.setRows(new HashSet<>()); for (LookupTableRowType row : rows) { RLookupTableRow rRow = RLookupTableRow.toRepo(repo, row); rRow.setTransient(generatorResult.isTransient(row.asPrismContainerValue())); repo.getRows().add(rRow); } } } }
LookupTableRowType rowType = row.toJAXB(); delta.setParentPath(ItemPath.EMPTY_PATH); delta.applyTo(rowType.asPrismContainerValue()); if (!QNameUtil.match(name, LookupTableRowType.F_LAST_CHANGE_TIMESTAMP)) {