Class ReadOnlyBooleanMetadata

java.lang.Object
net.okapia.osid.jamocha.metadata.spi.AbstractMetadata
net.okapia.osid.jamocha.metadata.ReadOnlyBooleanMetadata
All Implemented Interfaces:
Metadata

public final class ReadOnlyBooleanMetadata extends AbstractMetadata implements Metadata
Defines a read-only boolean Metadata.
  • Constructor Details

    • ReadOnlyBooleanMetadata

      public ReadOnlyBooleanMetadata(Id elementId, DisplayText label, DisplayText instructions, boolean exists)
      Constructs a new ReadOnlyBooleanMetadata.
      Parameters:
      elementId - the Id of the element
      label - the element label
      instructions - the instructions
      exists - true is a value exists for this element, false otherwise
      Throws:
      NullArgumentException - elementId, label, or instructions is null