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

me.legrange.panstamp.xml.XmlDeveloperDefinition Maven / Gradle / Ivy

There is a newer version: 2.2
Show newest version
package me.legrange.panstamp.xml;

import me.legrange.panstamp.definition.DeveloperDefinition;

/**
 * The object represents the information associated with a panStamp developer
 * in the device XML tree. 
 * 
 * @since 1.0
 * @author Gideon le Grange https://github.com/GideonLeGrange *
 */
final class XmlDeveloperDefinition implements DeveloperDefinition {

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

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

    @Override
    public String toString() {
        return "Developer{" + "id=" + id + ", name=" + name + '}';
    }

    /** Create a new instance with the given id and name */
    XmlDeveloperDefinition(int id, String name) {
        this.id = id;
        this.name = name;
    }
    
    private final int id;
    private final String name;
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy