/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

package org.apache.stratos.manager.composite.application.beans;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "subscribableInfo")
public class SubscribableInfo {

    private String alias;

    private String deploymentPolicy;

    private String autoscalingPolicy;

    private String repoUrl;

    private boolean privateRepo;

    private String repoUsername;

    private String repoPassword;

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public String getDeploymentPolicy() {
        return deploymentPolicy;
    }

    public void setDeploymentPolicy(String deploymentPolicy) {
        this.deploymentPolicy = deploymentPolicy;
    }

    public String getAutoscalingPolicy() {
        return autoscalingPolicy;
    }

    public void setAutoscalingPolicy(String autoscalingPolicy) {
        this.autoscalingPolicy = autoscalingPolicy;
    }

    public String getRepoUrl() {
        return repoUrl;
    }

    public void setRepoUrl(String repoUrl) {
        this.repoUrl = repoUrl;
    }

    public boolean isPrivateRepo() {
        return privateRepo;
    }

    public void setPrivateRepo(boolean privateRepo) {
        this.privateRepo = privateRepo;
    }

    public String getRepoUsername() {
        return repoUsername;
    }

    public void setRepoUsername(String repoUsername) {
        this.repoUsername = repoUsername;
    }

    public String getRepoPassword() {
        return repoPassword;
    }

    public void setRepoPassword(String repoPassword) {
        this.repoPassword = repoPassword;
    }
}

@@ -1227,16 +1227,51 @@
 sword;%0A%0A
+    private String metaInfoAlias;%0A%0A
     publ
@@ -2483,11 +2483,195 @@
 d;%0A    %7D
+%0A%0A    public String getMetaInfoAlias() %7B%0A        return metaInfoAlias;%0A    %7D%0A%0A    public void setMetaInfoAlias(String metaInfoAlias) %7B%0A        this.metaInfoAlias = metaInfoAlias;%0A    %7D
 %0A%7D%0A

add metaInfoAlias to application definition