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

com.ericsson.mts.nas.registry.InformationElements Maven / Gradle / Ivy

Go to download

A library to encode and decode NAS protocol data, from and to other formats, like XML

There is a newer version: 0.0.15
Show newest version
package com.ericsson.mts.nas.registry;

import com.ericsson.mts.nas.informationelement.AbstractInformationElement;

import java.util.List;

public class InformationElements {
    private List elements;

    public void addElement(AbstractInformationElement element) {
        elements.add(element);
    }

    public AbstractInformationElement getElement(String elementName) {
        for (AbstractInformationElement informationElement : elements) {
            if (elementName.equals(informationElement.name)) {
                return informationElement;
            }
        }
        return null;
    }

    public List getElements() {
        return elements;
    }

    public void setElements(List elements) {
        this.elements = elements;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy