Class LookupTableRowType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.LookupTableRowType
-
- All Implemented Interfaces:
Containerable,DebugDumpable,Serializable,Cloneable
public class LookupTableRowType extends Object implements Serializable, Cloneable, Containerable
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.Java class for LookupTableRowType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="LookupTableRowType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="key" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="label" type="{http://prism.evolveum.com/xml/ns/public/types-3}PolyStringType" minOccurs="0"/> <element name="lastChangeTimestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}long" /> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QNameCOMPLEX_TYPEstatic ItemNameF_KEYstatic ItemNameF_LABELstatic ItemNameF_LAST_CHANGE_TIMESTAMPstatic ItemNameF_VALUE-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description LookupTableRowType()LookupTableRowType(PrismContext prismContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrismContainerValueasPrismContainerValue()PolyStringTypebeginLabel()LookupTableRowTypeclone()<X> Xend()booleanequals(Object object)LonggetId()StringgetKey()PolyStringTypegetLabel()XMLGregorianCalendargetLastChangeTimestamp()StringgetValue()inthashCode()LookupTableRowTypeid(Long value)LookupTableRowTypekey(String value)LookupTableRowTypelabel(PolyStringType value)LookupTableRowTypelabel(String value)LookupTableRowTypelastChangeTimestamp(String value)LookupTableRowTypelastChangeTimestamp(XMLGregorianCalendar value)voidsetId(Long value)voidsetKey(String value)voidsetLabel(PolyStringType value)voidsetLastChangeTimestamp(XMLGregorianCalendar value)voidsetupContainerValue(PrismContainerValue containerValue)Setup value to the containerable representation.voidsetValue(String value)StringtoString()LookupTableRowTypevalue(String value)-
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
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Constructor Detail
-
LookupTableRowType
public LookupTableRowType()
-
LookupTableRowType
public LookupTableRowType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValuein interfaceContainerable
-
setupContainerValue
public void setupContainerValue(PrismContainerValue containerValue)
Description copied from interface:ContainerableSetup value to the containerable representation. This is used to after (empty) containerable is created to initialize it with a correct prism container value. Note: This method DOES NOT change the container value parent.- Specified by:
setupContainerValuein interfaceContainerable
-
end
public <X> X end()
-
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)
-
getId
public Long getId()
-
setId
public void setId(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)
-
beginLabel
public PolyStringType beginLabel()
-
lastChangeTimestamp
public LookupTableRowType lastChangeTimestamp(XMLGregorianCalendar value)
-
lastChangeTimestamp
public LookupTableRowType lastChangeTimestamp(String value)
-
id
public LookupTableRowType id(Long value)
-
clone
public LookupTableRowType clone()
-
-