Class RAuditReferenceValue
- java.lang.Object
-
- com.evolveum.midpoint.repo.sql.data.audit.RAuditReferenceValue
-
- All Implemented Interfaces:
EntityState
@Entity public class RAuditReferenceValue 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
-
Constructor Summary
Constructors Constructor Description RAuditReferenceValue()
-
Method Summary
-
-
-
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
-
-
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)
-
getOid
public String getOid()
-
setOid
public void setOid(String oid)
-
getType
public String getType()
-
setType
public void setType(String type)
-
getTargetName
public RPolyString getTargetName()
-
setTargetName
public void setTargetName(RPolyString targetName)
-
toRepo
public static RAuditReferenceValue toRepo(RAuditEventRecord record, String name, AuditReferenceValue value)
-
toRepo
public static SingleSqlQuery toRepo(Long recordId, String name, AuditReferenceValue value)
-
fromRepo
public AuditReferenceValue fromRepo(PrismContext prismContext)
-
fromRepo
public static AuditReferenceValue fromRepo(ResultSet resultSet) throws SQLException
- Throws:
SQLException
-
-