public class TypesOfCollections extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.designwizard.design.ClassNode |
LIST
ClassNode for represents the
List interface. |
static org.designwizard.design.ClassNode |
SET
ClassNode for represents the
Set interface. |
| Constructor and Description |
|---|
TypesOfCollections()
Extract all informations of the collections classes.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCollection(org.designwizard.design.ClassNode node)
Checks if the classNode represents a java collection.
|
boolean |
isCollection(String name)
Checks if the class name represents a java collection.
|
boolean |
isList(org.designwizard.design.ClassNode node)
Checks if the classNode represents a collection of the List type.
|
boolean |
isList(String name)
Checks if the class name represents a collection of the List type.
|
boolean |
isSet(org.designwizard.design.ClassNode node)
Checks if the classNode represents a collection of the Set type.
|
boolean |
isSet(String name)
Checks if the class name represents a collection of the Set type.
|
public static final org.designwizard.design.ClassNode SET
Set interface.public static final org.designwizard.design.ClassNode LIST
List interface.public TypesOfCollections()
public final boolean isCollection(org.designwizard.design.ClassNode node)
node - A classNode.public final boolean isCollection(String name)
name - A complete class name with your package.public final boolean isSet(org.designwizard.design.ClassNode node)
node - A classNode.public final boolean isSet(String name)
name - A complete class name with your package.public final boolean isList(org.designwizard.design.ClassNode node)
node - A classNode.public final boolean isList(String name)
name - A complete class name with your package.Copyright © 2016. All rights reserved.