Class IdentifiedObjectBuilder.Base<T extends nz.org.riskscape.engine.Identified>

java.lang.Object
nz.org.riskscape.engine.ini.IdentifiedObjectBuilder.Base<T>
All Implemented Interfaces:
IdentifiedObjectBuilder<T>
Direct Known Subclasses:
BookmarkFactory, IniFileFunctionBuilder, IniFileModelBuilder2, IniFileParameterBuilder, IniFileTypeBuilder
Enclosing interface:
IdentifiedObjectBuilder<T extends nz.org.riskscape.engine.Identified>

public abstract static class IdentifiedObjectBuilder.Base<T extends nz.org.riskscape.engine.Identified> extends Object implements IdentifiedObjectBuilder<T>
  • Constructor Details

    • Base

      public Base(Class<T> identifiedClass, String keyword)
  • Method Details

    • getIdentifiedClass

      public Class<T> getIdentifiedClass()
      Specified by:
      getIdentifiedClass in interface IdentifiedObjectBuilder<T extends nz.org.riskscape.engine.Identified>
      Returns:
      the class of the Identified object being built
    • getKeyword

      public String getKeyword()
      Specified by:
      getKeyword in interface IdentifiedObjectBuilder<T extends nz.org.riskscape.engine.Identified>
      Returns:
      the keyword to look for in standalone INI file sections, e.g. "bookmark" in [bookmark foo] bar = baz