Class ConnectionRecord
- java.lang.Object
-
- edu.uiuc.ncsa.security.storage.sql.ConnectionRecord
-
- All Implemented Interfaces:
Identifiable
,Serializable
,Cloneable
public class ConnectionRecord extends Object implements Identifiable
Created by Jeff Gaynor
on 5/11/21 at 10:25 AM- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description Connection
connection
-
Constructor Summary
Constructors Constructor Description ConnectionRecord(Connection connection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Identifiable
clone()
String
getDescription()
Identifier
getIdentifier()
Get the identiferString
getIdentifierString()
Convenience call to cast the identifier to a string.long
getLastAccessed()
boolean
isClosed()
boolean
isReadOnly()
void
setClosed(boolean closed)
void
setDescription(String description)
void
setIdentifier(Identifier identifier)
Set the identifier.void
setLastAccessed(long lastAccessed)
void
setReadOnly(boolean readOnly)
String
toString()
-
-
-
Field Detail
-
connection
public Connection connection
-
-
Constructor Detail
-
ConnectionRecord
public ConnectionRecord(Connection connection)
-
-
Method Detail
-
isReadOnly
public boolean isReadOnly()
- Specified by:
isReadOnly
in interfaceIdentifiable
-
setReadOnly
public void setReadOnly(boolean readOnly)
- Specified by:
setReadOnly
in interfaceIdentifiable
-
clone
public Identifiable clone()
- Specified by:
clone
in interfaceIdentifiable
- Overrides:
clone
in classObject
-
getIdentifier
public Identifier getIdentifier()
Description copied from interface:Identifiable
Get the identifer- Specified by:
getIdentifier
in interfaceIdentifiable
- Returns:
-
getIdentifierString
public String getIdentifierString()
Description copied from interface:Identifiable
Convenience call to cast the identifier to a string.- Specified by:
getIdentifierString
in interfaceIdentifiable
- Returns:
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceIdentifiable
-
setDescription
public void setDescription(String description)
- Specified by:
setDescription
in interfaceIdentifiable
-
setIdentifier
public void setIdentifier(Identifier identifier)
Description copied from interface:Identifiable
Set the identifier.- Specified by:
setIdentifier
in interfaceIdentifiable
-
getLastAccessed
public long getLastAccessed()
-
setLastAccessed
public void setLastAccessed(long lastAccessed)
-
isClosed
public boolean isClosed()
-
setClosed
public void setClosed(boolean closed)
-
-