Class TemporalMapping

    • Constructor Detail

      • TemporalMapping

        public TemporalMapping()
    • Method Detail

      • getDefaultLength

        public int getDefaultLength​(int index)
        Method to return the default length of this type in the datastore.
        Overrides:
        getDefaultLength in class SingleFieldMapping
        Parameters:
        index - The index position
        Returns:
        The default length
      • getDefaultLengthAsString

        protected abstract int getDefaultLengthAsString()
      • getJavaTypeForColumnMapping

        public String getJavaTypeForColumnMapping​(int index)
        Accessor for the name of the java-type actually used when mapping the particular datastore field. This java-type must have an entry in the datastore mappings.
        Overrides:
        getJavaTypeForColumnMapping in class SingleFieldMapping
        Parameters:
        index - requested column index.
        Returns:
        the name of java-type for the requested column.