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
FieldsFields inherited from class com.aoindustries.aoserv.client.AoservObject
USE_ARRAY_OF_DOMAIN, USE_SQL_DATA, USE_SQL_DATA_WRITE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDeprecated, for removal: This API element is subject to removal in a future version.Only required for implementation, do not use directly. -
Method Summary
Modifier and TypeMethodDescriptionfinal AoservTable<K, T> getTable()Gets theAoservTablethat contains thisAoservObject.final voidsetTable(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, for removal: This API element is subject to removal in a future version.Only required for implementation, do not use directly.- See Also:
-
-
Method Details
-
getTable
Description copied from interface:SingleTableObjectGets theAoservTablethat contains thisAoservObject.- Specified by:
getTablein interfaceSingleTableObject<K,T extends CachedObject<K, T>> - Returns:
- the
AoservTable.
-
setTable
- Specified by:
setTablein interfaceSingleTableObject<K,T extends CachedObject<K, T>>
-
