Class AMSchema.Type

  • Enclosing class:
    AMSchema

    public static class AMSchema.Type
    extends Object
    • Field Detail

      • GLOBAL

        public static final AMSchema.Type 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 AMSchema.Type 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 AMSchema.Type 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 AMSchema.Type POLICY
        The POLICY schema type defines the service's privilege information that are service dependent.
      • DYNAMIC

        public static final AMSchema.Type DYNAMIC
        The DYNAMIC schema type defines
    • Constructor Detail

    • Method Detail

      • 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 obj)
        Method to check if two schema types are equal.
        Overrides:
        equals in class Object
        Parameters:
        obj - the reference object with which to compare
        Returns:
        true if the objects are same; false otherwise
      • getInternalSchemaType

        protected SchemaType getInternalSchemaType()
      • hashCode

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