public void valueFrom(DefaultJAXBAttribute jaxbAttribute) {
   super.valueFrom(jaxbAttribute);
   String value = (String) jaxbAttribute.getValue();
   if (null != value) {
     this.setBooleanValue(new Boolean(value));
   }
 }
 @Override
 public Object getAttributePrototype() {
   AbstractAttribute clone = null;
   try {
     Class attributeClass = Class.forName(this.getClass().getName());
     clone = (AbstractAttribute) attributeClass.newInstance();
     clone.setName(this.getName());
     clone.setDescription(this.getDescription());
     clone.setType(this.getType());
     clone.setSearcheable(this.isSearcheable());
     clone.setDefaultLangCode(this.getDefaultLangCode());
     clone.setIndexingType(this.getIndexingType());
     clone.setParentEntity(this.getParentEntity());
     AttributeHandlerInterface handler =
         (AttributeHandlerInterface) this.getHandler().getAttributeHandlerPrototype();
     clone.setHandler(handler);
     if (this.getDisablingCodes() != null) {
       String[] disablingCodes = new String[this.getDisablingCodes().length];
       for (int i = 0; i < this.getDisablingCodes().length; i++) {
         disablingCodes[i] = this.getDisablingCodes()[i];
       }
       clone.setDisablingCodes(disablingCodes);
     }
     if (this.getRoles() != null) {
       String[] roles = new String[this.getRoles().length];
       for (int i = 0; i < this.getRoles().length; i++) {
         roles[i] = this.getRoles()[i];
       }
       clone.setRoles(roles);
     }
     clone.setValidationRules(this.getValidationRules().clone());
     clone.setBeanFactory(this.getBeanFactory());
     clone.setAttributeManagerClassName(this.getAttributeManagerClassName());
   } catch (Throwable e) {
     String message =
         "Error detected while creating the attribute prototype '"
             + this.getName()
             + "' type '"
             + this.getType()
             + "'";
     ApsSystemUtils.logThrowable(e, this, "getAttributePrototype", message);
     ;
     throw new RuntimeException(message, e);
   }
   return clone;
 }