Oracle Security Developer Tools SAML 2.0 Java API Reference
10g (10.1.4.0.1)

B28174-01


oracle.security.xmlsec.saml2.ac
Class DeviceType

java.lang.Object
  extended byoracle.security.xmlsec.saml2.ac.DeviceType


public class DeviceType
extends java.lang.Object

Represents the type of time synchronization device.


Field Summary
static DeviceType HARDWARE
          A hardware time synchronization device - value of "hardware"
static DeviceType SOFTWARE
          A software time synchronization device - value of "software"

 

Constructor Summary
DeviceType(java.lang.String value)
          Creates a new DeviceType object.

 

Method Summary
 boolean equals(java.lang.Object o)
          Compares this DeviceType object to the specified object.
 java.lang.String getValue()
          Returns the value of this DeviceType.
 int hashCode()
          Returns the hash code for this instance.
 java.lang.String toString()
          Returns a description of this DeviceType.

 

Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait

 

Field Detail

HARDWARE

public static final DeviceType HARDWARE
A hardware time synchronization device - value of "hardware"

SOFTWARE

public static final DeviceType SOFTWARE
A software time synchronization device - value of "software"

Constructor Detail

DeviceType

public DeviceType(java.lang.String value)
Creates a new DeviceType object.
Parameters:
value - The String value of this DeviceType.

Method Detail

getValue

public java.lang.String getValue()
Returns the value of this DeviceType.
Returns:
The device type String.

toString

public java.lang.String toString()
Returns a description of this DeviceType.
Returns:
The String representation.

hashCode

public int hashCode()
Returns the hash code for this instance.
Returns:
The hash code.

equals

public boolean equals(java.lang.Object o)
Compares this DeviceType object to the specified object.
Parameters:
o - The object to compare to.
Returns:
A boolean value.

Oracle Security Developer Tools SAML 2.0 Java API Reference
10g (10.1.4.0.1)

B28174-01


Copyright © 2005, 2006 , Oracle. All rights reserved.