org.opennms.features.geolocation.api.NodeInfo Maven / Gradle / Ivy
/*
* Licensed to The OpenNMS Group, Inc (TOG) under one or more
* contributor license agreements. See the LICENSE.md file
* distributed with this work for additional information
* regarding copyright ownership.
*
* TOG licenses this file to You under the GNU Affero General
* Public License Version 3 (the "License") or (at your option)
* any later version. You may not use this file except in
* compliance with the License. You may obtain a copy of the
* License at:
*
* https://www.gnu.org/licenses/agpl-3.0.txt
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
* either express or implied. See the License for the specific
* language governing permissions and limitations under the
* License.
*/
package org.opennms.features.geolocation.api;
import java.util.ArrayList;
import java.util.List;
public class NodeInfo {
private int nodeId;
private String nodeLabel;
private String foreignSource;
private String foreignId;
private String description;
private String maintcontract;
private String ipAddress;
private String location;
private List categories = new ArrayList<>();
public int getNodeId() {
return nodeId;
}
public void setNodeId(int nodeId) {
this.nodeId = nodeId;
}
public String getNodeLabel() {
return nodeLabel;
}
public void setNodeLabel(String nodeLabel) {
this.nodeLabel = nodeLabel;
}
public String getForeignSource() {
return foreignSource;
}
public void setForeignSource(String foreignSource) {
this.foreignSource = foreignSource;
}
public String getForeignId() {
return foreignId;
}
public void setForeignId(String foreignId) {
this.foreignId = foreignId;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getMaintcontract() {
return maintcontract;
}
public void setMaintcontract(String maintcontract) {
this.maintcontract = maintcontract;
}
public String getIpAddress() {
return ipAddress;
}
public void setIpAddress(String ipAddress) {
this.ipAddress = ipAddress;
}
public String getLocation() {
return location;
}
public void setLocation(String location) {
this.location = location;
}
public List getCategories() {
return categories;
}
public void setCategories(List categories) {
this.categories = categories;
}
}