Class PersistentEntry

  • All Implemented Interfaces:
    io.vlingo.symbio.Entry, java.io.Serializable, java.lang.Comparable

    public class PersistentEntry
    extends io.vlingo.symbio.store.object.PersistentObject
    implements io.vlingo.symbio.Entry
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected PersistentEntry()  
        PersistentEntry​(io.vlingo.symbio.Entry entry)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      io.vlingo.symbio.Source asSource​(io.vlingo.symbio.EntryAdapterProvider provider)  
      int compareTo​(java.lang.Object other)  
      io.vlingo.symbio.Entry entry()  
      java.lang.Object entryData()  
      boolean equals​(java.lang.Object other)  
      int hashCode()  
      boolean hasMetadata()  
      java.lang.String id()  
      boolean isEmpty()  
      boolean isNull()  
      io.vlingo.symbio.Metadata metadata()  
      java.lang.String toString()  
      java.lang.String type()  
      java.lang.Class typed()  
      int typeVersion()  
      io.vlingo.symbio.Entry withId​(java.lang.String id)  
      • Methods inherited from class io.vlingo.symbio.store.object.PersistentObject

        from, incrementVersion, isIdentified, persistenceId, version
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PersistentEntry

        public PersistentEntry​(io.vlingo.symbio.Entry entry)
      • PersistentEntry

        protected PersistentEntry()
    • Method Detail

      • asSource

        public io.vlingo.symbio.Source asSource​(io.vlingo.symbio.EntryAdapterProvider provider)
      • entry

        public io.vlingo.symbio.Entry entry()
      • compareTo

        public int compareTo​(java.lang.Object other)
        Specified by:
        compareTo in interface java.lang.Comparable
      • id

        public java.lang.String id()
        Specified by:
        id in interface io.vlingo.symbio.Entry
      • entryData

        public java.lang.Object entryData()
        Specified by:
        entryData in interface io.vlingo.symbio.Entry
      • metadata

        public io.vlingo.symbio.Metadata metadata()
        Specified by:
        metadata in interface io.vlingo.symbio.Entry
      • type

        public java.lang.String type()
        Specified by:
        type in interface io.vlingo.symbio.Entry
      • typeVersion

        public int typeVersion()
        Specified by:
        typeVersion in interface io.vlingo.symbio.Entry
      • hasMetadata

        public boolean hasMetadata()
        Specified by:
        hasMetadata in interface io.vlingo.symbio.Entry
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface io.vlingo.symbio.Entry
      • isNull

        public boolean isNull()
        Specified by:
        isNull in interface io.vlingo.symbio.Entry
      • typed

        public java.lang.Class typed()
        Specified by:
        typed in interface io.vlingo.symbio.Entry
      • withId

        public io.vlingo.symbio.Entry withId​(java.lang.String id)
        Specified by:
        withId in interface io.vlingo.symbio.Entry
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class io.vlingo.symbio.store.object.PersistentObject
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class io.vlingo.symbio.store.object.PersistentObject
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object