public class DiagnosticInformationType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
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>
Modifier and Type | Field and 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 and Description |
---|
DiagnosticInformationType()
Creates a new
DiagnosticInformationType instance. |
DiagnosticInformationType(DiagnosticInformationType o)
Creates a new
DiagnosticInformationType instance by deeply copying a given DiagnosticInformationType instance. |
Modifier and Type | Method and 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) |
finalize, getClass, notify, notifyAll, wait, wait, wait
visitPrismStructure
protected XMLGregorianCalendar timestamp
protected String type
protected String cause
protected String nodeIdentifier
public static final QName COMPLEX_TYPE
public static final ItemName F_TIMESTAMP
public static final ItemName F_TYPE
public static final ItemName F_CAUSE
public static final ItemName F_NODE_IDENTIFIER
public static final ItemName F_CONTENT
public DiagnosticInformationType()
DiagnosticInformationType
instance.public DiagnosticInformationType(DiagnosticInformationType o)
DiagnosticInformationType
instance by deeply copying a given DiagnosticInformationType
instance.o
- The instance to copy.NullPointerException
- if o
is null
.public XMLGregorianCalendar getTimestamp()
XMLGregorianCalendar
public void setTimestamp(XMLGregorianCalendar value)
value
- allowed object is
XMLGregorianCalendar
public String getType()
String
public void setType(String value)
value
- allowed object is
String
public String getCause()
String
public void setCause(String value)
value
- allowed object is
String
public String getNodeIdentifier()
String
public void setNodeIdentifier(String value)
value
- allowed object is
String
public List<String> getContent()
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
public String toString()
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
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)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
public DiagnosticInformationType timestamp(XMLGregorianCalendar value)
public DiagnosticInformationType timestamp(String value)
public DiagnosticInformationType type(String value)
public DiagnosticInformationType cause(String value)
public DiagnosticInformationType nodeIdentifier(String value)
public DiagnosticInformationType content(String value)
public void accept(JaxbVisitor visitor)
accept
in interface JaxbVisitable
public DiagnosticInformationType clone()
Copyright © 2019 Evolveum. All rights reserved.