
io.sightly.java.api.Record Maven / Gradle / Ivy
/*******************************************************************************
*
* ADOBE CONFIDENTIAL
* __________________
*
* Copyright 2013 Adobe Systems Incorporated
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Adobe Systems Incorporated and its suppliers,
* if any. The intellectual and technical concepts contained
* herein are proprietary to Adobe Systems Incorporated and its
* suppliers and are protected by trade secret or copyright law.
* Dissemination of this information or reproduction of this material
* is strictly forbidden unless prior written permission is obtained
* from Adobe Systems Incorporated.
******************************************************************************/
package io.sightly.java.api;
import java.util.Set;
/**
* A key-value immutable object understood by the Sightly runtime
* @param the type of values for this record
*/
@Deprecated
public interface Record extends org.apache.sling.scripting.sightly.Record {
// no additional API to the org.apache.sling.scripting.sightly.Record
// interface but legacy Pojo implementations will still implement
// this interface instead of the Sling Sightly Record interface
// the methods are still present to quiesce the OSGi version baselining
/**
* Get the value of the specified property
* @param name the name of the property
* @return the value of the property or null if this record does not
* have the specified property
*/
T get(String name);
/**
* Get the set of properties for this record
* @return this record's properties
*/
Set properties();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy