Class CachedObjectGroupNameKey<V extends CachedObjectGroupNameKey<V>>
- java.lang.Object
-
- com.aoindustries.aoserv.client.AOServObject<K,T>
-
- com.aoindustries.aoserv.client.CachedObject<Group.Name,V>
-
- com.aoindustries.aoserv.client.linux.CachedObjectGroupNameKey<V>
-
- All Implemented Interfaces:
Streamable,StreamReadable,StreamWritable,Row,AOServReadable,AOServStreamable,AOServWritable,SingleTableObject<Group.Name,V>
- Direct Known Subclasses:
Group
public abstract class CachedObjectGroupNameKey<V extends CachedObjectGroupNameKey<V>> extends CachedObject<Group.Name,V>
An object that is cached and usesGroup.Nameas its primary key,- Author:
- AO Industries, Inc.
-
-
Field Summary
Fields Modifier and Type Field Description protected Group.Namepkey-
Fields inherited from class com.aoindustries.aoserv.client.CachedObject
table
-
Fields inherited from class com.aoindustries.aoserv.client.AOServObject
USE_ARRAY_OF_DOMAIN, USE_SQL_DATA, USE_SQL_DATA_WRITE
-
-
Constructor Summary
Constructors Constructor Description CachedObjectGroupNameKey()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object O)Group.NamegetKey()inthashCode()StringtoStringImpl()AOServObject.toString()implementation that is allowed to throw exceptions.-
Methods inherited from class com.aoindustries.aoserv.client.CachedObject
getTable, setTable
-
Methods inherited from class com.aoindustries.aoserv.client.AOServObject
compare, compare, compare, compare, compareIgnoreCaseConsistentWithEquals, compareTo, compareTo, compareTo, getAccountingCode, getColumn, getColumnImpl, getColumns, getColumns, getDomainLabel, getDomainLabels, getDomainName, getDto, getEmail, getGecos, getGroupId, getHashedKey, getHashedPassword, getHostname, getInetAddress, getLinuxID, getLinuxUserName, getMacAddress, getMySQLDatabaseName, getMySQLServerName, getMysqlUserName, getPort, getPostgresDatabaseName, getPostgresServerName, getPostgresUserId, getTableID, getTableSchema, getTimeMillis, getTimeMillis, getUnixPath, getUserId, init, read, read, toString, write, write
-
-
-
-
Field Detail
-
pkey
protected Group.Name pkey
-
-
Method Detail
-
equals
public boolean equals(Object O)
Description copied from class:AOServObjectImplementation Note:
This default implementation considers the object equal when it is the same class (viaObject.getClass()and has equal keys (viaAOServObject.getKey()).- Overrides:
equalsin classAOServObject<Group.Name,V extends CachedObjectGroupNameKey<V>>
-
getKey
public Group.Name getKey()
- Specified by:
getKeyin classAOServObject<Group.Name,V extends CachedObjectGroupNameKey<V>>
-
hashCode
public int hashCode()
Description copied from class:AOServObjectImplementation Note:
This default implementation callsAOServObject.hashCode()on the key (fromAOServObject.getKey()).- Overrides:
hashCodein classAOServObject<Group.Name,V extends CachedObjectGroupNameKey<V>>
-
toStringImpl
public String toStringImpl()
Description copied from class:AOServObjectAOServObject.toString()implementation that is allowed to throw exceptions.Implementation Note:
This default implementation callsAOServObject.toString()on the key (fromAOServObject.getKey()). When the key isnull, uses the default implementation fromObject.toString().- Overrides:
toStringImplin classAOServObject<Group.Name,V extends CachedObjectGroupNameKey<V>>
-
-