Class AbstractDom<T>

java.lang.Object
io.higson.runtime.domain.AbstractDom<T>
Type Parameters:
T - type T

public abstract class AbstractDom<T> extends Object
This class should be considered as wrapper class for HigsonDomainObject that will holds some extra informations, like children, context. It will also help you convert domain object properties to java types directly.
  • Constructor Details

  • Method Details

    • with

      public T with(HigsonContext ctx)
    • with

      public T with(String key, Object value)
    • with

      public T with(String key, HigsonContext subContext)
    • code

      public String code()
      Get code of domain object
      Returns:
      code of domain object as String
    • name

      public String name()
      Get name of domain object
      Returns:
      name of domain object as String
    • toString

      public String toString()
      Overrides:
      toString in class Object