de.uni_hamburg.traces.peppermodules.model.ea.GeTaEd 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.ea;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import de.uni_hamburg.traces.peppermodules.GeTaMapper;
import de.uni_hamburg.traces.peppermodules.model.tea.GeTaLT;
/**
* An object representation of an `Ed` JSON object from a GeTa *EA.json file.
*
* @author Stephan Druskat
*
*/
public class GeTaEd {
private List lt;
/**
* Constructor mapping to JSON.
*
* @param lt
*/
@JsonCreator
@JsonIgnoreProperties(ignoreUnknown = true)
public GeTaEd(@JsonProperty(GeTaMapper.LT) List lt) {
this.lt = lt;
}
/**
* @return the lt
*/
public final List getLt() {
return lt;
}
}