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

me.datafox.dfxengine.text.api.Name Maven / Gradle / Ivy

There is a newer version: 1.0.2
Show newest version
package me.datafox.dfxengine.text.api;

import lombok.Builder;
import lombok.Data;

/**
 * A data class that wraps an object and its assigned name in singular and plural form.
 *
 * @author datafox
 */
@Data
@Builder
public final class Name {
    /**
     * Named object.
     */
    private final T owner;

    /**
     * Name of {@link #getOwner()} in singular form.
     */
    private final String singular;

    /**
     * Name of {@link #getOwner()} in plural form.
     */
    private final String plural;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy