de.uni_hamburg.traces.peppermodules.model.tea.GeTaM Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pepperModules-GeTaModules Show documentation
Show all versions of pepperModules-GeTaModules Show documentation
Pepper modules for converting the TraCES custom JSON format.
The newest version!
/**
* Copyright 2016ff. Stephan Druskat
* All exploitation rights belong exclusively to Universität Hamburg.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* 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.
*
* Contributors:
* Stephan Druskat - initial API and implementation
*/
package de.uni_hamburg.traces.peppermodules.model.tea;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import de.uni_hamburg.traces.peppermodules.GeTaMapper;
/**
* A bean representing an **M** section in GeTa data.
*
* @author Stephan Druskat
*
*/
public class GeTaM {
private Boolean ne;
private List lt;
/**
* Constructor creating a JSON representation.
*
* @param ne
* @param lt
*/
@JsonCreator
public GeTaM(@JsonProperty(GeTaMapper.ne) Boolean ne,
@JsonProperty(GeTaMapper.LT) List lt) {
this.ne = ne;
this.lt = lt;
}
/**
* @return the ne
*/
public final Boolean getNe() {
return ne;
}
/**
* @return the lt
*/
public final List getLt() {
return lt;
}
}