Project

General

Profile

Revision c33895ec

IDc33895ec9cbfb19138c6534e5370620c3b54c450
Parent 174f5cbf
Child 22fa3829

Added by Patrick Plitzner almost 6 years ago

  • added methods to handle identifiers

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/facade/DerivedUnitFacade.java
34 34
import eu.etaxonomy.cdm.model.common.DefinedTerm;
35 35
import eu.etaxonomy.cdm.model.common.IOriginalSource;
36 36
import eu.etaxonomy.cdm.model.common.IdentifiableSource;
37
import eu.etaxonomy.cdm.model.common.Identifier;
37 38
import eu.etaxonomy.cdm.model.common.Language;
38 39
import eu.etaxonomy.cdm.model.common.LanguageString;
39 40
import eu.etaxonomy.cdm.model.common.OriginalSourceType;
......
2202 2203
			}
2203 2204
		}
2204 2205
	}
2205
	
2206

  
2206 2207
	/**
2207 2208
	 * Returns the original label information of the derived unit.
2208 2209
	 * @return
......
2247 2248
		this.baseUnit().removeSource(source);
2248 2249
	}
2249 2250

  
2251
	//*** identifiers ***/
2252

  
2253

  
2254
    public void addIdentifier(Identifier identifier) {
2255
        this.baseUnit().addIdentifier(identifier);
2256
    }
2257

  
2258
	@Transient
2259
	public List<Identifier> getIdentifiers() {
2260
	    return baseUnit().getIdentifiers();
2261
	}
2262

  
2263
	public void removeIdentifier(Identifier identifier) {
2264
	    this.baseUnit().removeIdentifier(identifier);
2265
	}
2266

  
2250 2267
	@Transient
2251 2268
	public Set<Rights> getRights() {
2252 2269
		return baseUnit().getRights();

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)