Class ResourceObjectReferenceType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceObjectReferenceType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
public class ResourceObjectReferenceType extends Object implements Serializable, Cloneable, Containerable
Reference to a resource object. This reference has many properties that influence when and how to look for the object. We assume that the search for resource objects is quite expensive, therefore we will need to optimize the number of searches. We also want this reference to be "sticky", e.g. to survive resource object renames.Java class for ResourceObjectReferenceType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ResourceObjectReferenceType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="objectClass" type="{http://www.w3.org/2001/XMLSchema}QName" minOccurs="0"/> <element name="filter" type="{http://prism.evolveum.com/xml/ns/public/query-3}SearchFilterType" minOccurs="0"/> <element name="shadowRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" minOccurs="0"/> <element name="resolutionStrategy" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ResourceObjectReferenceResolutionStrategyType" minOccurs="0"/> <element name="resolutionFrequency" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ResourceObjectReferenceResolutionFrequencyType" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}long" /> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_FILTER
static ItemName
F_OBJECT_CLASS
static ItemName
F_RESOLUTION_FREQUENCY
static ItemName
F_RESOLUTION_STRATEGY
static ItemName
F_SHADOW_REF
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description ResourceObjectReferenceType()
ResourceObjectReferenceType(PrismContext prismContext)
-
Method Summary
-
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
-
-
-
-
Field Detail
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_OBJECT_CLASS
public static final ItemName F_OBJECT_CLASS
-
F_FILTER
public static final ItemName F_FILTER
-
F_SHADOW_REF
public static final ItemName F_SHADOW_REF
-
F_RESOLUTION_STRATEGY
public static final ItemName F_RESOLUTION_STRATEGY
-
F_RESOLUTION_FREQUENCY
public static final ItemName F_RESOLUTION_FREQUENCY
-
-
Constructor Detail
-
ResourceObjectReferenceType
public ResourceObjectReferenceType()
-
ResourceObjectReferenceType
public ResourceObjectReferenceType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValue
in interfaceContainerable
-
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
-
end
public <X> X end()
-
getObjectClass
public QName getObjectClass()
-
setObjectClass
public void setObjectClass(QName value)
-
getFilter
public SearchFilterType getFilter()
-
setFilter
public void setFilter(SearchFilterType value)
-
getShadowRef
public ObjectReferenceType getShadowRef()
-
setShadowRef
public void setShadowRef(ObjectReferenceType value)
-
getResolutionStrategy
public ResourceObjectReferenceResolutionStrategyType getResolutionStrategy()
-
setResolutionStrategy
public void setResolutionStrategy(ResourceObjectReferenceResolutionStrategyType value)
-
getResolutionFrequency
public ResourceObjectReferenceResolutionFrequencyType getResolutionFrequency()
-
setResolutionFrequency
public void setResolutionFrequency(ResourceObjectReferenceResolutionFrequencyType value)
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
objectClass
public ResourceObjectReferenceType objectClass(QName value)
-
filter
public ResourceObjectReferenceType filter(SearchFilterType value)
-
beginFilter
public SearchFilterType beginFilter()
-
shadowRef
public ResourceObjectReferenceType shadowRef(ObjectReferenceType value)
-
shadowRef
public ResourceObjectReferenceType shadowRef(String oid, QName type)
-
shadowRef
public ResourceObjectReferenceType shadowRef(String oid, QName type, QName relation)
-
beginShadowRef
public ObjectReferenceType beginShadowRef()
-
resolutionStrategy
public ResourceObjectReferenceType resolutionStrategy(ResourceObjectReferenceResolutionStrategyType value)
-
resolutionFrequency
public ResourceObjectReferenceType resolutionFrequency(ResourceObjectReferenceResolutionFrequencyType value)
-
id
public ResourceObjectReferenceType id(Long value)
-
clone
public ResourceObjectReferenceType clone()
-
-