Interface PhantomType.Builder<SELF extends PhantomType.Builder<SELF,T>,T extends PhantomType.Holder>

All Superinterfaces:
AttributesWrapper, Builder<SELF,T>
Enclosing class:
PhantomType

public static interface PhantomType.Builder<SELF extends PhantomType.Builder<SELF,T>,T extends PhantomType.Holder> extends Builder<SELF,T>
  • Method Details

    • setPhantomType

      default CodeStringWrapper.Setter<SELF,PhantomType> setPhantomType()
      Returns:
      a Setter for the Phantom Type (see PhantomType) which returns this Builder on its .asXXXX() methods. This allows fluent object creation in the form of
      XXXIOD xxxIOD = new XXXIOD().setYYYY().asYYYY(xxxxValue).setZZZZ().asZZZZ(zzzzValue);