3 * Copyright (C) 2009 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
10 package eu
.etaxonomy
.cdm
.remote
.json
.processor
.bean
;
12 import java
.util
.List
;
14 import net
.sf
.json
.JSONObject
;
15 import net
.sf
.json
.JsonConfig
;
16 import eu
.etaxonomy
.cdm
.model
.taxon
.TaxonRelationship
;
19 * @author a.kohlbecker
23 public class TaxonRelationshipBeanProcessor
extends AbstractCdmBeanProcessor
<TaxonRelationship
> {
26 * @see eu.etaxonomy.cdm.remote.json.processor.AbstractCdmBeanProcessor#getIgnorePropNames()
29 public List
<String
> getIgnorePropNames() {
34 * @see eu.etaxonomy.cdm.remote.json.processor.AbstractCdmBeanProcessor#processBeanSecondStep(eu.etaxonomy.cdm.model.common.CdmBase, net.sf.json.JSONObject, net.sf.json.JsonConfig)
37 public JSONObject
processBeanSecondStep(TaxonRelationship bean
, JSONObject json
, JsonConfig jsonConfig
) {
39 json
.element("fromTaxon", bean
.getFromTaxon(), jsonConfig
);