All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.dexcoder.dal.batis.wrapper.CollectionWrapper Maven / Gradle / Ivy

package com.dexcoder.dal.batis.wrapper;

import java.util.Collection;

import com.dexcoder.dal.batis.build.PropertyTokenizer;
import com.dexcoder.dal.batis.reflection.MetaObject;

/**
 * Created by liyd on 2015-12-1.
 */
public class CollectionWrapper implements ObjectWrapper {

//    private Collection object;

    public CollectionWrapper(MetaObject metaObject, Collection object) {
//        this.object = object;
    }

    public Object get(PropertyTokenizer prop) {
        throw new UnsupportedOperationException();
    }

    public void set(PropertyTokenizer prop, Object value) {
        throw new UnsupportedOperationException();
    }
    
//    public boolean hasGetter(String name) {
//        throw new UnsupportedOperationException();
//    }

    public MetaObject instantiatePropertyValue(String name, PropertyTokenizer prop) {
        throw new UnsupportedOperationException();
    }
//
//    public boolean isCollection() {
//        return true;
//    }

//    public void add(Object element) {
//        object.add(element);
//    }

//    public  void addAll(List element) {
//        object.addAll(element);
//    }

}