Package com.aoindustries.aoserv.client
Class CachedObject<K,T extends CachedObject<K,T>>
java.lang.Object
com.aoindustries.aoserv.client.AoservObject<K,T>
com.aoindustries.aoserv.client.CachedObject<K,T>
- All Implemented Interfaces:
Streamable
,StreamReadable
,StreamWritable
,Row
,AoservReadable
,AoservStreamable
,AoservWritable
,SingleTableObject<K,
T>
- Direct Known Subclasses:
CachedObjectAccountNameKey
,CachedObjectGroupNameKey
,CachedObjectIntegerKey
,CachedObjectLongKey
,CachedObjectStringKey
,CachedObjectUserNameKey
,CachedObjectUserNameKey
,CachedObjectUserNameKey
,CachedObjectUserNameKey
public abstract class CachedObject<K,T extends CachedObject<K,T>>
extends AoservObject<K,T>
implements SingleTableObject<K,T>
A
CachedObject
is stored in
a CachedTable
for greater
performance.- Author:
- AO Industries, Inc.
-
Field Summary
Fields inherited from class com.aoindustries.aoserv.client.AoservObject
USE_ARRAY_OF_DOMAIN, USE_SQL_DATA, USE_SQL_DATA_WRITE
-
Constructor Summary
ModifierConstructorDescriptionprotected
Deprecated.Only required for implementation, do not use directly. -
Method Summary
Modifier and TypeMethodDescriptionfinal AoservTable
<K, T> getTable()
Gets theAoservTable
that contains thisAoservObject
.final void
setTable
(AoservTable<K, T> table) Methods inherited from class com.aoindustries.aoserv.client.AoservObject
compare, compare, compare, compare, compareIgnoreCaseConsistentWithEquals, compareTo, compareTo, compareTo, equals, getAccountingCode, getColumn, getColumnImpl, getColumns, getColumns, getDomainLabel, getDomainLabels, getDomainName, getDto, getEmail, getGecos, getGroupId, getHashedKey, getHashedPassword, getHostname, getInetAddress, getKey, getLinuxId, getLinuxUserName, getMacAddress, getMysqlDatabaseName, getMysqlServerName, getMysqlUserName, getPort, getPostgresDatabaseName, getPostgresServerName, getPostgresUserId, getTableId, getTableSchema, getTimeMillis, getTimeMillis, getUnixPath, getUserId, hashCode, init, read, read, toString, toStringImpl, write, write
-
Field Details
-
table
-
-
Constructor Details
-
CachedObject
Deprecated.Only required for implementation, do not use directly.- See Also:
-
-
Method Details
-
getTable
Description copied from interface:SingleTableObject
Gets theAoservTable
that contains thisAoservObject
.- Specified by:
getTable
in interfaceSingleTableObject<K,
T extends CachedObject<K, T>> - Returns:
- the
AoservTable
.
-
setTable
- Specified by:
setTable
in interfaceSingleTableObject<K,
T extends CachedObject<K, T>>
-