public class UserSessionManagementType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for UserSessionManagementType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="UserSessionManagementType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="user" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}UserType" minOccurs="0"/> <element name="activeSessions" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="node" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected Integer |
activeSessions |
static QName |
COMPLEX_TYPE |
static ItemName |
F_ACTIVE_SESSIONS |
static ItemName |
F_NODE |
static ItemName |
F_USER |
protected List<String> |
node |
protected UserType |
user |
Constructor and Description |
---|
UserSessionManagementType()
Creates a new
UserSessionManagementType instance. |
UserSessionManagementType(UserSessionManagementType o)
Creates a new
UserSessionManagementType instance by deeply copying a given UserSessionManagementType instance. |
Modifier and Type | Method and Description |
---|---|
void |
accept(JaxbVisitor visitor) |
UserSessionManagementType |
activeSessions(Integer value) |
UserType |
beginUser() |
UserSessionManagementType |
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) |
Integer |
getActiveSessions()
Gets the value of the activeSessions property.
|
List<String> |
getNode()
Gets the value of the node property.
|
UserType |
getUser()
Gets the value of the user property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
UserSessionManagementType |
node(String value) |
void |
setActiveSessions(Integer value)
Sets the value of the activeSessions property.
|
void |
setUser(UserType value)
Sets the value of the user property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
UserSessionManagementType |
user(UserType value) |
finalize, getClass, notify, notifyAll, wait, wait, wait
visitPrismStructure
protected UserType user
protected Integer activeSessions
public static final QName COMPLEX_TYPE
public static final ItemName F_USER
public static final ItemName F_ACTIVE_SESSIONS
public static final ItemName F_NODE
public UserSessionManagementType()
UserSessionManagementType
instance.public UserSessionManagementType(UserSessionManagementType o)
UserSessionManagementType
instance by deeply copying a given UserSessionManagementType
instance.o
- The instance to copy.NullPointerException
- if o
is null
.public UserType getUser()
UserType
public void setUser(UserType value)
value
- allowed object is
UserType
public Integer getActiveSessions()
Integer
public void setActiveSessions(Integer value)
value
- allowed object is
Integer
public List<String> getNode()
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 node property.
For example, to add a new item, do as follows:
getNode().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 UserSessionManagementType user(UserType value)
public UserType beginUser()
public UserSessionManagementType activeSessions(Integer value)
public UserSessionManagementType node(String value)
public void accept(JaxbVisitor visitor)
accept
in interface JaxbVisitable
public UserSessionManagementType clone()
Copyright © 2019 Evolveum. All rights reserved.