Class RLookupTableRow
- java.lang.Object
-
- com.evolveum.midpoint.repo.sql.data.common.other.RLookupTableRow
-
- All Implemented Interfaces:
Container<RLookupTable>
,EntityState
,Serializable
@Entity public class RLookupTableRow extends Object implements Container<RLookupTable>
- Author:
- Viliam Repan (lazyman)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ID_COLUMN_NAME
-
Constructor Summary
Constructors Constructor Description RLookupTableRow()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Integer
getId()
String
getKey()
RPolyString
getLabel()
XMLGregorianCalendar
getLastChangeTimestamp()
RLookupTable
getOwner()
String
getOwnerOid()
String
getValue()
int
hashCode()
Boolean
isTransient()
Tells hibernateInterceptor
that entity is transient, so that hibernate session doesn't need to verify it using select queries.void
setId(Integer id)
void
setKey(String key)
void
setLabel(RPolyString label)
void
setLastChangeTimestamp(XMLGregorianCalendar lastChangeTimestamp)
void
setOwner(RLookupTable owner)
void
setOwnerOid(String ownerOid)
void
setTransient(Boolean trans)
void
setValue(String value)
LookupTableRowType
toJAXB(PrismContext prismContext)
static RLookupTableRow
toRepo(RLookupTable owner, LookupTableRowType row)
static RLookupTableRow
toRepo(String ownerOid, LookupTableRowType row)
String
toString()
-
-
-
Field Detail
-
ID_COLUMN_NAME
public static final String ID_COLUMN_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getOwner
public RLookupTable getOwner()
- Specified by:
getOwner
in interfaceContainer<RLookupTable>
-
getOwnerOid
public String getOwnerOid()
- Specified by:
getOwnerOid
in interfaceContainer<RLookupTable>
-
getId
public Integer getId()
- Specified by:
getId
in interfaceContainer<RLookupTable>
-
getKey
public String getKey()
-
setKey
public void setKey(String key)
-
getLabel
public RPolyString getLabel()
-
setLabel
public void setLabel(RPolyString label)
-
getLastChangeTimestamp
public XMLGregorianCalendar getLastChangeTimestamp()
-
setLastChangeTimestamp
public void setLastChangeTimestamp(XMLGregorianCalendar lastChangeTimestamp)
-
getValue
public String getValue()
-
isTransient
public Boolean isTransient()
Description copied from interface:EntityState
Tells hibernateInterceptor
that entity is transient, so that hibernate session doesn't need to verify it using select queries.- Specified by:
isTransient
in interfaceEntityState
- Returns:
- true if entity is transient
-
setValue
public void setValue(String value)
-
setOwner
public void setOwner(RLookupTable owner)
- Specified by:
setOwner
in interfaceContainer<RLookupTable>
-
setOwnerOid
public void setOwnerOid(String ownerOid)
- Specified by:
setOwnerOid
in interfaceContainer<RLookupTable>
-
setId
public void setId(Integer id)
- Specified by:
setId
in interfaceContainer<RLookupTable>
-
setTransient
public void setTransient(Boolean trans)
- Specified by:
setTransient
in interfaceEntityState
-
toJAXB
public LookupTableRowType toJAXB(PrismContext prismContext)
-
toRepo
public static RLookupTableRow toRepo(RLookupTable owner, LookupTableRowType row) throws SchemaException
- Throws:
SchemaException
-
toRepo
public static RLookupTableRow toRepo(String ownerOid, LookupTableRowType row) throws SchemaException
- Throws:
SchemaException
-
-