Class Architecture
- java.lang.Object
-
- com.aoindustries.aoserv.client.AOServObject<K,T>
-
- com.aoindustries.aoserv.client.GlobalObject<String,T>
-
- com.aoindustries.aoserv.client.GlobalObjectStringKey<Architecture>
-
- com.aoindustries.aoserv.client.distribution.Architecture
-
- All Implemented Interfaces:
Streamable,StreamReadable,StreamWritable,Row,AOServReadable,AOServStreamable,AOServWritable
public final class Architecture extends GlobalObjectStringKey<Architecture>
AnArchitectureis a simple wrapper for the type of computer architecture used in a server.- Author:
- AO Industries, Inc.
- See Also:
Host
-
-
Field Summary
Fields Modifier and Type Field Description static StringALPHAstatic StringARMstatic StringDEFAULT_ARCHITECTUREstatic StringI386static StringI486static StringI586static StringI686static StringI686_AND_X86_64static StringM68Kstatic StringMIPSstatic StringPPCstatic StringSPARCstatic StringX86_64-
Fields inherited from class com.aoindustries.aoserv.client.GlobalObjectStringKey
pkey
-
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 Architecture()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBits()protected ObjectgetColumnImpl(int i)StringgetName()Table.TableIDgetTableID()voidinit(ResultSet result)Initializes 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.GlobalObjectStringKey
equals, getKey, 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
-
-
-
-
Field Detail
-
ALPHA
public static final String ALPHA
- See Also:
- Constant Field Values
-
ARM
public static final String ARM
- See Also:
- Constant Field Values
-
I386
public static final String I386
- See Also:
- Constant Field Values
-
I486
public static final String I486
- See Also:
- Constant Field Values
-
I586
public static final String I586
- See Also:
- Constant Field Values
-
I686
public static final String I686
- See Also:
- Constant Field Values
-
I686_AND_X86_64
public static final String I686_AND_X86_64
- See Also:
- Constant Field Values
-
M68K
public static final String M68K
- See Also:
- Constant Field Values
-
MIPS
public static final String MIPS
- See Also:
- Constant Field Values
-
PPC
public static final String PPC
- See Also:
- Constant Field Values
-
SPARC
public static final String SPARC
- See Also:
- Constant Field Values
-
X86_64
public static final String X86_64
- See Also:
- Constant Field Values
-
DEFAULT_ARCHITECTURE
public static final String DEFAULT_ARCHITECTURE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getColumnImpl
protected Object getColumnImpl(int i)
- Specified by:
getColumnImplin classAOServObject<String,Architecture>
-
getName
public String getName()
-
getBits
public int getBits()
-
getTableID
public Table.TableID getTableID()
- Specified by:
getTableIDin classAOServObject<String,Architecture>
-
init
public void init(ResultSet result) throws SQLException
Description copied from class:AOServObjectInitializes this object from the raw database contents.- Specified by:
initin classAOServObject<String,Architecture>- Parameters:
result- theResultSetcontaining the row to copy into this object- Throws:
SQLException
-
read
public void read(StreamableInput in, AoservProtocol.Version protocolVersion) throws IOException
- Specified by:
readin interfaceAOServReadable- Specified by:
readin interfaceAOServStreamable- Specified by:
readin classAOServObject<String,Architecture>- Throws:
IOException
-
write
public void write(StreamableOutput out, AoservProtocol.Version protocolVersion) throws IOException
- Specified by:
writein interfaceAOServStreamable- Specified by:
writein interfaceAOServWritable- Specified by:
writein classAOServObject<String,Architecture>- Throws:
IOException
-
-