Package com.puppetlabs.geppetto.catalog

Examples of com.puppetlabs.geppetto.catalog.CatalogMetadata


   * <!-- end-user-doc -->
   *
   * @generated
   */
  public NotificationChain basicSetMetadata(CatalogMetadata newMetadata, NotificationChain msgs) {
    CatalogMetadata oldMetadata = metadata;
    metadata = newMetadata;
    if(eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(
        this, Notification.SET, CatalogPackage.CATALOG__METADATA, oldMetadata, newMetadata);
      if(msgs == null)
View Full Code Here


    }

    @Override
    public CatalogMetadata deserialize(JsonElement json, java.lang.reflect.Type typeOfT,
        JsonDeserializationContext context) throws JsonParseException {
      final CatalogMetadata result = CatalogFactory.eINSTANCE.createCatalogMetadata();
      JsonObject jsonObj = json.getAsJsonObject();

      result.setApi_version(getString(jsonObj, "api_version"));
      return result;
    }
View Full Code Here

TOP

Related Classes of com.puppetlabs.geppetto.catalog.CatalogMetadata

Copyright © 2018 www.massapicom. 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.