Coverage Report - org.homeunix.thecave.buddi.plugin.api.model.impl.MutableSourceImpl
 
Classes in this File Line Coverage Branch Coverage Complexity
MutableSourceImpl
0%
0/14
N/A
1
 
 1  
 /*
 2  
  * Created on Aug 23, 2007 by wyatt
 3  
  */
 4  
 package org.homeunix.thecave.buddi.plugin.api.model.impl;
 5  
 
 6  
 import org.homeunix.thecave.buddi.model.Source;
 7  
 import org.homeunix.thecave.buddi.plugin.api.exception.InvalidValueException;
 8  
 import org.homeunix.thecave.buddi.plugin.api.model.MutableSource;
 9  
 
 10  
 public abstract class MutableSourceImpl extends MutableModelObjectImpl implements MutableSource {
 11  
 
 12  
         public MutableSourceImpl(Source source) {
 13  0
                 super(source);
 14  0
         }
 15  
 
 16  
         public void setDeleted(boolean deleted) throws InvalidValueException{
 17  0
                 getSource().setDeleted(deleted);
 18  
                 
 19  0
         }
 20  
 
 21  
         public void setName(String name) throws InvalidValueException{
 22  0
                 getSource().setName(name);
 23  0
         }
 24  
 
 25  
         public void setNotes(String notes) throws InvalidValueException{
 26  0
                 getSource().setNotes(notes);
 27  0
         }
 28  
 
 29  
         public Source getSource(){
 30  0
                 return (Source) getRaw(); 
 31  
         }
 32  
         public boolean isDeleted() {
 33  0
                 return getSource().isDeleted();
 34  
         }
 35  
         public String getName() {
 36  0
                 return getSource().getName();
 37  
         }
 38  
         public String getFullName() {
 39  0
                 return getSource().getFullName();
 40  
         }
 41  
         public String getNotes() {
 42  0
                 return getSource().getNotes();
 43  
         }
 44  
         @Override
 45  
         public String toString() {
 46  0
                 return getFullName();
 47  
         }
 48  
 }