Class SchemaType

java.lang.Object
com.sun.identity.sm.SchemaType

@SupportedAll public class SchemaType extends Object
The class SchemaType defines the types of schema objects, and provides static constants for these schema objects. Currently defined schema objects are SchemaType.GLOBAL, SchemaType.ORGANIZATION, SchemaType.USER, SchemaType.POLICY and SchemaType.DYNAMIC . The usage of the respective schema types are defined along with their declaration.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final SchemaType
    The DOMAIN schema type defines attributes for a domain
    static final SchemaType
    The DYNAMIC schema type defines
    static final SchemaType
    The GLOBAL schema type defines the service configuration information that independent of organizations, users and instances.
    static final SchemaType
    The GROUP schema type defines attributes for a group
    static final SchemaType
    The ORGANIZATION schema type defines the service configuration information that are organization dependent and could be configured differently for organizations.
    static final SchemaType
    The POLICY schema type defines the service's privilege information that are service dependent.
    static final SchemaType
    The User schema type defines the service configuration information that are user dependent.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object schemaType)
    Method to check if two schema types are equal.
     
    int
    Returns the hash code of the object.
    The method returns the string representation of the schema type.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • GLOBAL

      public static final SchemaType GLOBAL
      The GLOBAL schema type defines the service configuration information that independent of organizations, users and instances. Hence, the service configuration data defined using this schema type will the same across organizations and users. An example could be encryption algorithms used by the service for its internal communication. Such configuration data can be changed only by super administrator.
    • ORGANIZATION

      public static final SchemaType ORGANIZATION
      The ORGANIZATION schema type defines the service configuration information that are organization dependent and could be configured differently for organizations. Usually these configuration data can be modified by organization administrators. An example would be log level of a service.
    • USER

      public static final SchemaType USER
      The User schema type defines the service configuration information that are user dependent. An example would user's mail server or mail quota. Usually these configuration data can be modified by users and/or administrators.
    • POLICY

      public static final SchemaType POLICY
      The POLICY schema type defines the service's privilege information that are service dependent.
    • DYNAMIC

      public static final SchemaType DYNAMIC
      The DYNAMIC schema type defines
    • GROUP

      public static final SchemaType GROUP
      The GROUP schema type defines attributes for a group
    • DOMAIN

      public static final SchemaType DOMAIN
      The DOMAIN schema type defines attributes for a domain
  • Constructor Details

    • SchemaType

      public SchemaType(String type)
  • Method Details

    • toString

      public String toString()
      The method returns the string representation of the schema type.
      Overrides:
      toString in class Object
      Returns:
      String string representation of schema type
    • equals

      public boolean equals(Object schemaType)
      Method to check if two schema types are equal.
      Overrides:
      equals in class Object
      Parameters:
      schemaType - the reference object with which to compare
      Returns:
      true if the objects are same; false otherwise
    • hashCode

      public int hashCode()
      Returns the hash code of the object.
      Overrides:
      hashCode in class Object
      Returns:
      the hash code of the object.
    • getType

      public String getType()