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
,com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
,DebugDumpable
,Serializable
,Cloneable
public class LookupTableRowType extends com.evolveum.midpoint.prism.impl.binding.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
com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable.Any
-
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding.ContainerableList<T extends Containerable>, com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding.ReferencableList<T extends Referencable>
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_KEY
static ItemName
F_LABEL
static ItemName
F_LAST_CHANGE_TIMESTAMP
static ItemName
F_VALUE
static 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 LookupTableRowType
clone()
<X> X
end()
boolean
equals(Object other)
String
getKey()
PolyStringType
getLabel()
XMLGregorianCalendar
getLastChangeTimestamp()
String
getValue()
LookupTableRowType
id(Long value)
LookupTableRowType
key(String value)
LookupTableRowType
label(PolyStringType value)
LookupTableRowType
label(String value)
LookupTableRowType
lastChangeTimestamp(String value)
LookupTableRowType
lastChangeTimestamp(XMLGregorianCalendar value)
void
setKey(String value)
void
setLabel(PolyStringType value)
void
setLastChangeTimestamp(XMLGregorianCalendar value)
void
setValue(String value)
LookupTableRowType
value(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:
equals
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
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:
clone
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
-