@CodingStyleguideUnaware public class Adapter1 extends XmlAdapter<String, LocalDate> { public LocalDate unmarshal(String value) { return (com.helger.commons.datetime.PDTWebDateHelper.getLocalDateFromXSD(value)); } public String marshal(LocalDate value) { return (com.helger.commons.datetime.PDTWebDateHelper.getAsStringXSD(value)); } }
@CodingStyleguideUnaware public class Adapter1 extends XmlAdapter<String, LocalDateTime> { public LocalDateTime unmarshal(String value) { return (com.helger.commons.datetime.PDTWebDateHelper.getLocalDateTimeFromXSD(value)); } public String marshal(LocalDateTime value) { return (com.helger.commons.datetime.PDTWebDateHelper.getAsStringXSD(value)); } }
/** * Return the block to be executed by the "then" branch * * @return Then block */ @Nonnull @CodingStyleguideUnaware public final JSBlock _then () { return m_aThen; }
/** * Returns the class extended by this class. */ @Override @Nullable @CodingStyleguideUnaware public AbstractJSClass _extends () { return m_aSuperClass; }
/** * Return the block to be executed by the "then" branch * * @return Then block */ @Nonnull @CodingStyleguideUnaware public final JSBlock _then () { return m_aThen; }
@Nonnull @CodingStyleguideUnaware public static JSInvocation _new (@Nonnull final AbstractJSType aType) { return new JSInvocation (aType); }
@Nonnull @CodingStyleguideUnaware public JSCase _default () { if (m_aDefaultCase == null) m_aDefaultCase = new JSCase (null, true); return m_aDefaultCase; }
@CodingStyleguideUnaware public <T> List <EntityGraph <? super T>> getEntityGraphs (final Class <T> entityClass) { return m_aEntityMgr.getEntityGraphs (entityClass); } }
@Nonnull @CodingStyleguideUnaware public JSBlock _continue () { return _continue (null); }
/** * Create a break statement and add it to this block * * @return Created break block */ @Nonnull @CodingStyleguideUnaware public JSBlock _break () { return _break (null); }
/** * @return A "new type" invocation object */ @Nonnull @CodingStyleguideUnaware public final JSInvocation _new () { return JSExpr._new (this); }
@Nonnull @CodingStyleguideUnaware public JSCase _default () { if (m_aDefaultCase == null) m_aDefaultCase = new JSCase (null, true); return m_aDefaultCase; }
@Nonnull @CodingStyleguideUnaware public JSBlock _finally () { if (m_aFinally == null) m_aFinally = new JSBlock (); return m_aFinally; }
@Override @CodingStyleguideUnaware public Set <QName> getHeaders () { return new CommonsHashSet <> (WSSE_HEADER_NAME); }
/** * Create a break statement and add it to this block * * @return Created break block */ @Nonnull @CodingStyleguideUnaware public JSBlock _break () { return _break (null); }
/** * @param aExprs * Expressions used as arguments * @return A "new type" invocation object */ @Nonnull @CodingStyleguideUnaware public final JSInvocation _new (@Nullable final IJSExpression... aExprs) { return _new ().args (aExprs); }
@Nonnull @CodingStyleguideUnaware public JSCatchBlock _catch (@Nonnull @Nonempty final String sName) { if (m_aCatch == null) m_aCatch = new JSCatchBlock (sName); return m_aCatch; }
@Nonnull @CodingStyleguideUnaware public JSCase _case (@Nonnull final IJSExpression aLabel) { final JSCase aCase = new JSCase (aLabel); m_aCases.add (aCase); return aCase; }
@Nonnull @CodingStyleguideUnaware public JSCase _case (final int nLabel) { return _case (JSExpr.lit (nLabel)); }
@MustBeLocked (ELockType.READ) @CodingStyleguideUnaware protected final Collection <IMPLTYPE> internalGetAllSortedByKey () { return m_aMap.getSortedByKey (Comparator.naturalOrder ()).values (); }