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

nyla.solutions.core.data.NamedIdentifier Maven / Gradle / Ivy

Go to download

This Java API provides support for application utilities (application configuration, data encryption, debugger, text processing, and more).

The newest version!
package nyla.solutions.core.data;

/**
 * @author Gregory Green
 */
public class NamedIdentifier implements Nameable,Identifier
{
    private String name;
    private String id;

    public NamedIdentifier()
    {}

    public NamedIdentifier(String name)
    {
        this.name = name;
    }

    public NamedIdentifier(String name, String id)
    {
        this.name = name;
        this.id = id;
    }

    @Override
    public String getId()
    {
        return id;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    @Override
    public String getName()
    {
        return name;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy