Class MessagePropertyType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.MessagePropertyType
-
- All Implemented Interfaces:
JaxbVisitable,Serializable,Cloneable,org.jvnet.jaxb2_commons.lang.Equals,org.jvnet.jaxb2_commons.lang.HashCode
public class MessagePropertyType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Message property (key-value pair).Java class for MessagePropertyType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MessagePropertyType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="value" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MessagePropertyType()Creates a newMessagePropertyTypeinstance.MessagePropertyType(MessagePropertyType o)Creates a newMessagePropertyTypeinstance by deeply copying a givenMessagePropertyTypeinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(JaxbVisitor visitor)MessagePropertyTypeclone()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)StringgetName()Gets the value of the name property.ObjectgetValue()Gets the value of the value property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)MessagePropertyTypename(String value)voidsetName(String value)Sets the value of the name property.voidsetValue(Object value)Sets the value of the value property.StringtoString()Generates a String representation of the contents of this type.MessagePropertyTypevalue(Object value)
-
-
-
Constructor Detail
-
MessagePropertyType
public MessagePropertyType()
Creates a newMessagePropertyTypeinstance.
-
MessagePropertyType
public MessagePropertyType(MessagePropertyType o)
Creates a newMessagePropertyTypeinstance by deeply copying a givenMessagePropertyTypeinstance.- Parameters:
o- The instance to copy.- Throws:
NullPointerException- ifoisnull.
-
-
Method Detail
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getValue
public Object getValue()
Gets the value of the value property.- Returns:
- possible object is
Object
-
setValue
public void setValue(Object value)
Sets the value of the value property.- Parameters:
value- allowed object isObject
-
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
-
name
public MessagePropertyType name(String value)
-
value
public MessagePropertyType value(Object value)
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
acceptin interfaceJaxbVisitable
-
clone
public MessagePropertyType clone()
Creates and returns a deep copy of this object.
-
-