Class DiagnosticInformationType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.DiagnosticInformationType
-
- All Implemented Interfaces:
JaxbVisitable
,Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.Equals
,org.jvnet.jaxb2_commons.lang.HashCode
public class DiagnosticInformationType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
A diagnostic information attached to an object. It can be put there because of a user request or by midPoint itself. EXPERIMENTAL.Java class for DiagnosticInformationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DiagnosticInformationType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> <element name="type" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> <element name="cause" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> <element name="nodeIdentifier" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="content" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
cause
static QName
COMPLEX_TYPE
protected List<String>
content
static ItemName
F_CAUSE
static ItemName
F_CONTENT
static ItemName
F_NODE_IDENTIFIER
static ItemName
F_TIMESTAMP
static ItemName
F_TYPE
protected String
nodeIdentifier
protected XMLGregorianCalendar
timestamp
protected String
type
-
Constructor Summary
Constructors Constructor Description DiagnosticInformationType()
Creates a newDiagnosticInformationType
instance.DiagnosticInformationType(DiagnosticInformationType o)
Creates a newDiagnosticInformationType
instance by deeply copying a givenDiagnosticInformationType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
DiagnosticInformationType
cause(String value)
DiagnosticInformationType
clone()
Creates and returns a deep copy of this object.DiagnosticInformationType
content(String value)
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)
String
getCause()
Gets the value of the cause property.List<String>
getContent()
Gets the value of the content property.String
getNodeIdentifier()
Gets the value of the nodeIdentifier property.XMLGregorianCalendar
getTimestamp()
Gets the value of the timestamp property.String
getType()
Gets the value of the type property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
DiagnosticInformationType
nodeIdentifier(String value)
void
setCause(String value)
Sets the value of the cause property.void
setNodeIdentifier(String value)
Sets the value of the nodeIdentifier property.void
setTimestamp(XMLGregorianCalendar value)
Sets the value of the timestamp property.void
setType(String value)
Sets the value of the type property.DiagnosticInformationType
timestamp(String value)
DiagnosticInformationType
timestamp(XMLGregorianCalendar value)
String
toString()
Generates a String representation of the contents of this type.DiagnosticInformationType
type(String value)
-
-
-
Field Detail
-
timestamp
protected XMLGregorianCalendar timestamp
-
type
protected String type
-
cause
protected String cause
-
nodeIdentifier
protected String nodeIdentifier
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_TIMESTAMP
public static final ItemName F_TIMESTAMP
-
F_TYPE
public static final ItemName F_TYPE
-
F_CAUSE
public static final ItemName F_CAUSE
-
F_NODE_IDENTIFIER
public static final ItemName F_NODE_IDENTIFIER
-
F_CONTENT
public static final ItemName F_CONTENT
-
-
Constructor Detail
-
DiagnosticInformationType
public DiagnosticInformationType()
Creates a newDiagnosticInformationType
instance.
-
DiagnosticInformationType
public DiagnosticInformationType(DiagnosticInformationType o)
Creates a newDiagnosticInformationType
instance by deeply copying a givenDiagnosticInformationType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
Method Detail
-
getTimestamp
public XMLGregorianCalendar getTimestamp()
Gets the value of the timestamp property.- Returns:
- possible object is
XMLGregorianCalendar
-
setTimestamp
public void setTimestamp(XMLGregorianCalendar value)
Sets the value of the timestamp property.- Parameters:
value
- allowed object isXMLGregorianCalendar
-
getType
public String getType()
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
public void setType(String value)
Sets the value of the type property.- Parameters:
value
- allowed object isString
-
getCause
public String getCause()
Gets the value of the cause property.- Returns:
- possible object is
String
-
setCause
public void setCause(String value)
Sets the value of the cause property.- Parameters:
value
- allowed object isString
-
getNodeIdentifier
public String getNodeIdentifier()
Gets the value of the nodeIdentifier property.- Returns:
- possible object is
String
-
setNodeIdentifier
public void setNodeIdentifier(String value)
Sets the value of the nodeIdentifier property.- Parameters:
value
- allowed object isString
-
getContent
public List<String> getContent()
Gets the value of the content 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 content property.For example, to add a new item, do as follows:
getContent().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
-
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
-
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
-
timestamp
public DiagnosticInformationType timestamp(XMLGregorianCalendar value)
-
timestamp
public DiagnosticInformationType timestamp(String value)
-
type
public DiagnosticInformationType type(String value)
-
cause
public DiagnosticInformationType cause(String value)
-
nodeIdentifier
public DiagnosticInformationType nodeIdentifier(String value)
-
content
public DiagnosticInformationType content(String value)
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
-
clone
public DiagnosticInformationType clone()
Creates and returns a deep copy of this object.
-
-