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 QName
COMPLEX_TYPE
static ItemName
F_ACTIVATION
static ItemName
F_BEHAVIOR
static ItemName
F_COST_CENTER
static ItemName
F_CREDENTIALS
static ItemName
F_EMAIL_ADDRESS
static ItemName
F_JPEG_PHOTO
static ItemName
F_LINK_REF
static ItemName
F_LOCALE
static ItemName
F_LOCALITY
static ItemName
F_PERSONA_REF
static ItemName
F_PREFERRED_LANGUAGE
static ItemName
F_TELEPHONE_NUMBER
static ItemName
F_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:
asPrismObject
in interfaceObjectable
- Overrides:
asPrismObject
in classAssignmentHolderType
-
setupContainer
public void setupContainer(PrismObject container)
- Specified by:
setupContainer
in interfaceObjectable
- Overrides:
setupContainer
in classAssignmentHolderType
-
asPrismContainer
public PrismObject asPrismContainer()
- Overrides:
asPrismContainer
in classAssignmentHolderType
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValue
in interfaceContainerable
- Overrides:
asPrismContainerValue
in classAssignmentHolderType
-
setupContainerValue
public void setupContainerValue(PrismContainerValue containerValue)
Description copied from interface:Containerable
Setup 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:
setupContainerValue
in interfaceContainerable
- Overrides:
setupContainerValue
in classAssignmentHolderType
-
toString
public String toString()
- Overrides:
toString
in classAssignmentHolderType
-
equals
public boolean equals(Object object)
- Overrides:
equals
in classAssignmentHolderType
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAssignmentHolderType
-
toDebugName
public String toDebugName()
Description copied from interface:Objectable
Returns 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:
toDebugName
in interfaceObjectable
- Overrides:
toDebugName
in classAssignmentHolderType
-
toDebugType
public String toDebugType()
Description copied from interface:Objectable
Returns 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:
toDebugType
in interfaceObjectable
- Overrides:
toDebugType
in classAssignmentHolderType
- Returns:
-
end
public <X> X end()
- Overrides:
end
in 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:
assignment
in classAssignmentHolderType
-
beginAssignment
public AssignmentType beginAssignment()
- Overrides:
beginAssignment
in classAssignmentHolderType
-
iteration
public FocusType iteration(Integer value)
- Overrides:
iteration
in classAssignmentHolderType
-
iterationToken
public FocusType iterationToken(String value)
- Overrides:
iterationToken
in classAssignmentHolderType
-
archetypeRef
public FocusType archetypeRef(ObjectReferenceType value)
- Overrides:
archetypeRef
in classAssignmentHolderType
-
archetypeRef
public FocusType archetypeRef(String oid, QName type)
- Overrides:
archetypeRef
in classAssignmentHolderType
-
archetypeRef
public FocusType archetypeRef(String oid, QName type, QName relation)
- Overrides:
archetypeRef
in classAssignmentHolderType
-
beginArchetypeRef
public ObjectReferenceType beginArchetypeRef()
- Overrides:
beginArchetypeRef
in classAssignmentHolderType
-
roleMembershipRef
public FocusType roleMembershipRef(ObjectReferenceType value)
- Overrides:
roleMembershipRef
in classAssignmentHolderType
-
roleMembershipRef
public FocusType roleMembershipRef(String oid, QName type)
- Overrides:
roleMembershipRef
in classAssignmentHolderType
-
roleMembershipRef
public FocusType roleMembershipRef(String oid, QName type, QName relation)
- Overrides:
roleMembershipRef
in classAssignmentHolderType
-
beginRoleMembershipRef
public ObjectReferenceType beginRoleMembershipRef()
- Overrides:
beginRoleMembershipRef
in classAssignmentHolderType
-
delegatedRef
public FocusType delegatedRef(ObjectReferenceType value)
- Overrides:
delegatedRef
in classAssignmentHolderType
-
delegatedRef
public FocusType delegatedRef(String oid, QName type)
- Overrides:
delegatedRef
in classAssignmentHolderType
-
delegatedRef
public FocusType delegatedRef(String oid, QName type, QName relation)
- Overrides:
delegatedRef
in classAssignmentHolderType
-
beginDelegatedRef
public ObjectReferenceType beginDelegatedRef()
- Overrides:
beginDelegatedRef
in classAssignmentHolderType
-
roleInfluenceRef
public FocusType roleInfluenceRef(ObjectReferenceType value)
- Overrides:
roleInfluenceRef
in classAssignmentHolderType
-
roleInfluenceRef
public FocusType roleInfluenceRef(String oid, QName type)
- Overrides:
roleInfluenceRef
in classAssignmentHolderType
-
roleInfluenceRef
public FocusType roleInfluenceRef(String oid, QName type, QName relation)
- Overrides:
roleInfluenceRef
in classAssignmentHolderType
-
beginRoleInfluenceRef
public ObjectReferenceType beginRoleInfluenceRef()
- Overrides:
beginRoleInfluenceRef
in classAssignmentHolderType
-
name
public FocusType name(PolyStringType value)
- Overrides:
name
in classAssignmentHolderType
-
name
public FocusType name(String value)
- Overrides:
name
in classAssignmentHolderType
-
beginName
public PolyStringType beginName()
- Overrides:
beginName
in classAssignmentHolderType
-
description
public FocusType description(String value)
- Overrides:
description
in classAssignmentHolderType
-
documentation
public FocusType documentation(String value)
- Overrides:
documentation
in classAssignmentHolderType
-
subtype
public FocusType subtype(String value)
- Overrides:
subtype
in classAssignmentHolderType
-
fetchResult
public FocusType fetchResult(OperationResultType value)
- Overrides:
fetchResult
in classAssignmentHolderType
-
beginFetchResult
public OperationResultType beginFetchResult()
- Overrides:
beginFetchResult
in classAssignmentHolderType
-
extension
public FocusType extension(ExtensionType value)
- Overrides:
extension
in classAssignmentHolderType
-
beginExtension
public ExtensionType beginExtension()
- Overrides:
beginExtension
in classAssignmentHolderType
-
parentOrgRef
public FocusType parentOrgRef(ObjectReferenceType value)
- Overrides:
parentOrgRef
in classAssignmentHolderType
-
parentOrgRef
public FocusType parentOrgRef(String oid, QName type)
- Overrides:
parentOrgRef
in classAssignmentHolderType
-
parentOrgRef
public FocusType parentOrgRef(String oid, QName type, QName relation)
- Overrides:
parentOrgRef
in classAssignmentHolderType
-
beginParentOrgRef
public ObjectReferenceType beginParentOrgRef()
- Overrides:
beginParentOrgRef
in classAssignmentHolderType
-
trigger
public FocusType trigger(TriggerType value)
- Overrides:
trigger
in classAssignmentHolderType
-
beginTrigger
public TriggerType beginTrigger()
- Overrides:
beginTrigger
in classAssignmentHolderType
-
metadata
public FocusType metadata(MetadataType value)
- Overrides:
metadata
in classAssignmentHolderType
-
beginMetadata
public MetadataType beginMetadata()
- Overrides:
beginMetadata
in classAssignmentHolderType
-
tenantRef
public FocusType tenantRef(ObjectReferenceType value)
- Overrides:
tenantRef
in classAssignmentHolderType
-
tenantRef
public FocusType tenantRef(String oid, QName type)
- Overrides:
tenantRef
in classAssignmentHolderType
-
tenantRef
public FocusType tenantRef(String oid, QName type, QName relation)
- Overrides:
tenantRef
in classAssignmentHolderType
-
beginTenantRef
public ObjectReferenceType beginTenantRef()
- Overrides:
beginTenantRef
in classAssignmentHolderType
-
lifecycleState
public FocusType lifecycleState(String value)
- Overrides:
lifecycleState
in classAssignmentHolderType
-
operationExecution
public FocusType operationExecution(OperationExecutionType value)
- Overrides:
operationExecution
in classAssignmentHolderType
-
beginOperationExecution
public OperationExecutionType beginOperationExecution()
- Overrides:
beginOperationExecution
in classAssignmentHolderType
-
lensContext
public FocusType lensContext(LensContextType value)
- Overrides:
lensContext
in classAssignmentHolderType
-
beginLensContext
public LensContextType beginLensContext()
- Overrides:
beginLensContext
in classAssignmentHolderType
-
policySituation
public FocusType policySituation(String value)
- Overrides:
policySituation
in classAssignmentHolderType
-
triggeredPolicyRule
public FocusType triggeredPolicyRule(EvaluatedPolicyRuleType value)
- Overrides:
triggeredPolicyRule
in classAssignmentHolderType
-
beginTriggeredPolicyRule
public EvaluatedPolicyRuleType beginTriggeredPolicyRule()
- Overrides:
beginTriggeredPolicyRule
in classAssignmentHolderType
-
policyException
public FocusType policyException(PolicyExceptionType value)
- Overrides:
policyException
in classAssignmentHolderType
-
beginPolicyException
public PolicyExceptionType beginPolicyException()
- Overrides:
beginPolicyException
in classAssignmentHolderType
-
diagnosticInformation
public FocusType diagnosticInformation(DiagnosticInformationType value)
- Overrides:
diagnosticInformation
in classAssignmentHolderType
-
beginDiagnosticInformation
public DiagnosticInformationType beginDiagnosticInformation()
- Overrides:
beginDiagnosticInformation
in classAssignmentHolderType
-
indestructible
public FocusType indestructible(Boolean value)
- Overrides:
indestructible
in classAssignmentHolderType
-
oid
public FocusType oid(String value)
- Overrides:
oid
in classAssignmentHolderType
-
version
public FocusType version(String value)
- Overrides:
version
in classAssignmentHolderType
-
clone
public FocusType clone()
- Overrides:
clone
in classAssignmentHolderType
-
-