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 QNameCOMPLEX_TYPEstatic ItemNameF_REFERRING_OBJECT_OIDprotected 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 newReferentialIntegrityFaultTypeinstance.ReferentialIntegrityFaultType(ReferentialIntegrityFaultType o)Creates a newReferentialIntegrityFaultTypeinstance by deeply copying a givenReferentialIntegrityFaultTypeinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(JaxbVisitor visitor)OperationResultTypebeginOperationResult()ReferentialIntegrityFaultTypeclone()Creates and returns a deep copy of this object.booleanequals(Object object)booleanequals(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.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)ReferentialIntegrityFaultTypemessage(String value)ReferentialIntegrityFaultTypeoperationResult(OperationResultType value)ReferentialIntegrityFaultTypereferringObjectOid(String value)StringtoString()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 newReferentialIntegrityFaultTypeinstance.
-
ReferentialIntegrityFaultType
public ReferentialIntegrityFaultType(ReferentialIntegrityFaultType o)
Creates a newReferentialIntegrityFaultTypeinstance by deeply copying a givenReferentialIntegrityFaultTypeinstance.- Parameters:
o- The instance to copy.- Throws:
NullPointerException- ifoisnull.
-
-
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
setmethod 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:
toStringin classObjectAccessFaultType
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode- Overrides:
hashCodein classObjectAccessFaultType
-
hashCode
public int hashCode()
- Overrides:
hashCodein 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:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals- Overrides:
equalsin classObjectAccessFaultType
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classObjectAccessFaultType
-
referringObjectOid
public ReferentialIntegrityFaultType referringObjectOid(String value)
-
message
public ReferentialIntegrityFaultType message(String value)
- Overrides:
messagein classObjectAccessFaultType
-
operationResult
public ReferentialIntegrityFaultType operationResult(OperationResultType value)
- Overrides:
operationResultin classObjectAccessFaultType
-
beginOperationResult
public OperationResultType beginOperationResult()
- Overrides:
beginOperationResultin classObjectAccessFaultType
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
acceptin interfaceJaxbVisitable- Overrides:
acceptin classObjectAccessFaultType
-
clone
public ReferentialIntegrityFaultType clone()
Creates and returns a deep copy of this object.- Overrides:
clonein classObjectAccessFaultType- Returns:
- A deep copy of this object.
-
-