예제 #1
0
 public TaxaUnit GetParent(TaxaUnit taxaUnit)
 {
     if (taxaUnit != null)
     {
         return(this.GetParent(taxaUnit.Identity));
     }
     return(null);
 }
예제 #2
0
 public IEnumerable <TaxaUnit> GetChildren(TaxaUnit parentUnit)
 {
     if (parentUnit != null)
     {
         return(this.GetChildren(parentUnit.Identity));
     }
     return(null);
 }
예제 #3
0
 public bool Delete(TaxaUnit taxaUnit)
 {
     if (taxaUnit != null)
     {
         return(this.Delete(taxaUnit.Identity));
     }
     return(false);
 }
예제 #4
0
 public bool Equals(TaxaUnit other)
 {
     if (other != null)
     {
         return(this.Identity.Equals(other.Identity));
     }
     return(false);
 }
		public bool Remove(TaxaUnit taxaUnit, TaxaCommonName taxaCommonName)
		{
			return this.Remove(taxaUnit.Identity, taxaCommonName.Identity);
		}
		public bool Add(TaxaUnit taxaUnit, TaxaCommonName taxaCommonName)
		{
			return this.Add(taxaUnit.Identity, taxaCommonName.Identity);
		}
		public abstract IEnumerable<TaxaCommonName> GetCommonNamesByTaxa(TaxaUnit taxa);
예제 #8
0
 public abstract bool CanUpdate(TaxaUnit taxaUnit);
예제 #9
0
 public abstract bool CanDelete(TaxaUnit taxaUnit);
예제 #10
0
 public abstract bool HasParent(TaxaUnit taxaUnit);
예제 #11
0
 public abstract bool HasChildren(TaxaUnit taxaUnit);