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

com.greenpepper.maven.plugin.spy.Pojo Maven / Gradle / Ivy

The newest version!
package com.greenpepper.maven.plugin.spy;

import com.greenpepper.spy.PojoDescription;
import com.greenpepper.spy.PropertyDescription;
import org.apache.commons.lang3.StringUtils;

import java.util.Collection;

public class Pojo extends Spy implements PojoDescription {

    private final Collection properties;

    public Pojo(String rawName, Collection properties) {
        super(rawName);
        this.properties = properties;
    }

    @Override
    public Collection getProperties() {
        return properties;
    }

    @Override
    public String getName() {
        return StringUtils.capitalize(super.getName());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy