public class SasSession extends AbstractIdentifiable
Modifier and Type | Class and Description |
---|---|
static class |
SasSession.SessionState
The session state enumeration that describes the state of a SAS session.
|
static class |
SasSession.SessionType
The session type enumeration that describes the source that started a session.
|
Constructor and Description |
---|
SasSession(String typeId,
String id,
Date started,
Date ended,
SasSession.SessionType type,
SasSession.SessionState state,
String userId,
String submissionLabel,
int clientId)
The initializing constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getClientId()
Gets the incremental number that is assigned to a SAS session.
|
Date |
getDateEnded()
Gets the date on which the SAS session was ended.
|
Date |
getDateStarted()
Gets the date on which the SAS session was started.
|
SasSession.SessionState |
getState()
Gets the state of the SAS session.
|
String |
getSubmissionLabel()
Gets the label that describes what is executing in the SAS session.
|
SasSession.SessionType |
getType()
Gets the type of the SAS session.
|
String |
getUserId()
Get the identifier of the user of who created the SAS session.
|
int |
hashCode() |
String |
toString() |
getId, getTypeId
public SasSession(String typeId, String id, Date started, Date ended, SasSession.SessionType type, SasSession.SessionState state, String userId, String submissionLabel, int clientId)
typeId
- the object type identifier of the SAS session.id
- the unique identifier of the SAS session.started
- the date on which the SAS session was started.ended
- the date on which the SAS session was ended.type
- the type of the SAS session.state
- the state of the SAS session.userId
- the identifier of the user who created the SAS session.submissionLabel
- the label that describes what is executing in the SAS session.clientId
- the incremental number that is assigned to the SAS session.public Date getDateStarted()
public Date getDateEnded()
public String getUserId()
public String getSubmissionLabel()
public SasSession.SessionType getType()
public SasSession.SessionState getState()
public int getClientId()
public int hashCode()
hashCode
in class AbstractIdentifiable
public boolean equals(Object obj)
equals
in class AbstractIdentifiable
public String toString()
toString
in class AbstractIdentifiable
Copyright (c) 2020, SAS Institute Inc., Cary, NC, USA