Class LookupTableRowType
- java.lang.Object
-
- com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.LookupTableRowType
-
- All Implemented Interfaces:
Containerable,Freezable,ContainerablePrismBinding,DebugDumpable,Serializable,Cloneable
public class LookupTableRowType extends AbstractMutableContainerable
Data structure that represents entire content of the lookup table, organized into table rows. The delta semantics has a slightly different meaning for the lookup tables. Each key must be unique and the key functions as an implicit identifier. E.g. adding a new row with a key that does not exist yet will insert a new row. Adding a new row with key that already exists will overwrite existing row. Replace operation on this property will efficiently clear the entire table and replace it with a new data. We do not recommend using this operation as it may be very inefficient. Add and delete operations are expected during normal operation.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
AbstractMutableContainerable.Any
-
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
ContainerablePrismBinding.ContainerableList<T extends Containerable>, ContainerablePrismBinding.ReferencableList<T extends Referencable>
-
-
Field Summary
Fields Modifier and Type Field Description static QNameCOMPLEX_TYPEstatic ItemNameF_KEYstatic ItemNameF_LABELstatic ItemNameF_LAST_CHANGE_TIMESTAMPstatic ItemNameF_VALUEstatic Producer<LookupTableRowType>FACTORY-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description LookupTableRowType()LookupTableRowType(PrismContext context)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LookupTableRowTypeclone()<X> Xend()booleanequals(Object other)StringgetKey()PolyStringTypegetLabel()XMLGregorianCalendargetLastChangeTimestamp()StringgetValue()LookupTableRowTypeid(Long value)LookupTableRowTypekey(String value)LookupTableRowTypelabel(PolyStringType value)LookupTableRowTypelabel(String value)LookupTableRowTypelastChangeTimestamp(String value)LookupTableRowTypelastChangeTimestamp(XMLGregorianCalendar value)voidsetKey(String value)voidsetLabel(PolyStringType value)voidsetLastChangeTimestamp(XMLGregorianCalendar value)voidsetValue(String value)LookupTableRowTypevalue(String value)-
Methods inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
asPrismContainerValue, getId, hashCode, setId, setupContainerValue, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.prism.Containerable
cloneWithoutId, debugDump, freeze, isImmutable
-
Methods inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
prismGetContainerableList, prismGetPropertyValue, prismGetPropertyValues, prismGetReferencable, prismGetReferencableList, prismGetReferenceObjectable, prismGetSingleContainerable, prismSetPropertyValue, prismSetReferencable, prismSetReferenceObjectable, prismSetSingleContainerable
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable
-
-
-
-
Field Detail
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_KEY
public static final ItemName F_KEY
-
F_VALUE
public static final ItemName F_VALUE
-
F_LABEL
public static final ItemName F_LABEL
-
F_LAST_CHANGE_TIMESTAMP
public static final ItemName F_LAST_CHANGE_TIMESTAMP
-
FACTORY
public static final Producer<LookupTableRowType> FACTORY
-
-
Constructor Detail
-
LookupTableRowType
public LookupTableRowType()
-
LookupTableRowType
@Deprecated public LookupTableRowType(PrismContext context)
Deprecated.
-
-
Method Detail
-
getKey
public String getKey()
-
setKey
public void setKey(String value)
-
getValue
public String getValue()
-
setValue
public void setValue(String value)
-
getLabel
public PolyStringType getLabel()
-
setLabel
public void setLabel(PolyStringType value)
-
getLastChangeTimestamp
public XMLGregorianCalendar getLastChangeTimestamp()
-
setLastChangeTimestamp
public void setLastChangeTimestamp(XMLGregorianCalendar value)
-
equals
public boolean equals(Object other)
- Overrides:
equalsin classAbstractMutableContainerable
-
id
public LookupTableRowType id(Long value)
-
key
public LookupTableRowType key(String value)
-
value
public LookupTableRowType value(String value)
-
label
public LookupTableRowType label(PolyStringType value)
-
label
public LookupTableRowType label(String value)
-
lastChangeTimestamp
public LookupTableRowType lastChangeTimestamp(XMLGregorianCalendar value)
-
lastChangeTimestamp
public LookupTableRowType lastChangeTimestamp(String value)
-
end
public <X> X end()
-
clone
public LookupTableRowType clone()
- Overrides:
clonein classAbstractMutableContainerable
-
-