org.openmuc.jdlms.interfaceclass.attribute.SmtpSetupAttribute Maven / Gradle / Ivy
/*
* Copyright 2012-15 Fraunhofer ISE
*
* This file is part of jDLMS.
* For more information visit http://www.openmuc.org
*
* jDLMS is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* jDLMS is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with jDLMS. If not, see .
*
*/
package org.openmuc.jdlms.interfaceclass.attribute;
import org.openmuc.jdlms.interfaceclass.InterfaceClass;
public enum SmtpSetupAttribute implements AttributeClass {
LOGICAL_NAME(1),
SERVER_PORT(2),
USER_NAME(3),
LOGIN_PASSWORD(4),
SERVER_ADDRESS(5),
SENDER_ADDRESS(6),;
static final InterfaceClass INTERFACE_CLASS = InterfaceClass.SMTP_SETUP;
private int attributeId;
private SmtpSetupAttribute(int attributeId) {
this.attributeId = attributeId;
}
@Override
public int attributeId() {
return attributeId;
}
@Override
public String attributeName() {
return name();
}
@Override
public InterfaceClass interfaceClass() {
return INTERFACE_CLASS;
}
}