Class Entity

java.lang.Object
org.vrspace.server.obj.Entity
Direct Known Subclasses:
ContentCategory, Embedded, Ownership, PersistentEvent, VRObject, World

@Node public abstract class Entity extends Object
This is whatever we need to store to the database.
  • Constructor Details

    • Entity

      public Entity()
    • Entity

      public Entity(Long id)
  • Method Details

    • getObjectId

      public ID getObjectId()
    • dispose

      public void dispose()
      Called while an object is being deleted. Used for cleanup tasks, e.g. removal of created files etc.
    • getId

      public Long getId()
    • setId

      public void setId(Long id)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object