Class GmoSandboxEntity

java.lang.Object
io.higson.runtime.sandbox.GmoSandboxEntity

public class GmoSandboxEntity extends Object
Author:
przemek hertel
  • Constructor Details

    • GmoSandboxEntity

      public GmoSandboxEntity(int id, String name, String desc, String tableName, boolean root)
  • Method Details

    • addAttribute

      public void addAttribute(GmoSandboxAttribute attr)
    • findAttribute

      public GmoSandboxAttribute findAttribute(int attrId)
    • findAttribute

      public GmoSandboxAttribute findAttribute(String name)
    • isPersistent

      public boolean isPersistent()
      Entity is marked as persistent if at least 1 attribute is persistent.
      Returns:
      boolean indicating whether current entity is persistent
    • isTransient

      public boolean isTransient()
    • getTableName

      public Optional<String> getTableName()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toStringInline

      public String toStringInline()