Class RObject
- java.lang.Object
-
- com.evolveum.midpoint.repo.sql.data.common.RObject
-
- All Implemented Interfaces:
Metadata<RObjectReference<RFocus>>
,EntityState
,Serializable
- Direct Known Subclasses:
RAccessCertificationCampaign
,RAccessCertificationDefinition
,RCase
,RConnector
,RConnectorHost
,RDashboard
,RFocus
,RForm
,RFunctionLibrary
,RLookupTable
,RNode
,RObjectCollection
,RObjectTemplate
,RReport
,RReportData
,RResource
,RSecurityPolicy
,RSequence
,RShadow
,RSystemConfiguration
,RTask
,RValuePolicy
@Entity public abstract class RObject extends Object implements Metadata<RObjectReference<RFocus>>, EntityState, Serializable
- Author:
- lazyman
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
F_OBJECT_TYPE_CLASS
static String
F_TEXT_INFO_ITEMS
-
Constructor Summary
Constructors Constructor Description RObject()
-
Method Summary
-
-
-
Field Detail
-
F_OBJECT_TYPE_CLASS
public static final String F_OBJECT_TYPE_CLASS
- See Also:
- Constant Field Values
-
F_TEXT_INFO_ITEMS
public static final String F_TEXT_INFO_ITEMS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getOid
public String getOid()
-
getName
public RPolyString getName()
-
getParentOrgRef
public Set<RObjectReference<ROrg>> getParentOrgRef()
-
getDescendants
public Set<ROrgClosure> getDescendants()
-
getAncestors
public Set<ROrgClosure> getAncestors()
-
getVersion
public int getVersion()
-
getTenantRef
public REmbeddedReference getTenantRef()
-
getFullObject
public byte[] getFullObject()
-
getCreateApproverRef
public Set<RObjectReference<RFocus>> getCreateApproverRef()
- Specified by:
getCreateApproverRef
in interfaceMetadata<RObjectReference<RFocus>>
-
getRoleMembershipRef
public Set<RObjectReference<RAbstractRole>> getRoleMembershipRef()
-
getDelegatedRef
public Set<RObjectReference<RFocus>> getDelegatedRef()
-
getArchetypeRef
public Set<RObjectReference<RArchetype>> getArchetypeRef()
-
getAssignments
protected Set<RAssignment> getAssignments(RAssignmentOwner owner)
-
getAssignment
public Set<RAssignment> getAssignment()
-
getAssignments
public Set<RAssignment> getAssignments()
-
getCreateChannel
public String getCreateChannel()
- Specified by:
getCreateChannel
in interfaceMetadata<RObjectReference<RFocus>>
-
getCreateTimestamp
public XMLGregorianCalendar getCreateTimestamp()
- Specified by:
getCreateTimestamp
in interfaceMetadata<RObjectReference<RFocus>>
-
getCreatorRef
public REmbeddedReference getCreatorRef()
- Specified by:
getCreatorRef
in interfaceMetadata<RObjectReference<RFocus>>
-
getModifierRef
public REmbeddedReference getModifierRef()
- Specified by:
getModifierRef
in interfaceMetadata<RObjectReference<RFocus>>
-
getModifyApproverRef
public Set<RObjectReference<RFocus>> getModifyApproverRef()
- Specified by:
getModifyApproverRef
in interfaceMetadata<RObjectReference<RFocus>>
-
getModifyChannel
public String getModifyChannel()
- Specified by:
getModifyChannel
in interfaceMetadata<RObjectReference<RFocus>>
-
getModifyTimestamp
public XMLGregorianCalendar getModifyTimestamp()
- Specified by:
getModifyTimestamp
in interfaceMetadata<RObjectReference<RFocus>>
-
getLongs
public Collection<ROExtLong> getLongs()
-
getBooleans
public Collection<ROExtBoolean> getBooleans()
-
getStrings
public Collection<ROExtString> getStrings()
-
getDates
public Collection<ROExtDate> getDates()
-
getReferences
public Collection<ROExtReference> getReferences()
-
getPolys
public Collection<ROExtPolyString> getPolys()
-
getObjectTypeClass
public RObjectType getObjectTypeClass()
-
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
-
setObjectTypeClass
public void setObjectTypeClass(RObjectType objectTypeClass)
-
setCreateApproverRef
public void setCreateApproverRef(Set<RObjectReference<RFocus>> createApproverRef)
- Specified by:
setCreateApproverRef
in interfaceMetadata<RObjectReference<RFocus>>
-
setCreateChannel
public void setCreateChannel(String createChannel)
- Specified by:
setCreateChannel
in interfaceMetadata<RObjectReference<RFocus>>
-
setCreateTimestamp
public void setCreateTimestamp(XMLGregorianCalendar createTimestamp)
- Specified by:
setCreateTimestamp
in interfaceMetadata<RObjectReference<RFocus>>
-
setCreatorRef
public void setCreatorRef(REmbeddedReference creatorRef)
- Specified by:
setCreatorRef
in interfaceMetadata<RObjectReference<RFocus>>
-
setModifierRef
public void setModifierRef(REmbeddedReference modifierRef)
- Specified by:
setModifierRef
in interfaceMetadata<RObjectReference<RFocus>>
-
setModifyApproverRef
public void setModifyApproverRef(Set<RObjectReference<RFocus>> modifyApproverRef)
- Specified by:
setModifyApproverRef
in interfaceMetadata<RObjectReference<RFocus>>
-
setModifyChannel
public void setModifyChannel(String modifyChannel)
- Specified by:
setModifyChannel
in interfaceMetadata<RObjectReference<RFocus>>
-
setModifyTimestamp
public void setModifyTimestamp(XMLGregorianCalendar modifyTimestamp)
- Specified by:
setModifyTimestamp
in interfaceMetadata<RObjectReference<RFocus>>
-
setFullObject
public void setFullObject(byte[] fullObject)
-
setVersion
public void setVersion(int version)
-
setTenantRef
public void setTenantRef(REmbeddedReference tenantRef)
-
setName
public void setName(RPolyString name)
-
setOid
public void setOid(String oid)
-
setDescendants
public void setDescendants(Set<ROrgClosure> descendants)
-
setAncestors
public void setAncestors(Set<ROrgClosure> ancestors)
-
setParentOrgRef
public void setParentOrgRef(Set<RObjectReference<ROrg>> parentOrgRef)
-
setPolys
public void setPolys(Collection<ROExtPolyString> polys)
-
setReferences
public void setReferences(Collection<ROExtReference> references)
-
setDates
public void setDates(Collection<ROExtDate> dates)
-
setLongs
public void setLongs(Collection<ROExtLong> longs)
-
setStrings
public void setStrings(Collection<ROExtString> strings)
-
setBooleans
public void setBooleans(Collection<ROExtBoolean> booleans)
-
getTextInfoItems
public Set<RObjectTextInfo> getTextInfoItems()
-
setTextInfoItems
public void setTextInfoItems(Set<RObjectTextInfo> textInfoItems)
-
getOperationExecutions
public Set<ROperationExecution> getOperationExecutions()
-
setOperationExecutions
public void setOperationExecutions(Set<ROperationExecution> operationExecutions)
-
setAssignments
public void setAssignments(Set<RAssignment> assignments)
-
setRoleMembershipRef
public void setRoleMembershipRef(Set<RObjectReference<RAbstractRole>> roleMembershipRef)
-
setDelegatedRef
public void setDelegatedRef(Set<RObjectReference<RFocus>> delegatedRef)
-
setArchetypeRef
public void setArchetypeRef(Set<RObjectReference<RArchetype>> archetypeRef)
-
-