Class RTargetResourceOid
- java.lang.Object
-
- com.evolveum.midpoint.repo.sql.data.audit.RTargetResourceOid
-
- All Implemented Interfaces:
EntityState
@Entity public class RTargetResourceOid extends Object implements EntityState
-
-
Field Summary
Fields Modifier and Type Field Description static String
COLUMN_RECORD_ID
static String
RESOURCE_OID_COLUMN_NAME
static String
TABLE_NAME
-
Constructor Summary
Constructors Constructor Description RTargetResourceOid()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
RAuditEventRecord
getRecord()
Long
getRecordId()
String
getResourceOid()
int
hashCode()
Boolean
isTransient()
Tells hibernateInterceptor
that entity is transient, so that hibernate session doesn't need to verify it using select queries.void
setRecord(RAuditEventRecord record)
void
setRecordId(Long recordId)
void
setresourceOid(String resourceOid)
void
setTransient(Boolean trans)
static RTargetResourceOid
toRepo(RAuditEventRecord record, String resourceOid)
static SingleSqlQuery
toRepo(Long recordId, String resourceOid)
-
-
-
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
-
RESOURCE_OID_COLUMN_NAME
public static final String RESOURCE_OID_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
-
getRecord
public RAuditEventRecord getRecord()
-
getRecordId
public Long getRecordId()
-
getResourceOid
public String getResourceOid()
-
setRecord
public void setRecord(RAuditEventRecord record)
-
setRecordId
public void setRecordId(Long recordId)
-
setresourceOid
public void setresourceOid(String resourceOid)
-
toRepo
public static RTargetResourceOid toRepo(RAuditEventRecord record, String resourceOid)
-
toRepo
public static SingleSqlQuery toRepo(Long recordId, String resourceOid)
-
-