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

pl.fhframework.docs.availability.service.PropertyElementServiceImpl Maven / Gradle / Ivy

package pl.fhframework.docs.availability.service;

import org.springframework.stereotype.Service;
import pl.fhframework.docs.availability.model.PropertyElement;

import java.util.Arrays;
import java.util.List;

/**
 * Created by k.czajkowski on 15.03.2017.
 */
@Service
public class PropertyElementServiceImpl implements PropertyElementService {

    @Override
    public List findAll() {
        return propertyElements;
    }

    private static List propertyElements = Arrays.asList(
            new PropertyElement(true),
            new PropertyElement(true),
            new PropertyElement(true),
            new PropertyElement(true),
            new PropertyElement(true),
            new PropertyElement(true)
    );

    public static List findAllProperties() {
        return propertyElements;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy