Class ForeignKey
java.lang.Object
com.aoindustries.aoserv.client.AoservObject<Integer,ForeignKey>
com.aoindustries.aoserv.client.GlobalObject<Integer,ForeignKey>
com.aoindustries.aoserv.client.GlobalObjectIntegerKey<ForeignKey>
com.aoindustries.aoserv.client.schema.ForeignKey
- All Implemented Interfaces:
Streamable,StreamReadable,StreamWritable,Row,AoservReadable,AoservStreamable,AoservWritable
A
SchemaForeignKey represents when a column in one
AoservTable references a column in another
AoservTable.- Author:
- AO Industries, Inc.
- See Also:
-
Field Summary
Fields inherited from class com.aoindustries.aoserv.client.GlobalObjectIntegerKey
pkeyFields inherited from class com.aoindustries.aoserv.client.AoservObject
USE_ARRAY_OF_DOMAIN, USE_SQL_DATA, USE_SQL_DATA_WRITE -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, 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 TypeMethodDescriptiongetColumn(AoservConnector connector) intprotected ObjectgetColumnImpl(int i) getForeignColumn(AoservConnector connector) intgetLastVersion(AoservConnector connector) getSinceVersion(AoservConnector connector) voidInitializes this object from the raw database contents.voidread(StreamableInput in, AoservProtocol.Version protocolVersion) voidwrite(StreamableOutput out, AoservProtocol.Version protocolVersion) Methods inherited from class com.aoindustries.aoserv.client.GlobalObjectIntegerKey
equals, getKey, getPkey, hashCode, toStringImplMethods inherited from class com.aoindustries.aoserv.client.AoservObject
compare, compare, compare, compare, compareIgnoreCaseConsistentWithEquals, compareTo, compareTo, compareTo, getAccountingCode, getColumn, getColumns, getColumns, getDomainLabel, getDomainLabels, getDomainName, getDto, getEmail, getGecos, getGroupId, getHashedKey, getHashedPassword, getHostname, getInetAddress, getLinuxId, getLinuxUserName, getMacAddress, getMysqlDatabaseName, getMysqlServerName, getMysqlUserName, getPort, getPostgresDatabaseName, getPostgresServerName, getPostgresUserId, getTableSchema, getTimeMillis, getTimeMillis, getUnixPath, getUserId, read, toString, write
-
Constructor Details
-
ForeignKey
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
-
getColumnImpl
- Specified by:
getColumnImplin classAoservObject<Integer,ForeignKey>
-
getColumn_id
public int getColumn_id() -
getColumn
- Throws:
SQLExceptionIOException
-
getForeignColumn_id
public int getForeignColumn_id() -
getForeignColumn
- Throws:
SQLExceptionIOException
-
getSinceVersion_version
-
getSinceVersion
- Throws:
SQLExceptionIOException
-
getLastVersion_version
-
getLastVersion
- Throws:
SQLExceptionIOException
-
getTableId
- Specified by:
getTableIdin classAoservObject<Integer,ForeignKey>
-
init
Description copied from class:AoservObjectInitializes this object from the raw database contents.- Specified by:
initin classAoservObject<Integer,ForeignKey> - Parameters:
result- theResultSetcontaining the row to copy into this object- Throws:
SQLException
-
read
- Specified by:
readin interfaceAoservReadable- Specified by:
readin interfaceAoservStreamable- Specified by:
readin classAoservObject<Integer,ForeignKey> - Throws:
IOException
-
write
- Specified by:
writein interfaceAoservStreamable- Specified by:
writein interfaceAoservWritable- Specified by:
writein classAoservObject<Integer,ForeignKey> - Throws:
IOException
-
