Class FocusType
- java.lang.Object
-
- com.evolveum.prism.xml.ns._public.types_3.ObjectType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentHolderType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.FocusType
-
- All Implemented Interfaces:
Containerable,JaxbVisitable,Objectable,DebugDumpable,Serializable,Cloneable
- Direct Known Subclasses:
AbstractRoleType,GenericObjectType,UserType
public abstract class FocusType extends AssignmentHolderType implements Serializable, Cloneable, Objectable
<?xml version="1.0" encoding="UTF-8"?><p xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:s="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3" xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> Abstract supertype for all object types that can be focus of full midPoint computation. This basically means objects that have projections. But focal objects also have activation, they may have personas, etc. </p>Java class for FocusType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FocusType"> <complexContent> <extension base="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}AssignmentHolderType"> <sequence> <element name="linkRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" maxOccurs="unbounded" minOccurs="0"/> <element name="personaRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" maxOccurs="unbounded" minOccurs="0"/> <element name="activation" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ActivationType" minOccurs="0"/> <element name="jpegPhoto" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/> <element name="costCenter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="locality" type="{http://prism.evolveum.com/xml/ns/public/types-3}PolyStringType" minOccurs="0"/> <element name="preferredLanguage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="locale" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="timezone" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="emailAddress" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="telephoneNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="credentials" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}CredentialsType" minOccurs="0"/> <element name="behavior" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}BehaviorType" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QNameCOMPLEX_TYPEstatic ItemNameF_ACTIVATIONstatic ItemNameF_BEHAVIORstatic ItemNameF_COST_CENTERstatic ItemNameF_CREDENTIALSstatic ItemNameF_EMAIL_ADDRESSstatic ItemNameF_JPEG_PHOTOstatic ItemNameF_LINK_REFstatic ItemNameF_LOCALEstatic ItemNameF_LOCALITYstatic ItemNameF_PERSONA_REFstatic ItemNameF_PREFERRED_LANGUAGEstatic ItemNameF_TELEPHONE_NUMBERstatic ItemNameF_TIMEZONE-
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentHolderType
F_ARCHETYPE_REF, F_ASSIGNMENT, F_DELEGATED_REF, F_ITERATION, F_ITERATION_TOKEN, F_ROLE_INFLUENCE_REF, F_ROLE_MEMBERSHIP_REF
-
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType
F_DESCRIPTION, F_DIAGNOSTIC_INFORMATION, F_DOCUMENTATION, F_EXTENSION, F_FETCH_RESULT, F_INDESTRUCTIBLE, F_LENS_CONTEXT, F_LIFECYCLE_STATE, F_METADATA, F_NAME, F_OPERATION_EXECUTION, F_PARENT_ORG_REF, F_POLICY_EXCEPTION, F_POLICY_SITUATION, F_SUBTYPE, F_TENANT_REF, F_TRIGGER, F_TRIGGERED_POLICY_RULE
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description FocusType()FocusType(PrismContext prismContext)
-
Method Summary
-
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentHolderType
createArchetypeRefList, createAssignmentList, createDelegatedRefList, createRoleInfluenceRefList, createRoleMembershipRefList, getArchetypeRef, getAssignment, getDelegatedRef, getIteration, getIterationToken, getRoleInfluenceRef, getRoleMembershipRef, setIteration, setIterationToken
-
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType
createDiagnosticInformationList, createOperationExecutionList, createParentOrgRefList, createPolicyExceptionList, createPolicySituationList, createSubtypeList, createTriggeredPolicyRuleList, createTriggerList, getDescription, getDiagnosticInformation, getDocumentation, getExtension, getFetchResult, getLensContext, getLifecycleState, getMetadata, getName, getOid, getOperationExecution, getParentOrgRef, getPolicyException, getPolicySituation, getSubtype, getTenantRef, getTrigger, getTriggeredPolicyRule, getVersion, isIndestructible, setDescription, setDocumentation, setExtension, setFetchResult, setIndestructible, setLensContext, setLifecycleState, setMetadata, setName, setOid, setTenantRef, setVersion
-
Methods inherited from class com.evolveum.prism.xml.ns._public.types_3.ObjectType
accept
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.prism.Containerable
cloneWithoutId, debugDump
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.prism.Objectable
getDescription, getName, getOid, getVersion, setDescription, setName, setOid, setVersion
-
-
-
-
Field Detail
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_LINK_REF
public static final ItemName F_LINK_REF
-
F_PERSONA_REF
public static final ItemName F_PERSONA_REF
-
F_ACTIVATION
public static final ItemName F_ACTIVATION
-
F_JPEG_PHOTO
public static final ItemName F_JPEG_PHOTO
-
F_COST_CENTER
public static final ItemName F_COST_CENTER
-
F_LOCALITY
public static final ItemName F_LOCALITY
-
F_PREFERRED_LANGUAGE
public static final ItemName F_PREFERRED_LANGUAGE
-
F_LOCALE
public static final ItemName F_LOCALE
-
F_TIMEZONE
public static final ItemName F_TIMEZONE
-
F_EMAIL_ADDRESS
public static final ItemName F_EMAIL_ADDRESS
-
F_TELEPHONE_NUMBER
public static final ItemName F_TELEPHONE_NUMBER
-
F_CREDENTIALS
public static final ItemName F_CREDENTIALS
-
F_BEHAVIOR
public static final ItemName F_BEHAVIOR
-
-
Constructor Detail
-
FocusType
public FocusType()
-
FocusType
public FocusType(PrismContext prismContext)
-
-
Method Detail
-
asPrismObject
public PrismObject<? extends FocusType> asPrismObject()
- Specified by:
asPrismObjectin interfaceObjectable- Overrides:
asPrismObjectin classAssignmentHolderType
-
setupContainer
public void setupContainer(PrismObject container)
- Specified by:
setupContainerin interfaceObjectable- Overrides:
setupContainerin classAssignmentHolderType
-
asPrismContainer
public PrismObject asPrismContainer()
- Overrides:
asPrismContainerin classAssignmentHolderType
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValuein interfaceContainerable- Overrides:
asPrismContainerValuein classAssignmentHolderType
-
setupContainerValue
public void setupContainerValue(PrismContainerValue containerValue)
Description copied from interface:ContainerableSetup value to the containerable representation. This is used to after (empty) containerable is created to initialize it with a correct prism container value. Note: This method DOES NOT change the container value parent.- Specified by:
setupContainerValuein interfaceContainerable- Overrides:
setupContainerValuein classAssignmentHolderType
-
toString
public String toString()
- Overrides:
toStringin classAssignmentHolderType
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classAssignmentHolderType
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAssignmentHolderType
-
toDebugName
public String toDebugName()
Description copied from interface:ObjectableReturns short string representing identity of this object. It should container object type, OID and name. It should be presented in a form suitable for log and diagnostic messages (understandable for system administrator).- Specified by:
toDebugNamein interfaceObjectable- Overrides:
toDebugNamein classAssignmentHolderType
-
toDebugType
public String toDebugType()
Description copied from interface:ObjectableReturns short string identification of object type. It should be in a form suitable for log messages. There is no requirement for the type name to be unique, but it rather has to be compact. E.g. short element names are preferred to long QNames or URIs.- Specified by:
toDebugTypein interfaceObjectable- Overrides:
toDebugTypein classAssignmentHolderType- Returns:
-
end
public <X> X end()
- Overrides:
endin classAssignmentHolderType
-
getLinkRef
public List<ObjectReferenceType> getLinkRef()
-
createLinkRefList
public List<ObjectReferenceType> createLinkRefList()
-
getPersonaRef
public List<ObjectReferenceType> getPersonaRef()
-
createPersonaRefList
public List<ObjectReferenceType> createPersonaRefList()
-
getActivation
public ActivationType getActivation()
-
setActivation
public void setActivation(ActivationType value)
-
getJpegPhoto
public byte[] getJpegPhoto()
-
setJpegPhoto
public void setJpegPhoto(byte[] value)
-
getCostCenter
public String getCostCenter()
-
setCostCenter
public void setCostCenter(String value)
-
getLocality
public PolyStringType getLocality()
-
setLocality
public void setLocality(PolyStringType value)
-
getPreferredLanguage
public String getPreferredLanguage()
-
setPreferredLanguage
public void setPreferredLanguage(String value)
-
getLocale
public String getLocale()
-
setLocale
public void setLocale(String value)
-
getTimezone
public String getTimezone()
-
setTimezone
public void setTimezone(String value)
-
getEmailAddress
public String getEmailAddress()
-
setEmailAddress
public void setEmailAddress(String value)
-
getTelephoneNumber
public String getTelephoneNumber()
-
setTelephoneNumber
public void setTelephoneNumber(String value)
-
getCredentials
public CredentialsType getCredentials()
-
setCredentials
public void setCredentials(CredentialsType value)
-
getBehavior
public BehaviorType getBehavior()
-
setBehavior
public void setBehavior(BehaviorType value)
-
linkRef
public FocusType linkRef(ObjectReferenceType value)
-
beginLinkRef
public ObjectReferenceType beginLinkRef()
-
personaRef
public FocusType personaRef(ObjectReferenceType value)
-
beginPersonaRef
public ObjectReferenceType beginPersonaRef()
-
activation
public FocusType activation(ActivationType value)
-
beginActivation
public ActivationType beginActivation()
-
jpegPhoto
public FocusType jpegPhoto(byte[] value)
-
locality
public FocusType locality(PolyStringType value)
-
beginLocality
public PolyStringType beginLocality()
-
credentials
public FocusType credentials(CredentialsType value)
-
beginCredentials
public CredentialsType beginCredentials()
-
behavior
public FocusType behavior(BehaviorType value)
-
beginBehavior
public BehaviorType beginBehavior()
-
assignment
public FocusType assignment(AssignmentType value)
- Overrides:
assignmentin classAssignmentHolderType
-
beginAssignment
public AssignmentType beginAssignment()
- Overrides:
beginAssignmentin classAssignmentHolderType
-
iteration
public FocusType iteration(Integer value)
- Overrides:
iterationin classAssignmentHolderType
-
iterationToken
public FocusType iterationToken(String value)
- Overrides:
iterationTokenin classAssignmentHolderType
-
archetypeRef
public FocusType archetypeRef(ObjectReferenceType value)
- Overrides:
archetypeRefin classAssignmentHolderType
-
archetypeRef
public FocusType archetypeRef(String oid, QName type)
- Overrides:
archetypeRefin classAssignmentHolderType
-
archetypeRef
public FocusType archetypeRef(String oid, QName type, QName relation)
- Overrides:
archetypeRefin classAssignmentHolderType
-
beginArchetypeRef
public ObjectReferenceType beginArchetypeRef()
- Overrides:
beginArchetypeRefin classAssignmentHolderType
-
roleMembershipRef
public FocusType roleMembershipRef(ObjectReferenceType value)
- Overrides:
roleMembershipRefin classAssignmentHolderType
-
roleMembershipRef
public FocusType roleMembershipRef(String oid, QName type)
- Overrides:
roleMembershipRefin classAssignmentHolderType
-
roleMembershipRef
public FocusType roleMembershipRef(String oid, QName type, QName relation)
- Overrides:
roleMembershipRefin classAssignmentHolderType
-
beginRoleMembershipRef
public ObjectReferenceType beginRoleMembershipRef()
- Overrides:
beginRoleMembershipRefin classAssignmentHolderType
-
delegatedRef
public FocusType delegatedRef(ObjectReferenceType value)
- Overrides:
delegatedRefin classAssignmentHolderType
-
delegatedRef
public FocusType delegatedRef(String oid, QName type)
- Overrides:
delegatedRefin classAssignmentHolderType
-
delegatedRef
public FocusType delegatedRef(String oid, QName type, QName relation)
- Overrides:
delegatedRefin classAssignmentHolderType
-
beginDelegatedRef
public ObjectReferenceType beginDelegatedRef()
- Overrides:
beginDelegatedRefin classAssignmentHolderType
-
roleInfluenceRef
public FocusType roleInfluenceRef(ObjectReferenceType value)
- Overrides:
roleInfluenceRefin classAssignmentHolderType
-
roleInfluenceRef
public FocusType roleInfluenceRef(String oid, QName type)
- Overrides:
roleInfluenceRefin classAssignmentHolderType
-
roleInfluenceRef
public FocusType roleInfluenceRef(String oid, QName type, QName relation)
- Overrides:
roleInfluenceRefin classAssignmentHolderType
-
beginRoleInfluenceRef
public ObjectReferenceType beginRoleInfluenceRef()
- Overrides:
beginRoleInfluenceRefin classAssignmentHolderType
-
name
public FocusType name(PolyStringType value)
- Overrides:
namein classAssignmentHolderType
-
name
public FocusType name(String value)
- Overrides:
namein classAssignmentHolderType
-
beginName
public PolyStringType beginName()
- Overrides:
beginNamein classAssignmentHolderType
-
description
public FocusType description(String value)
- Overrides:
descriptionin classAssignmentHolderType
-
documentation
public FocusType documentation(String value)
- Overrides:
documentationin classAssignmentHolderType
-
subtype
public FocusType subtype(String value)
- Overrides:
subtypein classAssignmentHolderType
-
fetchResult
public FocusType fetchResult(OperationResultType value)
- Overrides:
fetchResultin classAssignmentHolderType
-
beginFetchResult
public OperationResultType beginFetchResult()
- Overrides:
beginFetchResultin classAssignmentHolderType
-
extension
public FocusType extension(ExtensionType value)
- Overrides:
extensionin classAssignmentHolderType
-
beginExtension
public ExtensionType beginExtension()
- Overrides:
beginExtensionin classAssignmentHolderType
-
parentOrgRef
public FocusType parentOrgRef(ObjectReferenceType value)
- Overrides:
parentOrgRefin classAssignmentHolderType
-
parentOrgRef
public FocusType parentOrgRef(String oid, QName type)
- Overrides:
parentOrgRefin classAssignmentHolderType
-
parentOrgRef
public FocusType parentOrgRef(String oid, QName type, QName relation)
- Overrides:
parentOrgRefin classAssignmentHolderType
-
beginParentOrgRef
public ObjectReferenceType beginParentOrgRef()
- Overrides:
beginParentOrgRefin classAssignmentHolderType
-
trigger
public FocusType trigger(TriggerType value)
- Overrides:
triggerin classAssignmentHolderType
-
beginTrigger
public TriggerType beginTrigger()
- Overrides:
beginTriggerin classAssignmentHolderType
-
metadata
public FocusType metadata(MetadataType value)
- Overrides:
metadatain classAssignmentHolderType
-
beginMetadata
public MetadataType beginMetadata()
- Overrides:
beginMetadatain classAssignmentHolderType
-
tenantRef
public FocusType tenantRef(ObjectReferenceType value)
- Overrides:
tenantRefin classAssignmentHolderType
-
tenantRef
public FocusType tenantRef(String oid, QName type)
- Overrides:
tenantRefin classAssignmentHolderType
-
tenantRef
public FocusType tenantRef(String oid, QName type, QName relation)
- Overrides:
tenantRefin classAssignmentHolderType
-
beginTenantRef
public ObjectReferenceType beginTenantRef()
- Overrides:
beginTenantRefin classAssignmentHolderType
-
lifecycleState
public FocusType lifecycleState(String value)
- Overrides:
lifecycleStatein classAssignmentHolderType
-
operationExecution
public FocusType operationExecution(OperationExecutionType value)
- Overrides:
operationExecutionin classAssignmentHolderType
-
beginOperationExecution
public OperationExecutionType beginOperationExecution()
- Overrides:
beginOperationExecutionin classAssignmentHolderType
-
lensContext
public FocusType lensContext(LensContextType value)
- Overrides:
lensContextin classAssignmentHolderType
-
beginLensContext
public LensContextType beginLensContext()
- Overrides:
beginLensContextin classAssignmentHolderType
-
policySituation
public FocusType policySituation(String value)
- Overrides:
policySituationin classAssignmentHolderType
-
triggeredPolicyRule
public FocusType triggeredPolicyRule(EvaluatedPolicyRuleType value)
- Overrides:
triggeredPolicyRulein classAssignmentHolderType
-
beginTriggeredPolicyRule
public EvaluatedPolicyRuleType beginTriggeredPolicyRule()
- Overrides:
beginTriggeredPolicyRulein classAssignmentHolderType
-
policyException
public FocusType policyException(PolicyExceptionType value)
- Overrides:
policyExceptionin classAssignmentHolderType
-
beginPolicyException
public PolicyExceptionType beginPolicyException()
- Overrides:
beginPolicyExceptionin classAssignmentHolderType
-
diagnosticInformation
public FocusType diagnosticInformation(DiagnosticInformationType value)
- Overrides:
diagnosticInformationin classAssignmentHolderType
-
beginDiagnosticInformation
public DiagnosticInformationType beginDiagnosticInformation()
- Overrides:
beginDiagnosticInformationin classAssignmentHolderType
-
indestructible
public FocusType indestructible(Boolean value)
- Overrides:
indestructiblein classAssignmentHolderType
-
oid
public FocusType oid(String value)
- Overrides:
oidin classAssignmentHolderType
-
version
public FocusType version(String value)
- Overrides:
versionin classAssignmentHolderType
-
clone
public FocusType clone()
- Overrides:
clonein classAssignmentHolderType
-
-