Class LoginEventType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.LoginEventType
-
- All Implemented Interfaces:
JaxbVisitable
,Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.Equals
,org.jvnet.jaxb2_commons.lang.HashCode
public class LoginEventType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for LoginEventType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="LoginEventType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="from" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_FROM
static ItemName
F_TIMESTAMP
protected String
from
protected XMLGregorianCalendar
timestamp
-
Constructor Summary
Constructors Constructor Description LoginEventType()
Creates a newLoginEventType
instance.LoginEventType(LoginEventType o)
Creates a newLoginEventType
instance by deeply copying a givenLoginEventType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
LoginEventType
clone()
Creates and returns a deep copy of this object.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)
LoginEventType
from(String value)
String
getFrom()
Gets the value of the from property.XMLGregorianCalendar
getTimestamp()
Gets the value of the timestamp property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
void
setFrom(String value)
Sets the value of the from property.void
setTimestamp(XMLGregorianCalendar value)
Sets the value of the timestamp property.LoginEventType
timestamp(String value)
LoginEventType
timestamp(XMLGregorianCalendar value)
String
toString()
Generates a String representation of the contents of this type.
-
-
-
Field Detail
-
timestamp
protected XMLGregorianCalendar timestamp
-
from
protected String from
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_TIMESTAMP
public static final ItemName F_TIMESTAMP
-
F_FROM
public static final ItemName F_FROM
-
-
Constructor Detail
-
LoginEventType
public LoginEventType()
Creates a newLoginEventType
instance.
-
LoginEventType
public LoginEventType(LoginEventType o)
Creates a newLoginEventType
instance by deeply copying a givenLoginEventType
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
-
getFrom
public String getFrom()
Gets the value of the from property.- Returns:
- possible object is
String
-
setFrom
public void setFrom(String value)
Sets the value of the from property.- Parameters:
value
- allowed object isString
-
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 LoginEventType timestamp(XMLGregorianCalendar value)
-
timestamp
public LoginEventType timestamp(String value)
-
from
public LoginEventType from(String value)
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
-
clone
public LoginEventType clone()
Creates and returns a deep copy of this object.
-
-