Class RAuditPropertyValue
- java.lang.Object
-
- com.evolveum.midpoint.repo.sql.data.audit.RAuditPropertyValue
-
- All Implemented Interfaces:
EntityState
@Entity public class RAuditPropertyValue extends Object implements EntityState
-
-
Field Summary
Fields Modifier and Type Field Description static String
COLUMN_RECORD_ID
static String
NAME_COLUMN_NAME
static String
TABLE_NAME
static String
VALUE_COLUMN_NAME
-
Constructor Summary
Constructors Constructor Description RAuditPropertyValue()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
long
getId()
String
getName()
RAuditEventRecord
getRecord()
Long
getRecordId()
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(long id)
void
setName(String name)
void
setRecord(RAuditEventRecord record)
void
setRecordId(Long recordId)
void
setTransient(Boolean trans)
void
setValue(String value)
static RAuditPropertyValue
toRepo(RAuditEventRecord record, String name, String value)
static SingleSqlQuery
toRepo(Long recordId, String name, String value)
String
toString()
-
-
-
Field Detail
-
TABLE_NAME
public static final String TABLE_NAME
- See Also:
- Constant Field Values
-
COLUMN_RECORD_ID
public static final String COLUMN_RECORD_ID
- See Also:
- Constant Field Values
-
NAME_COLUMN_NAME
public static final String NAME_COLUMN_NAME
- See Also:
- Constant Field Values
-
VALUE_COLUMN_NAME
public static final String VALUE_COLUMN_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
setTransient
public void setTransient(Boolean trans)
- Specified by:
setTransient
in interfaceEntityState
-
getId
public long getId()
-
setId
public void setId(long id)
-
getRecord
public RAuditEventRecord getRecord()
-
getRecordId
public Long getRecordId()
-
setRecord
public void setRecord(RAuditEventRecord record)
-
setRecordId
public void setRecordId(Long recordId)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getValue
public String getValue()
-
setValue
public void setValue(String value)
-
toRepo
public static RAuditPropertyValue toRepo(RAuditEventRecord record, String name, String value)
-
toRepo
public static SingleSqlQuery toRepo(Long recordId, String name, String value)
-
-