All Downloads are FREE. Search and download functionalities are using the official Maven repository.

danta.api.TemplateContentModel Maven / Gradle / Ivy

The newest version!
/**
 * Danta API Bundle
 * (danta.api)
 *
 * Copyright (C) 2017 Tikal Technologies, Inc. All rights reserved.
 *
 * Licensed under GNU Affero General Public License, Version v3.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      https://www.gnu.org/licenses/agpl-3.0.txt
 *
 * 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;
 * without even the implied warranty of MERCHANTABILITY.
 * See the License for more details.
 */

package danta.api;

import net.minidev.json.JSONObject;

/**
 * Template Content Model
 *
 * @author      joshuaoransky
 * @version     1.0.0
 * @since       2016-08-08
 */
public interface TemplateContentModel
        extends ContentModel {

    TemplateContentModel setAttribute(final String name, final Object value);

    Object getAttribute(final String name);

    JSONObject toJSONObject(String... keys);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy