Class PropertyGenerator

java.lang.Object
dk.mada.jaxrs.generator.mpclient.dto.PropertyGenerator

public class PropertyGenerator extends Object
Property generator. Prepares a property context for template rendering.
  • Constructor Details

    • PropertyGenerator

      public PropertyGenerator(Naming naming, GeneratorOpts opts, EnumGenerator enumGenerator)
      Constructs a new generator.
      Parameters:
      naming - the naming instance
      opts - the generator options
      enumGenerator - the enumeration generator
  • Method Details

    • toCtxProperty

      public CtxProperty toCtxProperty(dk.mada.jaxrs.generator.mpclient.dto.DtoSubjectDefiner.DtoSubjectBase dsb, Property prop)
      Prepares property context for rendering.
      Parameters:
      dsb - the DTO subject base
      prop - the property to make context for
      Returns:
      the property context