Package MarcSync

Klasse Entry

java.lang.Object
MarcSync.Entry

public class Entry extends Object
  • Konstruktordetails

  • Methodendetails

    • getValues

      public EntryData getValues()
      Gibt zurück:
      The EntryData object of the entry

      Note: This method is useful if you want to get the values of the entry.

      Siehe auch:
    • getValue

      public Object getValue(String key)
      Parameter:
      key - The key of the value to get
      Gibt zurück:
      The value of the specified key

      Note: This method is useful if you want to get the value of a specific key without specifying the type.

      Siehe auch:
    • getCollectionName

      public String getCollectionName()
      Gibt zurück:
      The name of the collection of the entry
    • updateValue

      public EntryData updateValue(String key, Object value) throws URISyntaxException, IOException
      Parameter:
      key - he key of the value to update
      value - The value to update
      Gibt zurück:
      The values of the entry after update

      Note: This method is useful if you want to update the value of a specific key.

      Löst aus:
      URISyntaxException
      IOException
    • updateValues

      public EntryData updateValues(EntryData entryData) throws URISyntaxException, IOException
      Parameter:
      entryData - The values to update
      Gibt zurück:
      The values of the entry after update

      Note: This method is useful if you want to update multiple values of the entry.

      Löst aus:
      URISyntaxException
      IOException
      Siehe auch:
    • delete

      public void delete() throws IOException, URISyntaxException
      Deletes the entry

      Note: Will delete the entry from the collection. This action cannot be undone.

      Löst aus:
      IOException
      URISyntaxException