Class ReferentialIntegrityFaultType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.fault_3.FaultType
-
- com.evolveum.midpoint.xml.ns._public.common.fault_3.ObjectAccessFaultType
-
- com.evolveum.midpoint.xml.ns._public.common.fault_3.ReferentialIntegrityFaultType
-
- All Implemented Interfaces:
JaxbVisitable
,Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.Equals
,org.jvnet.jaxb2_commons.lang.HashCode
public class ReferentialIntegrityFaultType extends ObjectAccessFaultType implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Operation on an object would cause inconsistencies in referential integrity. E.g. attempt to delete an object that is a target of existing reference.Java class for ReferentialIntegrityFaultType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ReferentialIntegrityFaultType"> <complexContent> <extension base="{http://midpoint.evolveum.com/xml/ns/public/common/fault-3}ObjectAccessFaultType"> <sequence> <element name="referringObjectOid" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" 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_REFERRING_OBJECT_OID
protected List<String>
referringObjectOid
-
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.fault_3.FaultType
F_MESSAGE, F_OPERATION_RESULT, message, operationResult
-
-
Constructor Summary
Constructors Constructor Description ReferentialIntegrityFaultType()
Creates a newReferentialIntegrityFaultType
instance.ReferentialIntegrityFaultType(ReferentialIntegrityFaultType o)
Creates a newReferentialIntegrityFaultType
instance by deeply copying a givenReferentialIntegrityFaultType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
OperationResultType
beginOperationResult()
ReferentialIntegrityFaultType
clone()
Creates and returns a deep copy of this object.boolean
equals(Object object)
boolean
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
List<String>
getReferringObjectOid()
Gets the value of the referringObjectOid property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
ReferentialIntegrityFaultType
message(String value)
ReferentialIntegrityFaultType
operationResult(OperationResultType value)
ReferentialIntegrityFaultType
referringObjectOid(String value)
String
toString()
Generates a String representation of the contents of this type.-
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.fault_3.FaultType
getMessage, getOperationResult, setMessage, setOperationResult
-
-
-
-
Constructor Detail
-
ReferentialIntegrityFaultType
public ReferentialIntegrityFaultType()
Creates a newReferentialIntegrityFaultType
instance.
-
ReferentialIntegrityFaultType
public ReferentialIntegrityFaultType(ReferentialIntegrityFaultType o)
Creates a newReferentialIntegrityFaultType
instance by deeply copying a givenReferentialIntegrityFaultType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
Method Detail
-
getReferringObjectOid
public List<String> getReferringObjectOid()
Gets the value of the referringObjectOid property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the referringObjectOid property.For example, to add a new item, do as follows:
getReferringObjectOid().add(newItem);
Objects of the following type(s) are allowed in the list
String
-
toString
public String toString()
Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin- Overrides:
toString
in classObjectAccessFaultType
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
- Specified by:
hashCode
in interfaceorg.jvnet.jaxb2_commons.lang.HashCode
- Overrides:
hashCode
in classObjectAccessFaultType
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classObjectAccessFaultType
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
- Specified by:
equals
in interfaceorg.jvnet.jaxb2_commons.lang.Equals
- Overrides:
equals
in classObjectAccessFaultType
-
equals
public boolean equals(Object object)
- Overrides:
equals
in classObjectAccessFaultType
-
referringObjectOid
public ReferentialIntegrityFaultType referringObjectOid(String value)
-
message
public ReferentialIntegrityFaultType message(String value)
- Overrides:
message
in classObjectAccessFaultType
-
operationResult
public ReferentialIntegrityFaultType operationResult(OperationResultType value)
- Overrides:
operationResult
in classObjectAccessFaultType
-
beginOperationResult
public OperationResultType beginOperationResult()
- Overrides:
beginOperationResult
in classObjectAccessFaultType
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
- Overrides:
accept
in classObjectAccessFaultType
-
clone
public ReferentialIntegrityFaultType clone()
Creates and returns a deep copy of this object.- Overrides:
clone
in classObjectAccessFaultType
- Returns:
- A deep copy of this object.
-
-