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 IntegeractiveSessionsstatic QNameCOMPLEX_TYPEstatic ItemNameF_ACTIVE_SESSIONSstatic ItemNameF_FOCUSstatic ItemNameF_NODEprotected FocusTypefocusprotected List<String>node
-
Constructor Summary
Constructors Constructor Description UserSessionManagementType()Creates a newUserSessionManagementTypeinstance.UserSessionManagementType(UserSessionManagementType o)Creates a newUserSessionManagementTypeinstance by deeply copying a givenUserSessionManagementTypeinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(JaxbVisitor visitor)UserSessionManagementTypeactiveSessions(Integer value)UserSessionManagementTypeclone()Creates and returns a deep copy of this object.booleanequals(Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)UserSessionManagementTypefocus(FocusType value)IntegergetActiveSessions()Gets the value of the activeSessions property.FocusTypegetFocus()Gets the value of the focus property.List<String>getNode()Gets the value of the node property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)UserSessionManagementTypenode(String value)voidsetActiveSessions(Integer value)Sets the value of the activeSessions property.voidsetFocus(FocusType value)Sets the value of the focus property.StringtoString()Generates a String representation of the contents of this type.
-
-
-
Constructor Detail
-
UserSessionManagementType
public UserSessionManagementType()
Creates a newUserSessionManagementTypeinstance.
-
UserSessionManagementType
public UserSessionManagementType(UserSessionManagementType o)
Creates a newUserSessionManagementTypeinstance by deeply copying a givenUserSessionManagementTypeinstance.- Parameters:
o- The instance to copy.- Throws:
NullPointerException- ifoisnull.
-
-
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
setmethod 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:
hashCodein 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:
equalsin 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:
acceptin interfaceJaxbVisitable
-
clone
public UserSessionManagementType clone()
Creates and returns a deep copy of this object.
-
-