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 Connectionconnection
-
Constructor Summary
Constructors Constructor Description ConnectionRecord(Connection connection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Identifiableclone()StringgetDescription()IdentifiergetIdentifier()Get the identiferStringgetIdentifierString()Convenience call to cast the identifier to a string.longgetLastAccessed()booleanisClosed()booleanisReadOnly()voidsetClosed(boolean closed)voidsetDescription(String description)voidsetIdentifier(Identifier identifier)Set the identifier.voidsetLastAccessed(long lastAccessed)voidsetReadOnly(boolean readOnly)StringtoString()
-
-
-
Field Detail
-
connection
public Connection connection
-
-
Constructor Detail
-
ConnectionRecord
public ConnectionRecord(Connection connection)
-
-
Method Detail
-
isReadOnly
public boolean isReadOnly()
- Specified by:
isReadOnlyin interfaceIdentifiable
-
setReadOnly
public void setReadOnly(boolean readOnly)
- Specified by:
setReadOnlyin interfaceIdentifiable
-
clone
public Identifiable clone()
- Specified by:
clonein interfaceIdentifiable- Overrides:
clonein classObject
-
getIdentifier
public Identifier getIdentifier()
Description copied from interface:IdentifiableGet the identifer- Specified by:
getIdentifierin interfaceIdentifiable- Returns:
-
getIdentifierString
public String getIdentifierString()
Description copied from interface:IdentifiableConvenience call to cast the identifier to a string.- Specified by:
getIdentifierStringin interfaceIdentifiable- Returns:
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceIdentifiable
-
setDescription
public void setDescription(String description)
- Specified by:
setDescriptionin interfaceIdentifiable
-
setIdentifier
public void setIdentifier(Identifier identifier)
Description copied from interface:IdentifiableSet the identifier.- Specified by:
setIdentifierin interfaceIdentifiable
-
getLastAccessed
public long getLastAccessed()
-
setLastAccessed
public void setLastAccessed(long lastAccessed)
-
isClosed
public boolean isClosed()
-
setClosed
public void setClosed(boolean closed)
-
-