/** * Add a nested reference set. * * @param type * (required) The reference type, see referenceSet.TYPES * @param orderBy * (May be null) A statement of ordering for reference sets. * @param render * (May be null) a rendering hint used to override the default * display of the element. */ public ReferenceSet addReferenceSet(String type, String orderBy, String render) throws WingException { ReferenceSet referenceSet = new ReferenceSet(context, true, null, type, orderBy, render); contents.add(referenceSet); return referenceSet; }
/** * Add a reference set for metadata references. * * @param name * (Required) a local identifier used to differentiate the * element from its siblings. * @param type * (Required) The include type, see IncludeSet.TYPES * @param orderBy * (May be null) An statement of ordering within the include set. * @param rend * (May be null) a rendering hint used to override the default * display of the element. */ public ReferenceSet addReferenceSet(String name, String type, String orderBy, String rend) throws WingException { ReferenceSet referenceSet = new ReferenceSet(context, false, name, type, orderBy, rend); contents.add(referenceSet); return referenceSet; }