// Path: src/main/java/model/Knight.java
// public interface Knight {
//     String getName();
// 
//     void setWeapon(KnightWeapon knightWeapon);
// 
//     KnightWeapon getWeapon();
// 
//     Knight cloneKnight() throws CloneNotSupportedException;
// 
//     Integer getDamage();
// 
//     void readQuest(String questDetails);
// 
//     Double getArmor();
// 
//     void reduceArmor(Double reduceValue);
// 
// }
// 
// Path: src/main/java/model/KnightWeapon.java
// public enum KnightWeapon {
//     SWORD(10), DOUBLE_SWORD(19), FAITH(1);
//     
//     /**
//      * Damage this weapon can do
//      */
//     private Integer damage;
// 
//     private KnightWeapon(Integer damage) {
// 	this.damage = damage;
//     }
// 
//     public Integer getDamage() {
// 	return damage;
//     }
// }


import model.Knight;
import model.KnightWeapon;
package behavioral.nullobject;


/**
 * 
 * @author prvoslav
 * 
 *         NullObject pattern demonstration. THis is how to create a knight good
 *         for nothing :), a knight that does not do anything. This is
 *         especially use full when we do not want to have null attributes, we
 *         can just pass a nullObject.
 *
 */
public class NullObjectKnight implements Knight {

    public String getName() {
	return "";
    }

// Path: src/main/java/model/Knight.java
// public interface Knight {
//     String getName();
// 
//     void setWeapon(KnightWeapon knightWeapon);
// 
//     KnightWeapon getWeapon();
// 
//     Knight cloneKnight() throws CloneNotSupportedException;
// 
//     Integer getDamage();
// 
//     void readQuest(String questDetails);
// 
//     Double getArmor();
// 
//     void reduceArmor(Double reduceValue);
// 
// }
// 
// Path: src/main/java/model/KnightWeapon.java
// public enum KnightWeapon {
//     SWORD(10), DOUBLE_SWORD(19), FAITH(1);
//     
//     /**
//      * Damage this weapon can do
//      */
//     private Integer damage;
// 
//     private KnightWeapon(Integer damage) {
// 	this.damage = damage;
//     }
// 
//     public Integer getDamage() {
// 	return damage;
//     }
// }


// Path: src/main/java/behavioral/nullobject/NullObjectKnight.java
import model.Knight;
import model.KnightWeapon;

package behavioral.nullobject;


/**
 * 
 * @author prvoslav
 * 
 *         NullObject pattern demonstration. THis is how to create a knight good
 *         for nothing :), a knight that does not do anything. This is
 *         especially use full when we do not want to have null attributes, we
 *         can just pass a nullObject.
 *
 */
public class NullObjectKnight implements Knight {

    public String getName() {
	return "";
    }

    public void setWeapon(KnightWeapon knightWeapon) {