Class SchemaImpl

All Implemented Interfaces:
Serializable, ComplexType, Schema, Type

public class SchemaImpl extends ComplexTypeImpl implements Schema
The implementation of a Schema
See Also:
  • Field Details

    • isVersionWritabe

      public boolean isVersionWritabe
  • Constructor Details

  • Method Details

    • getType

      public Type getType(String typeName)
      Description copied from interface: Schema
      Gets a schema local type given its name.
      Specified by:
      getType in interface Schema
      Returns:
      the type or null if no such type
    • getTypes

      public Type[] getTypes()
      Description copied from interface: Schema
      Gets the types declared by this schema.
      Specified by:
      getTypes in interface Schema
    • registerType

      public void registerType(Type type)
      Description copied from interface: Schema
      Registers a new type in that schema context.
      Specified by:
      registerType in interface Schema
    • toString

      public String toString()
      Overrides:
      toString in class ComplexTypeImpl
    • getSchema

      public Schema getSchema()
      Description copied from interface: Type
      Gets the schema defining this type.
      Specified by:
      getSchema in interface Type
      Overrides:
      getSchema in class AbstractType
    • isVersionWritabe

      public boolean isVersionWritabe()
      Specified by:
      isVersionWritabe in interface Schema
      Returns:
      true if the schema's fields are writable even for Version document.