Class InterceptorCommonLibrary.FieldUsage<T>
java.lang.Object
name.matthewgreet.strutscommons.util.InterceptorCommonLibrary.FieldUsage<T>
- Enclosing class:
InterceptorCommonLibrary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getArray()
Returns true if form field is an array.boolean
Returns true if form field is a collection.getField()
Returns form field's class for single value type, component type for arrays, or generic type for collections.getName()
void
setAnnountationEntries
(InterceptorCommonLibrary.AnnotationEntries<T> annountationEntries) void
setArray
(boolean array) void
setCollection
(boolean collection) void
void
setFieldType
(Class<T> fieldType) void
toString()
-
Constructor Details
-
FieldUsage
public FieldUsage()
-
-
Method Details
-
getAnnountationEntries
-
setAnnountationEntries
public void setAnnountationEntries(InterceptorCommonLibrary.AnnotationEntries<T> annountationEntries) -
getField
-
setField
-
getName
-
setName
-
getFieldType
Returns form field's class for single value type, component type for arrays, or generic type for collections. -
setFieldType
-
getCollection
public boolean getCollection()Returns true if form field is a collection. -
setCollection
public void setCollection(boolean collection) -
getArray
public boolean getArray()Returns true if form field is an array. -
setArray
public void setArray(boolean array) -
toString
-