Package com.sun.identity.sm
Class SchemaType
- java.lang.Object
-
- com.sun.identity.sm.SchemaType
-
@SupportedAll public class SchemaType extends Object
The classSchemaType
defines the types of schema objects, and provides static constants for these schema objects. Currently defined schema objects areSchemaType.GLOBAL
,SchemaType.ORGANIZATION
,SchemaType.USER
,SchemaType.POLICY
andSchemaType.DYNAMIC
. The usage of the respective schema types are defined along with their declaration.
-
-
Field Summary
Fields Modifier and Type Field Description static SchemaType
DOMAIN
TheDOMAIN
schema type defines attributes for a domainstatic SchemaType
DYNAMIC
TheDYNAMIC
schema type definesstatic SchemaType
GLOBAL
TheGLOBAL
schema type defines the service configuration information that independent of organizations, users and instances.static SchemaType
GROUP
TheGROUP
schema type defines attributes for a groupstatic SchemaType
ORGANIZATION
TheORGANIZATION
schema type defines the service configuration information that are organization dependent and could be configured differently for organizations.static SchemaType
POLICY
ThePOLICY
schema type defines the service's privilege information that are service dependent.static SchemaType
USER
TheUser
schema 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 boolean
equals(Object schemaType)
Method to check if two schema types are equal.String
getType()
int
hashCode()
Returns the hash code of the object.String
toString()
The method returns the string representation of the schema type.
-
-
-
Field Detail
-
GLOBAL
public static final SchemaType GLOBAL
TheGLOBAL
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
TheORGANIZATION
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
TheUser
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
ThePOLICY
schema type defines the service's privilege information that are service dependent.
-
DYNAMIC
public static final SchemaType DYNAMIC
TheDYNAMIC
schema type defines
-
GROUP
public static final SchemaType GROUP
TheGROUP
schema type defines attributes for a group
-
DOMAIN
public static final SchemaType DOMAIN
TheDOMAIN
schema 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()
-
-