Klasse AbstractStorageAdapter

java.lang.Object
org.obrel.core.RelatedObject
org.obrel.core.SerializableRelatedObject
de.esoco.data.storage.AbstractStorageAdapter
Alle implementierten Schnittstellen:
StorageAdapter, Serializable, org.obrel.core.Relatable

public abstract class AbstractStorageAdapter extends org.obrel.core.SerializableRelatedObject implements StorageAdapter
A base class for StorageAdapter implementations.
Siehe auch:
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    Creates a new instance.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    abstract String
    ö Must be implemented by subclasses to return a short string that describes this instance.
    protected Object
    parseConstraintValue(String constraint, Class<?> dataType)
    Parses a string constraint value into a certain datatype.
     

    Von Klasse geerbte Methoden org.obrel.core.RelatedObject

    deleteRelation, get, getRelation, getRelations, notifyRelationListeners, readRelations, relationsEqual, relationsHashCode, relationsString, set, set, transform, writeRelations

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Von Schnittstelle geerbte Methoden org.obrel.core.Relatable

    deleteRelation, deleteRelations, getAll, getOption, getRelationCount, getRelations, hasFlag, hasRelation, hasRelations, init, set, set, set, setOption, streamRelations

    Von Schnittstelle geerbte Methoden de.esoco.data.storage.StorageAdapter

    getColumns, getCurrentQueryCriteria, performQuery
  • Konstruktordetails

    • AbstractStorageAdapter

      public AbstractStorageAdapter()
      Creates a new instance.
  • Methodendetails

    • getStorageDescription

      public abstract String getStorageDescription()
      ö Must be implemented by subclasses to return a short string that describes this instance. Used by toString().
      Gibt zurück:
      The storage description
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse org.obrel.core.RelatedObject
      Siehe auch:
    • parseConstraintValue

      protected Object parseConstraintValue(String constraint, Class<?> dataType)
      Parses a string constraint value into a certain datatype.
      Parameter:
      constraint - The constraint value
      dataType - The datatype to parse the constraint into
      Gibt zurück:
      The parsed value or NULL if it could not be parsed
      Löst aus:
      IllegalArgumentException - If the constraint could not be parsed