         public func getPropertyType() -> Any.Type {
             return type;
         }
-        
-        
+
         public func getBean() -> BeanDescriptor {
             return bean
         }

    public class AttributeDescriptor: PropertyDescriptor {
        // override
        
        override init(bean: BeanDescriptor, name: String, index: Int, overallIndex: Int, type: Any.Type, optional: Bool) {
            super.init(bean: bean, name: name, index: index, overallIndex: overallIndex, type: type, optional: optional);
        }
    }
    

        
        public func isAttribute() -> Bool {
            return true;
        }

        public func isArray() -> Bool {
            return elementType != nil // what about other container types: set, dictionary, etc.
        }

        public func getElementType() -> Any.Type {
            return elementType!
        }
        
        public func get(object: AnyObject!) -> Any? {
