Class ReadOnlyStringMetadata

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

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

    • ReadOnlyStringMetadata

      public ReadOnlyStringMetadata(Id elementId, DisplayText label, DisplayText instructions, boolean exists)
      Constructs a new ReadOnlyStringMetadata.
      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