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 QName
COMPLEX_TYPE
static ItemName
F_KEY
static ItemName
F_LABEL
static ItemName
F_LAST_CHANGE_TIMESTAMP
static ItemName
F_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 PrismContainerValue
asPrismContainerValue()
PolyStringType
beginLabel()
LookupTableRowType
clone()
<X> X
end()
boolean
equals(Object object)
Long
getId()
String
getKey()
PolyStringType
getLabel()
XMLGregorianCalendar
getLastChangeTimestamp()
String
getValue()
int
hashCode()
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
setId(Long value)
void
setKey(String value)
void
setLabel(PolyStringType value)
void
setLastChangeTimestamp(XMLGregorianCalendar value)
void
setupContainerValue(PrismContainerValue containerValue)
Setup value to the containerable representation.void
setValue(String value)
String
toString()
LookupTableRowType
value(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:
asPrismContainerValue
in interfaceContainerable
-
setupContainerValue
public void setupContainerValue(PrismContainerValue containerValue)
Description copied from interface:Containerable
Setup 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:
setupContainerValue
in 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()
-
-