Class SerialisedMapping

Direct Known Subclasses:
SerialisedPCMapping, SerialisedReferenceMapping

public class SerialisedMapping extends SingleFieldMapping
Maps a field as serialised.
  • Constructor Details

    • SerialisedMapping

      public SerialisedMapping()
  • Method Details

    • getJavaType

      public Class getJavaType()
      Accessor for the (Java) type of data represented here
      Specified by:
      getJavaType in class JavaTypeMapping
      Returns:
      java.lang.Object
    • getJavaTypeForColumnMapping

      public String getJavaTypeForColumnMapping(int index)
      Accessor for the name of the java-type actually used when mapping the particular datastore field. Returns Serializable since the object needs to be Serialisable
      Overrides:
      getJavaTypeForColumnMapping in class SingleFieldMapping
      Parameters:
      index - requested column index.
      Returns:
      the name of java-type for the requested column.