com.alipay.hessian.generic.model
Class GenericCollection

java.lang.Object
  extended by com.alipay.hessian.generic.model.GenericCollection
All Implemented Interfaces:
Serializable

public class GenericCollection
extends Object
implements Serializable

Collection的包装类 由于Hessian对Collection接口的特殊处理, 用户自定义的Collection都需要此类包装

Since:
5.3.0
See Also:
Serialized Form

Constructor Summary
GenericCollection(String type)
           
 
Method Summary
 Collection getCollection()
           
 String getType()
           
 void setCollection(Collection collection)
           
 void setType(String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericCollection

public GenericCollection(String type)
Method Detail

getType

public String getType()

setType

public void setType(String type)

getCollection

public Collection getCollection()

setCollection

public void setCollection(Collection collection)


Copyright © 2008–2018 Ant Financial. All rights reserved.