Interface IdiomForm

All Superinterfaces:
Extensible, Identifiable, OsidBrowsableForm, OsidExtensibleForm, OsidForm, OsidIdentifiableForm, OsidObjectForm, OsidSubjugateableForm, Suppliable
All Known Subinterfaces:
IdiomBatchForm

public interface IdiomForm extends OsidObjectForm, OsidSubjugateableForm

This is the form for creating and updating Idioms . Like all OsidForms , various data elements may be set here for use in the create and update methods in the IdiomAdminSession . For each data element that may be set, metadata may be examined to provide display hints or data constraints.

  • Method Details

    • getLanguageTypeMetadata

      Metadata getLanguageTypeMetadata()
      Gets the metadata for the language type.
      Returns:
      metadata for the language type
      Compliance:
      mandatory - This method must be implemented.
    • setLanguageType

      void setLanguageType(Type languageType)
      Sets the language type.
      Parameters:
      languageType - the new language type
      Throws:
      InvalidArgumentException - languageType is invalid
      NoAccessException - Metadata.isReadOnly() is true
      NullArgumentException - languageType is null
      Compliance:
      mandatory - This method must be implemented.
    • clearLanguageType

      void clearLanguageType()
      Removes the language type.
      Throws:
      NoAccessException - Metadata.isRequired() is true or Metadata.isReadOnly() is true
      Compliance:
      mandatory - This method must be implemented.
    • getScriptTypeMetadata

      Metadata getScriptTypeMetadata()
      Gets the metadata for the script type.
      Returns:
      metadata for the script type
      Compliance:
      mandatory - This method must be implemented.
    • setScriptType

      void setScriptType(Type scriptType)
      Sets the script type.
      Parameters:
      scriptType - the new script type
      Throws:
      InvalidArgumentException - scriptType is invalid
      NoAccessException - Metadata.isReadOnly() is true
      NullArgumentException - scriptType is null
      Compliance:
      mandatory - This method must be implemented.
    • clearScriptType

      void clearScriptType()
      Removes the script type.
      Throws:
      NoAccessException - Metadata.isRequired() is true or Metadata.isReadOnly() is true
      Compliance:
      mandatory - This method must be implemented.
    • getFormatTypeMetadata

      Metadata getFormatTypeMetadata()
      Gets the metadata for the format type.
      Returns:
      metadata for the format type
      Compliance:
      mandatory - This method must be implemented.
    • setFormatType

      void setFormatType(Type formatType)
      Sets the format type.
      Parameters:
      formatType - the new format type
      Throws:
      InvalidArgumentException - formatType is invalid
      NoAccessException - Metadata.isReadOnly() is true
      NullArgumentException - formatType is null
      Compliance:
      mandatory - This method must be implemented.
    • clearFormatType

      void clearFormatType()
      Removes the format type.
      Throws:
      NoAccessException - Metadata.isRequired() is true or Metadata.isReadOnly() is true
      Compliance:
      mandatory - This method must be implemented.
    • getTemplateMetadata

      Metadata getTemplateMetadata()
      Gets the metadata for the template.
      Returns:
      metadata for the template
      Compliance:
      mandatory - This method must be implemented.
    • setTemplate

      void setTemplate(String template)
      Sets the template.
      Parameters:
      template - the new template
      Throws:
      InvalidArgumentException - template is invalid
      NoAccessException - Metadata.isReadOnly() is true
      NullArgumentException - template is null
      Compliance:
      mandatory - This method must be implemented.
    • clearTemplate

      void clearTemplate()
      Removes the template.
      Throws:
      NoAccessException - Metadata.isRequired() is true or Metadata.isReadOnly() is true
      Compliance:
      mandatory - This method must be implemented.
    • getIdiomFormRecord

      IdiomFormRecord getIdiomFormRecord(Type idiomRecordType) throws OperationFailedException
      Gets the IdiomFormRecord corresponding to the given idiom record Type .
      Parameters:
      idiomRecordType - an idiom record type
      Returns:
      the idiom form record
      Throws:
      NullArgumentException - idiomRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(idiomRecordType) is false
      Compliance:
      mandatory - This method must be implemented.