com.sun.identity.sm
Class AttributeSchema.UIType

java.lang.Object
  extended bycom.sun.identity.sm.AttributeSchema.UIType
Enclosing class:
AttributeSchema

public static class AttributeSchema.UIType
extends java.lang.Object

The class UIType defines the UI types of schema attributes and provides static constants for these types. These types mainly will be used by the GUI to determine how to display the schema attributes. Currently defined schema attribute UI types are RADIO, LINK, BUTTON and NAME_VALUE_LIST


Field Summary
static AttributeSchema.UIType BUTTON
          The BUTTON attribute type specifies that the attribute should be display as a button.
static AttributeSchema.UIType LINK
          The LINK attribute type specifies that the attribute should be display as a link.
static AttributeSchema.UIType NAME_VALUE_LIST
          The NAME_VALUE_LIST attribute type specifies that the attribute should be display as a name value list widget.
static AttributeSchema.UIType RADIO
          The RADIO attribute type specifies that the attribute should be display as radio button.
 
Method Summary
 boolean equals(java.lang.Object schemaAttrType)
          Method to check if two schema attribute UI types are equal.
 int hashCode()
          Returns a hash code value for the object.
 java.lang.String toString()
          The method returns the string representation of the schema attribute UI type.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

RADIO

public static final AttributeSchema.UIType RADIO
The RADIO attribute type specifies that the attribute should be display as radio button.


LINK

public static final AttributeSchema.UIType LINK
The LINK attribute type specifies that the attribute should be display as a link.


BUTTON

public static final AttributeSchema.UIType BUTTON
The BUTTON attribute type specifies that the attribute should be display as a button.


NAME_VALUE_LIST

public static final AttributeSchema.UIType NAME_VALUE_LIST
The NAME_VALUE_LIST attribute type specifies that the attribute should be display as a name value list widget.

Method Detail

toString

public java.lang.String toString()
The method returns the string representation of the schema attribute UI type.

Returns:
String string representation of schema attribute UI type

equals

public boolean equals(java.lang.Object schemaAttrType)
Method to check if two schema attribute UI types are equal.

Parameters:
schemaAttrType - the reference object with which to compare
Returns:
true if the objects are same; false otherwise

hashCode

public int hashCode()
Returns a hash code value for the object.

Returns:
a hash code value for the object


Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.