Class UserSessionManagementType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.api_types_3.UserSessionManagementType
-
- All Implemented Interfaces:
JaxbVisitable
,Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.Equals
,org.jvnet.jaxb2_commons.lang.HashCode
public class UserSessionManagementType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Describe session - user, active sessions, nodes where the user is active Be aware: EXPERIMENTALJava 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="focus" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}FocusType" 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>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Integer
activeSessions
static QName
COMPLEX_TYPE
static ItemName
F_ACTIVE_SESSIONS
static ItemName
F_FOCUS
static ItemName
F_NODE
protected FocusType
focus
protected List<String>
node
-
Constructor Summary
Constructors Constructor Description UserSessionManagementType()
Creates a newUserSessionManagementType
instance.UserSessionManagementType(UserSessionManagementType o)
Creates a newUserSessionManagementType
instance by deeply copying a givenUserSessionManagementType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
UserSessionManagementType
activeSessions(Integer value)
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)
UserSessionManagementType
focus(FocusType value)
Integer
getActiveSessions()
Gets the value of the activeSessions property.FocusType
getFocus()
Gets the value of the focus property.List<String>
getNode()
Gets the value of the node 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
setFocus(FocusType value)
Sets the value of the focus property.String
toString()
Generates a String representation of the contents of this type.
-
-
-
Constructor Detail
-
UserSessionManagementType
public UserSessionManagementType()
Creates a newUserSessionManagementType
instance.
-
UserSessionManagementType
public UserSessionManagementType(UserSessionManagementType o)
Creates a newUserSessionManagementType
instance by deeply copying a givenUserSessionManagementType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
Method Detail
-
getFocus
public FocusType getFocus()
Gets the value of the focus property.- Returns:
- possible object is
FocusType
-
setFocus
public void setFocus(FocusType value)
Sets the value of the focus property.- Parameters:
value
- allowed object isFocusType
-
getActiveSessions
public Integer getActiveSessions()
Gets the value of the activeSessions property.- Returns:
- possible object is
Integer
-
setActiveSessions
public void setActiveSessions(Integer value)
Sets the value of the activeSessions property.- Parameters:
value
- allowed object isInteger
-
getNode
public List<String> getNode()
Gets the value of the node 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 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
-
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
-
focus
public UserSessionManagementType focus(FocusType value)
-
activeSessions
public UserSessionManagementType activeSessions(Integer value)
-
node
public UserSessionManagementType node(String value)
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
-
clone
public UserSessionManagementType clone()
Creates and returns a deep copy of this object.
-
-