Package com.sun.identity.sm
Class SchemaType
- java.lang.Object
-
- com.sun.identity.sm.SchemaType
-
public class SchemaType extends Object
The classSchemaTypedefines the types of schema objects, and provides static constants for these schema objects. Currently defined schema objects areSchemaType.GLOBAL,SchemaType.ORGANIZATION,SchemaType.USER,SchemaType.POLICYandSchemaType.DYNAMIC. The usage of the respective schema types are defined along with their declaration.
-
-
Field Summary
Fields Modifier and Type Field Description static SchemaTypeDOMAINTheDOMAINschema type defines attributes for a domainstatic SchemaTypeDYNAMICTheDYNAMICschema type definesstatic SchemaTypeGLOBALTheGLOBALschema type defines the service configuration information that independent of organizations, users and instances.static SchemaTypeGROUPTheGROUPschema type defines attributes for a groupstatic SchemaTypeORGANIZATIONTheORGANIZATIONschema type defines the service configuration information that are organization dependent and could be configured differently for organizations.static SchemaTypePOLICYThePOLICYschema type defines the service's privilege information that are service dependent.static SchemaTypeUSERTheUserschema type defines the service configuration information that are user dependent.
-
Constructor Summary
Constructors Constructor Description SchemaType(String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object schemaType)Method to check if two schema types are equal.StringgetType()inthashCode()Returns the hash code of the object.StringtoString()The method returns the string representation of the schema type.
-
-
-
Field Detail
-
GLOBAL
public static final SchemaType GLOBAL
TheGLOBALschema 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
TheORGANIZATIONschema 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
TheUserschema 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
ThePOLICYschema type defines the service's privilege information that are service dependent.
-
DYNAMIC
public static final SchemaType DYNAMIC
TheDYNAMICschema type defines
-
GROUP
public static final SchemaType GROUP
TheGROUPschema type defines attributes for a group
-
DOMAIN
public static final SchemaType DOMAIN
TheDOMAINschema type defines attributes for a domain
-
-
Constructor Detail
-
SchemaType
public SchemaType(String type)
-
-
Method Detail
-
toString
public String toString()
The method returns the string representation of the schema type.
-
equals
public boolean equals(Object schemaType)
Method to check if two schema types are equal.
-
hashCode
public int hashCode()
Returns the hash code of the object.
-
getType
public String getType()
-
-