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
pkey
Fields inherited from class com.aoindustries.aoserv.client.AoservObject
USE_ARRAY_OF_DOMAIN, USE_SQL_DATA, USE_SQL_DATA_WRITE
-
Constructor Summary
ConstructorDescriptionDeprecated.Only required for implementation, do not use directly. -
Method Summary
Modifier and TypeMethodDescriptiongetColumn
(AoservConnector connector) int
protected Object
getColumnImpl
(int i) getForeignColumn
(AoservConnector connector) int
getLastVersion
(AoservConnector connector) getSinceVersion
(AoservConnector connector) void
Initializes this object from the raw database contents.void
read
(StreamableInput in, AoservProtocol.Version protocolVersion) void
write
(StreamableOutput out, AoservProtocol.Version protocolVersion) Methods inherited from class com.aoindustries.aoserv.client.GlobalObjectIntegerKey
equals, getKey, getPkey, hashCode, toStringImpl
Methods 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.Only required for implementation, do not use directly.- See Also:
-
-
Method Details
-
getColumnImpl
- Specified by:
getColumnImpl
in classAoservObject<Integer,
ForeignKey>
-
getColumn_id
public int getColumn_id() -
getColumn
- Throws:
SQLException
IOException
-
getForeignColumn_id
public int getForeignColumn_id() -
getForeignColumn
- Throws:
SQLException
IOException
-
getSinceVersion_version
-
getSinceVersion
- Throws:
SQLException
IOException
-
getLastVersion_version
-
getLastVersion
- Throws:
SQLException
IOException
-
getTableId
- Specified by:
getTableId
in classAoservObject<Integer,
ForeignKey>
-
init
Description copied from class:AoservObject
Initializes this object from the raw database contents.- Specified by:
init
in classAoservObject<Integer,
ForeignKey> - Parameters:
result
- theResultSet
containing the row to copy into this object- Throws:
SQLException
-
read
- Specified by:
read
in interfaceAoservReadable
- Specified by:
read
in interfaceAoservStreamable
- Specified by:
read
in classAoservObject<Integer,
ForeignKey> - Throws:
IOException
-
write
- Specified by:
write
in interfaceAoservStreamable
- Specified by:
write
in interfaceAoservWritable
- Specified by:
write
in classAoservObject<Integer,
ForeignKey> - Throws:
IOException
-