Examples of FlexiBean


Examples of org.joda.beans.impl.flexi.FlexiBean

  /**
   * Creates the output root data.
   * @return the output root data, not null
   */
  protected FlexiBean createRootData() {
    FlexiBean out = super.createRootData();
    ConfigDocument latestDoc = data().getConfig();
    ConfigDocument versionedConfig = data().getVersioned();
    out.put("latestConfigDoc", latestDoc);
    out.put("latestConfig", latestDoc.getConfig().getValue());
    out.put("configDoc", versionedConfig);
    out.put("config", versionedConfig.getConfig().getValue());
    out.put("configDescription", getConfigTypesProvider().getDescription(versionedConfig.getConfig().getType()));
    out.put("configXml", createXML(versionedConfig));
    out.put("deleted", !latestDoc.isLatest());
    return out;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.