Class ObjectModificationType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.api_types_3.ObjectModificationType
-
- All Implemented Interfaces:
JaxbVisitable,Serializable,Cloneable,org.jvnet.jaxb2_commons.lang.Equals,org.jvnet.jaxb2_commons.lang.HashCode
public class ObjectModificationType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Describes a change of attributes of a specific object. All changes are expected to happen atomically, but there may be exceptions. Please check with the documentation of the interface using this type for more details. Used in the interfaces (modifyObject)Java class for ObjectModificationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ObjectModificationType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="oid" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="itemDelta" type="{http://prism.evolveum.com/xml/ns/public/types-3}ItemDeltaType" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QNameCOMPLEX_TYPEstatic ItemNameF_ITEM_DELTAstatic ItemNameF_OIDprotected List<ItemDeltaType>itemDeltaprotected Stringoid
-
Constructor Summary
Constructors Constructor Description ObjectModificationType()Creates a newObjectModificationTypeinstance.ObjectModificationType(ObjectModificationType o)Creates a newObjectModificationTypeinstance by deeply copying a givenObjectModificationTypeinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(JaxbVisitor visitor)ItemDeltaTypebeginItemDelta()ObjectModificationTypeclone()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<ItemDeltaType>getItemDelta()Gets the value of the itemDelta property.StringgetOid()Gets the value of the oid property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)ObjectModificationTypeitemDelta(ItemDeltaType value)ObjectModificationTypeoid(String value)voidsetOid(String value)Sets the value of the oid property.StringtoString()Generates a String representation of the contents of this type.
-
-
-
Constructor Detail
-
ObjectModificationType
public ObjectModificationType()
Creates a newObjectModificationTypeinstance.
-
ObjectModificationType
public ObjectModificationType(ObjectModificationType o)
Creates a newObjectModificationTypeinstance by deeply copying a givenObjectModificationTypeinstance.- Parameters:
o- The instance to copy.- Throws:
NullPointerException- ifoisnull.
-
-
Method Detail
-
getOid
public String getOid()
Gets the value of the oid property.- Returns:
- possible object is
String
-
setOid
public void setOid(String value)
Sets the value of the oid property.- Parameters:
value- allowed object isString
-
getItemDelta
public List<ItemDeltaType> getItemDelta()
Gets the value of the itemDelta 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 itemDelta property.For example, to add a new item, do as follows:
getItemDelta().add(newItem);Objects of the following type(s) are allowed in the list
ItemDeltaType
-
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
-
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
-
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
-
oid
public ObjectModificationType oid(String value)
-
itemDelta
public ObjectModificationType itemDelta(ItemDeltaType value)
-
beginItemDelta
public ItemDeltaType beginItemDelta()
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
acceptin interfaceJaxbVisitable
-
clone
public ObjectModificationType clone()
Creates and returns a deep copy of this object.
-
-