View Javadoc
1   /*
2    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
3    * The software in this package is published under the terms of the CPAL v1.0
4    * license, a copy of which has been included with this distribution in the
5    * LICENSE.txt file.
6    */
7   package org.mule.transformer.types;
8   
9   import java.util.Set;
10  
11  /**
12   * Defines a Set collection type with item type information
13   *
14   * @since 3.0
15   */
16  public class SetDataType<T> extends CollectionDataType<T>
17  {
18      public SetDataType()
19      {
20          super(Set.class);
21      }
22  
23      public SetDataType(Class type, String mimeType)
24      {
25          super(Set.class, type, mimeType);
26      }
27  
28      public SetDataType(Class type)
29      {
30          super(Set.class, type);
31      }
32  }