com.intel.util
Class PlatformId
- java.lang.Object
-
- com.intel.util.PlatformId
-
public abstract class PlatformId extends java.lang.Object
This class represents the IDs configured on this platform during the manufacturing process.
-
-
Field Summary
Fields Modifier and Type Field and Description static short
TYPE_OEM_ID
OEM ID, configured by the OEM in the image during manufacturingstatic short
TYPE_RESERVED_ID
Reserved ID, currently not in use (might be used as Reseller ID in the future)static short
TYPE_SYSTEM_INTEGRATOR_ID
System Integrator ID, configured by the OEM in the image during manufacturing
-
Constructor Summary
Constructors Constructor and Description PlatformId()
-
Method Summary
Methods Modifier and Type Method and Description static PlatformId[]
getOemIds()
Returns all the IDs configured by the OEM on the platform.abstract int
getType()
Returns the type of the ID represented by this instance.abstract byte[]
getValue()
Returns the value of the ID represented by this instance.
-
-
-
Field Detail
-
TYPE_OEM_ID
public static final short TYPE_OEM_ID
OEM ID, configured by the OEM in the image during manufacturing- See Also:
- Constant Field Values
-
TYPE_SYSTEM_INTEGRATOR_ID
public static final short TYPE_SYSTEM_INTEGRATOR_ID
System Integrator ID, configured by the OEM in the image during manufacturing- See Also:
- Constant Field Values
-
TYPE_RESERVED_ID
public static final short TYPE_RESERVED_ID
Reserved ID, currently not in use (might be used as Reseller ID in the future)- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public abstract int getType()
Returns the type of the ID represented by this instance. See TYPE_... definitions above for the possible values.- Returns:
- The type of the ID represented by this instance.
-
getValue
public abstract byte[] getValue() throws UtilException
Returns the value of the ID represented by this instance.- Returns:
- The value of the ID represented by this instance.
- Throws:
NotInitializedException
- if the value of this ID was not configured on the platform.UtilException
-
getOemIds
public static final PlatformId[] getOemIds()
Returns all the IDs configured by the OEM on the platform.- Returns:
- An array holding the IDs configured by OEM on the platform.
-
-