org.springframework.ldap.odm.tools

## Class ObjectSchema

- java.lang.Object
- - org.springframework.ldap.odm.tools.ObjectSchema

-     public final class ObjectSchema
      extends Object

  Simple value class to hold the schema of an object class

  It is public only to allow Freemarker access.

  Author:
    Paul Harvey <paul.at.pauls-place.me.uk>

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ObjectSchema()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addMay(AttributeSchema may)`
    `void` | `addMust(AttributeSchema must)`
    `void` | `addObjectClass(String objectClass)`
    `boolean` | `equals(Object obj)`
    `Set<AttributeSchema>` | `getMay()`
    `Set<AttributeSchema>` | `getMust()`
    `Set<String>` | `getObjectClass()`
    `int` | `hashCode()`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ObjectSchema

          public ObjectSchema()

  - ### Method Detail

    - #### addMust

          public void addMust(AttributeSchema must)

    - #### addMay

          public void addMay(AttributeSchema may)

    - #### addObjectClass

          public void addObjectClass(String objectClass)

    - #### getMust

          public Set<AttributeSchema> getMust()

    - #### getMay

          public Set<AttributeSchema> getMay()

    - #### getObjectClass

          public Set<String> getObjectClass()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### equals

          public boolean equals(Object obj)

      Overrides:
        `equals` in class `Object`