Class RAssignment
- java.lang.Object
-
- com.evolveum.midpoint.repo.sql.data.common.container.RAssignment
-
- All Implemented Interfaces:
Container<RObject>
,Metadata<RAssignmentReference>
,EntityState
,Serializable
@Entity public class RAssignment extends Object implements Container<RObject>, Metadata<RAssignmentReference>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RAssignment()
RAssignment(RObject owner, RAssignmentOwner assignmentOwner)
-
Method Summary
-
-
-
Field Detail
-
F_OWNER
public static final String F_OWNER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RAssignment
public RAssignment()
-
RAssignment
public RAssignment(RObject owner, RAssignmentOwner assignmentOwner)
-
-
Method Detail
-
getOwnerOid
public String getOwnerOid()
- Specified by:
getOwnerOid
in interfaceContainer<RObject>
-
getAssignmentOwner
public RAssignmentOwner getAssignmentOwner()
-
getTargetRef
public REmbeddedReference getTargetRef()
-
getTenantRef
public REmbeddedReference getTenantRef()
-
getOrgRef
public REmbeddedReference getOrgRef()
-
getResourceRef
public REmbeddedReference getResourceRef()
-
getExtension
public RAssignmentExtension getExtension()
-
getActivation
public RActivation getActivation()
-
getOrder
public Integer getOrder()
-
getCreateApproverRef
public Set<RAssignmentReference> getCreateApproverRef()
- Specified by:
getCreateApproverRef
in interfaceMetadata<RAssignmentReference>
-
getCreateChannel
public String getCreateChannel()
- Specified by:
getCreateChannel
in interfaceMetadata<RAssignmentReference>
-
getCreateTimestamp
public XMLGregorianCalendar getCreateTimestamp()
- Specified by:
getCreateTimestamp
in interfaceMetadata<RAssignmentReference>
-
getCreatorRef
public REmbeddedReference getCreatorRef()
- Specified by:
getCreatorRef
in interfaceMetadata<RAssignmentReference>
-
getModifierRef
public REmbeddedReference getModifierRef()
- Specified by:
getModifierRef
in interfaceMetadata<RAssignmentReference>
-
getModifyApproverRef
public Set<RAssignmentReference> getModifyApproverRef()
- Specified by:
getModifyApproverRef
in interfaceMetadata<RAssignmentReference>
-
getModifyChannel
public String getModifyChannel()
- Specified by:
getModifyChannel
in interfaceMetadata<RAssignmentReference>
-
getModifyTimestamp
public XMLGregorianCalendar getModifyTimestamp()
- Specified by:
getModifyTimestamp
in interfaceMetadata<RAssignmentReference>
-
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
-
getLifecycleState
public String getLifecycleState()
-
setLifecycleState
public void setLifecycleState(String lifecycleState)
-
setTransient
public void setTransient(Boolean trans)
- Specified by:
setTransient
in interfaceEntityState
-
setOwner
public void setOwner(RObject owner)
-
setOwnerOid
public void setOwnerOid(String ownerOid)
- Specified by:
setOwnerOid
in interfaceContainer<RObject>
-
setCreateApproverRef
public void setCreateApproverRef(Set<RAssignmentReference> createApproverRef)
- Specified by:
setCreateApproverRef
in interfaceMetadata<RAssignmentReference>
-
setCreateChannel
public void setCreateChannel(String createChannel)
- Specified by:
setCreateChannel
in interfaceMetadata<RAssignmentReference>
-
setCreateTimestamp
public void setCreateTimestamp(XMLGregorianCalendar createTimestamp)
- Specified by:
setCreateTimestamp
in interfaceMetadata<RAssignmentReference>
-
setCreatorRef
public void setCreatorRef(REmbeddedReference creatorRef)
- Specified by:
setCreatorRef
in interfaceMetadata<RAssignmentReference>
-
setModifierRef
public void setModifierRef(REmbeddedReference modifierRef)
- Specified by:
setModifierRef
in interfaceMetadata<RAssignmentReference>
-
setModifyApproverRef
public void setModifyApproverRef(Set<RAssignmentReference> modifyApproverRef)
- Specified by:
setModifyApproverRef
in interfaceMetadata<RAssignmentReference>
-
setModifyChannel
public void setModifyChannel(String modifyChannel)
- Specified by:
setModifyChannel
in interfaceMetadata<RAssignmentReference>
-
setModifyTimestamp
public void setModifyTimestamp(XMLGregorianCalendar modifyTimestamp)
- Specified by:
setModifyTimestamp
in interfaceMetadata<RAssignmentReference>
-
setOrder
public void setOrder(Integer order)
-
setActivation
public void setActivation(RActivation activation)
-
setExtension
public void setExtension(RAssignmentExtension extension)
-
setTargetRef
public void setTargetRef(REmbeddedReference targetRef)
-
setAssignmentOwner
public void setAssignmentOwner(RAssignmentOwner assignmentOwner)
-
setTenantRef
public void setTenantRef(REmbeddedReference tenantRef)
-
setOrgRef
public void setOrgRef(REmbeddedReference orgRef)
-
setResourceRef
public void setResourceRef(REmbeddedReference resourceRef)
-
fromJaxb
public static void fromJaxb(AssignmentType jaxb, RAssignment repo, RObject parent, RepositoryContext repositoryContext) throws DtoTranslationException
- Throws:
DtoTranslationException
-
fromJaxb
public static void fromJaxb(AssignmentType jaxb, RAssignment repo, ObjectType parent, RepositoryContext repositoryContext, IdGeneratorResult generatorResult) throws DtoTranslationException
- Throws:
DtoTranslationException
-
-