diff --git a/apidocs/allclasses-frame.html b/apidocs/allclasses-frame.html old mode 100644 new mode 100755 index ab112f96b..a8652bc7a --- a/apidocs/allclasses-frame.html +++ b/apidocs/allclasses-frame.html @@ -1,81 +1,84 @@ - - - -
- - -Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-public static final int |
-MAX_DEPTH |
-1 |
-
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-private static final long |
-serialVersionUID |
-1L |
-
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-private static final long |
-serialVersionUID |
-1L |
-
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-private static final long |
-serialVersionUID |
-1L |
-
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-private static final long |
-serialVersionUID |
-1L |
-
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-private static final long |
-serialVersionUID |
-1L |
-
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-private static final String |
-MAP_CREATION_EXCEPTION_STR |
-"An exception occurred while creating a Map object" |
-
-
-private static final String |
-RESOLVING_COLLECTION_EXCEPTION_STR |
-"An exception occurred while resolving the collection" |
-
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-private static final String |
-GETTER_PREFIX |
-"get" |
-
-
-private static final String |
-GETTER_PREFIX2 |
-"is" |
-
-
-private static final int |
-SETTER_IDENTIFIER_LENGTH |
-3 |
-
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-public static final int |
-DEFAULT_NBR_COLLECTION_ELEMENTS |
-5 |
-
-
-public static final String |
-SPRING_ROOT_CONFIG_LOCATION |
-"META-INF/spring/podam-config.xml" |
-
-
-public static final String |
-STR_DEFAULT_ENCODING |
-"UTF-8" |
-
-
-public static final int |
-STR_DEFAULT_LENGTH |
-10 |
-
-
-public static final String |
-THE_ANNOTATION_VALUE_STR |
-"The annotation value: " |
-
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-private static final long |
-serialVersionUID |
-1L |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+private static final long |
+serialVersionUID |
+1L |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+private static final long |
+serialVersionUID |
+1L |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+private static final long |
+serialVersionUID |
+1L |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+private static final long |
+serialVersionUID |
+1L |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+private static final long |
+serialVersionUID |
+1L |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+private static final String |
+MAP_CREATION_EXCEPTION_STR |
+"An exception occurred while creating a Map object" |
+
+
+private static final String |
+RESOLVING_COLLECTION_EXCEPTION_STR |
+"An exception occurred while resolving the collection" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final int |
+DEFAULT_NBR_COLLECTION_ELEMENTS |
+5 |
+
+
+public static final String |
+SPRING_ROOT_CONFIG_LOCATION |
+"META-INF/spring/podam-config.xml" |
+
+
+public static final String |
+STR_DEFAULT_ENCODING |
+"UTF-8" |
+
+
+public static final int |
+STR_DEFAULT_LENGTH |
+10 |
+
+
+public static final String |
+THE_ANNOTATION_VALUE_STR |
+"The annotation value: " |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+private static final long |
+serialVersionUID |
+1L |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/deprecated-list.html b/apidocs/deprecated-list.html old mode 100644 new mode 100755 index c26b0cc6f..a5f0c09a8 --- a/apidocs/deprecated-list.html +++ b/apidocs/deprecated-list.html @@ -1,127 +1,127 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/help-doc.html b/apidocs/help-doc.html old mode 100644 new mode 100755 index f75e9f882..697c5372f --- a/apidocs/help-doc.html +++ b/apidocs/help-doc.html @@ -1,232 +1,232 @@ - - - - - - -The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.
-Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
-Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
-Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
-Each annotation type has its own separate page with the following sections:
-Each enum has its own separate page with the following sections:
-Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
-There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object
. The interfaces do not inherit from java.lang.Object
.
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
-The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
-These links take you to the next or previous class, interface, package, or related page.
-These links show and hide the HTML frames. All pages are available with or without frames.
-The All Classes link shows all classes and interfaces except non-static nested types.
-Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
-The Constant Field Values page lists the static final fields and their values.
-Copyright © 2016. All rights reserved.
- - + + + + + + +The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.
+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+Each annotation type has its own separate page with the following sections:
+Each enum has its own separate page with the following sections:
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object
. The interfaces do not inherit from java.lang.Object
.
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+These links take you to the next or previous class, interface, package, or related page.
+These links show and hide the HTML frames. All pages are available with or without frames.
+The All Classes link shows all classes and interfaces except non-static nested types.
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+The Constant Field Values page lists the static final fields and their values.
+Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/index-all.html b/apidocs/index-all.html old mode 100644 new mode 100755 index f78340024..53f699f74 --- a/apidocs/index-all.html +++ b/apidocs/index-all.html @@ -1,1848 +1,1951 @@ - - - - - - -ClassInfoStrategy
DataProviderStrategy
Annotation
to set of excluded annotations,
- if it is not already present.AbstractClassInfoStrategy
Method
, it extracts the field name, according to
- JavaBean standardsMethod
, it extracts the field name, according to
- JavaBean standardsAttributeStrategy
if one was specified in
- annotations, or null
otherwise.ClassInfo
object for the given classClassInfo
object for the given classAnnotation
s for fields to be skipped.Annotation
s for fields to be skipped.Field
matching the attribute name or null if a field
- was not found.Field
matching the attribute
- name or null if a field was not found.length
characters.Calendar
objects complying with Java bean validation
- annotations.PodamConstructor
PodamCollection.collectionElementStrategy()
.DataProviderStrategy
Annotation
from set of excluded annotations.PodamStrategyValue
annotation with
- which the attribute was annotatedCopyright © 2016. All rights reserved.
- - + + + + + + +ClassInfoStrategy
DataProviderStrategy
Annotation
to set of excluded annotations,
+ if it is not already present.AbstractClassInfoStrategy
AttributeStrategy
if one was specified in
+ annotations, or null
otherwise.ClassInfo
object for the given classAnnotation
s for fields to be skipped.Annotation
s for fields to be skipped.Field
matching the attribute name or null if a field
+ was not found.Field
matching the attribute
+ name or null if a field was not found.Field
matching the attribute
+ name or null if a field was not found.length
characters.Calendar
objects complying with Java bean validation
+ annotations.PodamConstructor
PodamCollection.collectionElementStrategy()
.DataProviderStrategy
Annotation
from set of excluded annotations.PodamStrategyValue
annotation with
+ which the attribute was annotatedCopyright © 2023. All rights reserved.
+ + diff --git a/apidocs/index.html b/apidocs/index.html old mode 100644 new mode 100755 index 152fdbe7b..15baa2327 --- a/apidocs/index.html +++ b/apidocs/index.html @@ -1,75 +1,76 @@ - - - - - - -This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to Non-frame version.
+- - + + + + + + +
+ + diff --git a/apidocs/overview-summary.html b/apidocs/overview-summary.html old mode 100644 new mode 100755 index 3adca7355..078241fc4 --- a/apidocs/overview-summary.html +++ b/apidocs/overview-summary.html @@ -1,161 +1,161 @@ - - - - - - -
Package | -Description | -
---|---|
uk.co.jemos.podam.api | -
- This package contains PODAM main APIs
- |
-
uk.co.jemos.podam.common | -
- This package contains PODAM common APIs
- |
-
uk.co.jemos.podam.exceptions | -
- This package contains PODAM exceptions.
- |
-
uk.co.jemos.podam.typeManufacturers | -
- Contains Type Manufacturers.
- |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Package | +Description | +
---|---|
uk.co.jemos.podam.api | +
+ This package contains PODAM main APIs
+ |
+
uk.co.jemos.podam.common | +
+ This package contains PODAM common APIs
+ |
+
uk.co.jemos.podam.exceptions | +
+ This package contains PODAM exceptions.
+ |
+
uk.co.jemos.podam.typeManufacturers | +
+ Contains Type Manufacturers.
+ |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/overview-tree.html b/apidocs/overview-tree.html old mode 100644 new mode 100755 index 97fa774a4..b14b70733 --- a/apidocs/overview-tree.html +++ b/apidocs/overview-tree.html @@ -1,257 +1,260 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/package-list b/apidocs/package-list old mode 100644 new mode 100755 index 585a8527a..3b1ec7f9e --- a/apidocs/package-list +++ b/apidocs/package-list @@ -1,4 +1,4 @@ -uk.co.jemos.podam.api -uk.co.jemos.podam.common -uk.co.jemos.podam.exceptions -uk.co.jemos.podam.typeManufacturers +uk.co.jemos.podam.api +uk.co.jemos.podam.common +uk.co.jemos.podam.exceptions +uk.co.jemos.podam.typeManufacturers diff --git a/apidocs/resources/background.gif b/apidocs/resources/background.gif deleted file mode 100644 index f471940fd..000000000 Binary files a/apidocs/resources/background.gif and /dev/null differ diff --git a/apidocs/resources/tab.gif b/apidocs/resources/tab.gif deleted file mode 100644 index 1a73a83be..000000000 Binary files a/apidocs/resources/tab.gif and /dev/null differ diff --git a/apidocs/resources/titlebar.gif b/apidocs/resources/titlebar.gif deleted file mode 100644 index 17443b3e1..000000000 Binary files a/apidocs/resources/titlebar.gif and /dev/null differ diff --git a/apidocs/resources/titlebar_end.gif b/apidocs/resources/titlebar_end.gif deleted file mode 100644 index 3ad78d461..000000000 Binary files a/apidocs/resources/titlebar_end.gif and /dev/null differ diff --git a/apidocs/script.js b/apidocs/script.js old mode 100644 new mode 100755 index b34635693..c3a1cae44 --- a/apidocs/script.js +++ b/apidocs/script.js @@ -1,30 +1,30 @@ -function show(type) -{ - count = 0; - for (var key in methods) { - var row = document.getElementById(key); - if ((methods[key] & type) != 0) { - row.style.display = ''; - row.className = (count++ % 2) ? rowColor : altColor; - } - else - row.style.display = 'none'; - } - updateTabs(type); -} - -function updateTabs(type) -{ - for (var value in tabs) { - var sNode = document.getElementById(tabs[value][0]); - var spanNode = sNode.firstChild; - if (value == type) { - sNode.className = activeTableTab; - spanNode.innerHTML = tabs[value][1]; - } - else { - sNode.className = tableTab; - spanNode.innerHTML = "" + tabs[value][1] + ""; - } - } -} +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/apidocs/serialized-form.html b/apidocs/serialized-form.html old mode 100644 new mode 100755 index 6cf8d32ad..439d380d4 --- a/apidocs/serialized-form.html +++ b/apidocs/serialized-form.html @@ -1,325 +1,325 @@ - - - - - - -String attributeName-
Class<T> attributeType-
Type attributeGenericType-
Type[] attrGenericArgs-
List<E> attributeAnnotations-
Class<T> pojoClass-
Class<T> keyClass-
Class<T> elementClass-
Type[] keyGenericTypeArgs-
Type[] elementGenericTypeArgs-
Class<T> keyOrValueType-
AttributeStrategy<T> elementStrategy-
Type[] genericTypeArgs-
Copyright © 2016. All rights reserved.
- - + + + + + + +String attributeName+
Class<T> attributeType+
Type attributeGenericType+
Type[] attrGenericArgs+
List<E> attributeAnnotations+
Class<T> pojoClass+
Object pojoInstance+
Class<T> elementClass+
Type[] keyGenericTypeArgs+
Type[] elementGenericTypeArgs+
AttributeStrategy<T> elementStrategy+
Type[] genericTypeArgs+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/stylesheet.css b/apidocs/stylesheet.css old mode 100644 new mode 100755 index 98055b22d..b8dad0891 --- a/apidocs/stylesheet.css +++ b/apidocs/stylesheet.css @@ -1,574 +1,574 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ - -@import url('resources/fonts/dejavu.css'); - -body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4A6782; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4A6782; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; -} -h1 { - font-size:20px; -} -h2 { - font-size:18px; -} -h3 { - font-size:16px; - font-style:italic; -} -h4 { - font-size:13px; -} -h5 { - font-size:12px; -} -h6 { - font-size:11px; -} -ul { - list-style-type:disc; -} -code, tt { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; -} -dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; -} -table tr td dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; -} -sup { - font-size:8px; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:11px; - z-index:200; - margin-top:-9px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-color:#4D7A97; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:11px; - margin:0; -} -.topNav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.bottomNav { - margin-top:10px; - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.subNav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; -} -ul.subNavList li{ - list-style:none; - float:left; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; -} -.navBarCell1Rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; -} -.skipNav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader span{ - margin-right:15px; -} -.indexHeader h1 { - font-size:13px; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 15px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:13px; -} -/* -Heading styles -*/ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:12px; -} -.indexContainer h2 { - font-size:13px; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; - padding-top:2px; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:5px 0 10px 0px; - font-size:14px; - font-family:'DejaVu Sans Mono',monospace; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* -List styles -*/ -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:15px; - line-height:1.4; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #ededed; - background-color:#f8f8f8; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* -Table styles -*/ -.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { - width:100%; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; -} -.overviewSummary, .memberSummary { - padding:0px; -} -.overviewSummary caption, .memberSummary caption, .typeSummary caption, -.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - padding-top:10px; - padding-left:1px; - margin:0px; - white-space:pre; -} -.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, -.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, -.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, -.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, -.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, -.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, -.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, -.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, -.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; -} -.memberSummary caption span.activeTableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#F8981D; - height:16px; -} -.memberSummary caption span.tableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#4D7A97; - height:16px; -} -.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { - padding-top:0px; - padding-left:0px; - padding-right:0px; - background-image:none; - float:none; - display:inline; -} -.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, -.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { - display:none; - width:5px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .activeTableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .tableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - background-color:#4D7A97; - float:left; - -} -.overviewSummary td, .memberSummary td, .typeSummary td, -.useSummary td, .constantsSummary td, .deprecatedSummary td { - text-align:left; - padding:0px 0px 12px 10px; -} -th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, -td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ - vertical-align:top; - padding-right:0px; - padding-top:8px; - padding-bottom:3px; -} -th.colFirst, th.colLast, th.colOne, .constantsSummary th { - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} -td.colFirst, th.colFirst { - white-space:nowrap; - font-size:13px; -} -td.colLast, th.colLast { - font-size:13px; -} -td.colOne, th.colOne { - font-size:13px; -} -.overviewSummary td.colFirst, .overviewSummary th.colFirst, -.useSummary td.colFirst, .useSummary th.colFirst, -.overviewSummary td.colOne, .overviewSummary th.colOne, -.memberSummary td.colFirst, .memberSummary th.colFirst, -.memberSummary td.colOne, .memberSummary th.colOne, -.typeSummary td.colFirst{ - width:25%; - vertical-align:top; -} -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { - font-weight:bold; -} -.tableSubHeadingColor { - background-color:#EEEEFF; -} -.altColor { - background-color:#FFFFFF; -} -.rowColor { - background-color:#EEEEEF; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} - -ul.blockList ul.blockList ul.blockList li.blockList h3 { - font-style:normal; -} - -div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} - -td.colLast div { - padding-top:0px; -} - - -td.colLast a { - padding-bottom:3px; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; -} -.block { - display:block; - margin:3px 10px 2px 0px; - color:#474747; -} -.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, -.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, -.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { - font-weight:bold; -} -.deprecationComment, .emphasizedPhrase, .interfaceName { - font-style:italic; -} - -div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, -div.block div.block span.interfaceName { - font-style:normal; -} - -div.contentContainer ul.blockList li.blockList h2{ - padding-bottom:0px; -} +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/apidocs/uk/co/jemos/podam/api/AbstractClassInfoStrategy.html b/apidocs/uk/co/jemos/podam/api/AbstractClassInfoStrategy.html old mode 100644 new mode 100755 index 1c867f97b..04f68a210 --- a/apidocs/uk/co/jemos/podam/api/AbstractClassInfoStrategy.html +++ b/apidocs/uk/co/jemos/podam/api/AbstractClassInfoStrategy.html @@ -1,630 +1,864 @@ - - - - - - -public abstract class AbstractClassInfoStrategy -extends Object -implements ClassInfoStrategy, ClassAttributeApprover-
ClassInfoStrategy
- - This default implementation is based on field introspection. -
Modifier and Type | -Field and Description | -
---|---|
private Set<Class<? extends Annotation>> |
-excludedAnnotations
-Set of annotations, which mark fields to be skipped from populating.
- |
-
private Map<Class<?>,Set<String>> |
-excludedFields
-Set of fields, which mark fields to be skipped from populating.
- |
-
private Map<Class<?>,List<Method>> |
-extraMethods
-Set of extra methods to execute.
- |
-
Constructor and Description | -
---|
AbstractClassInfoStrategy() |
-
Modifier and Type | -Method and Description | -
---|---|
AbstractClassInfoStrategy |
-addExcludedAnnotation(Class<? extends Annotation> annotation)
-Adds the specified
-Annotation to set of excluded annotations,
- if it is not already present. |
-
AbstractClassInfoStrategy |
-addExcludedField(Class<?> pojoClass,
- String fieldName)
-Adds the specified field to set of excluded fields,
- if it is not already present.
- |
-
AbstractClassInfoStrategy |
-addExtraMethod(Class<?> pojoClass,
- String methodName,
- Class<?>... methodArgs)
-It adds an extra method to execute
- |
-
boolean |
-approve(ClassAttribute attribute)
-Override this method to select or reject class attributes
- |
-
ClassAttributeApprover |
-getClassAttributeApprover(Class<?> pojoClass) |
-
ClassInfo |
-getClassInfo(Class<?> pojoClass) |
-
Set<Class<? extends Annotation>> |
-getExcludedAnnotations()
-Identifies
-Annotation s for fields to be skipped. |
-
Set<String> |
-getExcludedFields(Class<?> pojoClass)
-Identifies fields to be skipped.
- |
-
Collection<Method> |
-getExtraMethods(Class<?> pojoClass)
-It returns the collection of extra methods to execute.
- |
-
AbstractClassInfoStrategy |
-removeExcludedAnnotation(Class<? extends Annotation> annotation)
-Removes the specified
-Annotation from set of excluded annotations. |
-
AbstractClassInfoStrategy |
-removeExcludedField(Class<?> pojoClass,
- String fieldName)
-Removes the field name from set of excluded fields.
- |
-
private final Set<Class<? extends Annotation>> excludedAnnotations-
private Map<Class<?>,Set<String>> excludedFields-
public AbstractClassInfoStrategy()-
public AbstractClassInfoStrategy addExcludedAnnotation(Class<? extends Annotation> annotation)-
Annotation
to set of excluded annotations,
- if it is not already present.annotation
- the annotation to use as an exclusion markpublic AbstractClassInfoStrategy addExtraMethod(Class<?> pojoClass, - String methodName, - Class<?>... methodArgs) - throws NoSuchMethodException, - SecurityException-
pojoClass
- The pojo class where to execute the methodmethodName
- name to be scheduled for executionmethodArgs
- list of method argumentsSecurityException
- If a security exception occurred while retrieving the methodNoSuchMethodException
- If pojoClass doesn't declare the required methodpublic AbstractClassInfoStrategy removeExcludedAnnotation(Class<? extends Annotation> annotation)-
Annotation
from set of excluded annotations.annotation
- the annotation used as an exclusion markpublic AbstractClassInfoStrategy addExcludedField(Class<?> pojoClass, - String fieldName)-
pojoClass
- a class for which fields should be skippedfieldName
- the field name to use as an exclusion markpublic AbstractClassInfoStrategy removeExcludedField(Class<?> pojoClass, - String fieldName)-
pojoClass
- a class for which fields should be skippedfieldName
- the field name used as an exlusion markpublic boolean approve(ClassAttribute attribute)-
approve
in interface ClassAttributeApprover
attribute
- class attribute to analyze for further processing or skippingpublic Set<Class<? extends Annotation>> getExcludedAnnotations()-
Annotation
s for fields to be skipped.
-
- Should return set of annotations, which will be treated as notion for
- PodamFactory
to skip production of these particular fields.
-
getExcludedAnnotations
in interface ClassInfoStrategy
public Set<String> getExcludedFields(Class<?> pojoClass)-
- Should return set of field names as case-sensitive string, which will
- be treated as notion for PodamFactory
to skip production of
- these particular fields.
-
getExcludedFields
in interface ClassInfoStrategy
pojoClass
- a class for which fields should be skippedpublic ClassInfo getClassInfo(Class<?> pojoClass)-
getClassInfo
in interface ClassInfoStrategy
pojoClass
- a class to introspect and fetch attributesClassInfo
public ClassAttributeApprover getClassAttributeApprover(Class<?> pojoClass)-
getClassAttributeApprover
in interface ClassInfoStrategy
public Collection<Method> getExtraMethods(Class<?> pojoClass)-
ClassInfoStrategy
getExtraMethods
in interface ClassInfoStrategy
pojoClass
- The pojo classCopyright © 2016. All rights reserved.
- - + + + + + + +public abstract class AbstractClassInfoStrategy +extends Object +implements ClassInfoStrategy, ClassAttributeApprover+
ClassInfoStrategy
+ + This default implementation is based on field introspection. +
Modifier and Type | +Field and Description | +
---|---|
private Set<Class<? extends Annotation>> |
+excludedAnnotations
+Set of annotations, which mark fields to be skipped from populating.
+ |
+
private Map<Class<?>,Set<String>> |
+excludedFields
+Set of fields, which mark fields to be skipped from populating.
+ |
+
private Map<Class<?>,List<Method>> |
+extraMethods
+Set of extra methods to execute.
+ |
+
private Pattern |
+GETTER_PATTERN |
+
private static org.slf4j.Logger |
+LOG
+The application logger.
+ |
+
private Pattern |
+SETTER_PATTERN |
+
Constructor and Description | +
---|
AbstractClassInfoStrategy() |
+
Modifier and Type | +Method and Description | +
---|---|
AbstractClassInfoStrategy |
+addExcludedAnnotation(Class<? extends Annotation> annotation)
+Adds the specified
+Annotation to set of excluded annotations,
+ if it is not already present. |
+
AbstractClassInfoStrategy |
+addExcludedField(Class<?> pojoClass,
+ String fieldName)
+Adds the specified field to set of excluded fields,
+ if it is not already present.
+ |
+
AbstractClassInfoStrategy |
+addExtraMethod(Class<?> pojoClass,
+ String methodName,
+ Class<?>... methodArgs)
+It adds an extra method to execute
+ |
+
boolean |
+approve(ClassAttribute attribute)
+Override this method to select or reject class attributes
+ |
+
private boolean |
+containsAnyAnnotation(Field field,
+ Set<Class<? extends Annotation>> annotations)
+Checks if the given field has any one of the annotations
+ |
+
private boolean |
+containsAnyAnnotation(Method method,
+ Set<Class<? extends Annotation>> annotations)
+Checks if the given method has any one of the annotations
+ |
+
protected String |
+extractFieldNameFromMethod(String methodName,
+ Pattern pattern)
+Given a accessor's name, it extracts the field name, according to
+ JavaBean standards
+ |
+
protected void |
+findPojoAttributes(Class<?> clazz,
+ Map<String,ClassAttribute> attributeMap,
+ Set<Class<? extends Annotation>> excludeAnnotations,
+ Set<String> excludedFields)
+Given a class and a set of class declared fields it returns a map of
+ setters, getters and fields defined for this class
+ |
+
ClassAttributeApprover |
+getClassAttributeApprover(Class<?> pojoClass) |
+
ClassInfo |
+getClassInfo(Class<?> pojoClass) |
+
ClassInfo |
+getClassInfo(Class<?> clazz,
+ Set<Class<? extends Annotation>> excludeFieldAnnotations,
+ Set<String> excludedFields,
+ ClassAttributeApprover attributeApprover,
+ Collection<Method> extraMethods)
+It returns a
+ClassInfo object for the given class |
+
Set<Class<? extends Annotation>> |
+getExcludedAnnotations()
+Identifies
+Annotation s for fields to be skipped. |
+
Set<String> |
+getExcludedFields(Class<?> pojoClass)
+Identifies fields to be skipped.
+ |
+
Collection<Method> |
+getExtraMethods(Class<?> pojoClass)
+It returns the collection of extra methods to execute.
+ |
+
protected Pattern |
+getGetterPattern()
+Defines a regular expression for a getter's name
+ |
+
protected Pattern |
+getSetterPattern()
+Defines a regular expression for a setters name
+ |
+
AbstractClassInfoStrategy |
+removeExcludedAnnotation(Class<? extends Annotation> annotation)
+Removes the specified
+Annotation from set of excluded annotations. |
+
AbstractClassInfoStrategy |
+removeExcludedField(Class<?> pojoClass,
+ String fieldName)
+Removes the field name from set of excluded fields.
+ |
+
private final Pattern GETTER_PATTERN+
private final Pattern SETTER_PATTERN+
private static final org.slf4j.Logger LOG+
private final Set<Class<? extends Annotation>> excludedAnnotations+
private Map<Class<?>,Set<String>> excludedFields+
public AbstractClassInfoStrategy()+
public AbstractClassInfoStrategy addExcludedAnnotation(Class<? extends Annotation> annotation)+
Annotation
to set of excluded annotations,
+ if it is not already present.annotation
- the annotation to use as an exclusion markpublic AbstractClassInfoStrategy addExtraMethod(Class<?> pojoClass, + String methodName, + Class<?>... methodArgs) + throws NoSuchMethodException, + SecurityException+
pojoClass
- The pojo class where to execute the methodmethodName
- name to be scheduled for executionmethodArgs
- list of method argumentsSecurityException
- If a security exception occurred while retrieving the methodNoSuchMethodException
- If pojoClass doesn't declare the required methodpublic AbstractClassInfoStrategy removeExcludedAnnotation(Class<? extends Annotation> annotation)+
Annotation
from set of excluded annotations.annotation
- the annotation used as an exclusion markpublic AbstractClassInfoStrategy addExcludedField(Class<?> pojoClass, + String fieldName)+
pojoClass
- a class for which fields should be skippedfieldName
- the field name to use as an exclusion markpublic AbstractClassInfoStrategy removeExcludedField(Class<?> pojoClass, + String fieldName)+
pojoClass
- a class for which fields should be skippedfieldName
- the field name used as an exlusion markpublic boolean approve(ClassAttribute attribute)+
approve
in interface ClassAttributeApprover
attribute
- class attribute to analyze for further processing or skippingpublic Set<Class<? extends Annotation>> getExcludedAnnotations()+
Annotation
s for fields to be skipped.
+
+ Should return set of annotations, which will be treated as notion for
+ PodamFactory
to skip production of these particular fields.
+
getExcludedAnnotations
in interface ClassInfoStrategy
public Set<String> getExcludedFields(Class<?> pojoClass)+
+ Should return set of field names as case-sensitive string, which will
+ be treated as notion for PodamFactory
to skip production of
+ these particular fields.
+
getExcludedFields
in interface ClassInfoStrategy
pojoClass
- a class for which fields should be skippedpublic ClassInfo getClassInfo(Class<?> pojoClass)+
getClassInfo
in interface ClassInfoStrategy
pojoClass
- a class to introspect and fetch attributesClassInfo
public ClassAttributeApprover getClassAttributeApprover(Class<?> pojoClass)+
getClassAttributeApprover
in interface ClassInfoStrategy
public Collection<Method> getExtraMethods(Class<?> pojoClass)+
ClassInfoStrategy
getExtraMethods
in interface ClassInfoStrategy
pojoClass
- The pojo classpublic ClassInfo getClassInfo(Class<?> clazz, + Set<Class<? extends Annotation>> excludeFieldAnnotations, + Set<String> excludedFields, + ClassAttributeApprover attributeApprover, + Collection<Method> extraMethods)+
ClassInfo
object for the given classclazz
- The class to retrieve info fromexcludeFieldAnnotations
- the fields marked with any of these annotations will not be
+ included in the class infoexcludedFields
- the fields matching the given names will not be included in the class infoattributeApprover
- a ClassAttributeApprover
implementation,
+ which defines which attributes to skip and which to processextraMethods
- extra methods to call after object initializationClassInfo
object for the given classprivate boolean containsAnyAnnotation(Method method, + Set<Class<? extends Annotation>> annotations)+
method
- the method to check forannotations
- the set of annotations to look for in the fieldprivate boolean containsAnyAnnotation(Field field, + Set<Class<? extends Annotation>> annotations)+
field
- the field to check forannotations
- the set of annotations to look for in the fieldprotected void findPojoAttributes(Class<?> clazz, + Map<String,ClassAttribute> attributeMap, + Set<Class<? extends Annotation>> excludeAnnotations, + Set<String> excludedFields)+
protected String extractFieldNameFromMethod(String methodName, + Pattern pattern)+
+ This method, given a accessor method's name, it returns the corresponding + attribute name. For example: given setIntField the method would return + intField. given getIntField the method would return intField; given + isBoolField the method would return boolField.The correctness of the + return value depends on the adherence to + JavaBean standards. +
methodName
- The accessor method from which the field name is requiredpattern
- The pattern to strip from the method nameprotected Pattern getGetterPattern()+
protected Pattern getSetterPattern()+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/AbstractExternalFactory.html b/apidocs/uk/co/jemos/podam/api/AbstractExternalFactory.html old mode 100644 new mode 100755 index 390b171d3..173d13266 --- a/apidocs/uk/co/jemos/podam/api/AbstractExternalFactory.html +++ b/apidocs/uk/co/jemos/podam/api/AbstractExternalFactory.html @@ -1,469 +1,469 @@ - - - - - - -public abstract class AbstractExternalFactory -extends Object -implements PodamFactory-
Constructor and Description | -
---|
AbstractExternalFactory() |
-
Modifier and Type | -Method and Description | -
---|---|
ClassInfoStrategy |
-getClassStrategy()
-It returns the class info strategy for this factory.
- |
-
PodamFactory |
-getExternalFactory()
-It returns the external factory assigned to this factory.
- |
-
DataProviderStrategy |
-getStrategy()
-It returns the strategy for this factory.
- |
-
<T> T |
-manufacturePojoWithFullData(Class<T> pojoClass,
- Type... genericTypeArgs)
-Generic method which returns an instance of the given class filled with
- dummy values, using the default data provider strategy.
- |
-
PodamFactory |
-setClassStrategy(ClassInfoStrategy classInfoStrategy)
-Sets the class info strategy for this factory
- |
-
PodamFactory |
-setExternalFactory(PodamFactory externalFactory)
-Sets an external factory for this factory to delegate requests it cannot
- process
- |
-
PodamFactory |
-setStrategy(DataProviderStrategy strategy)
-Sets the data provider strategy for this factory
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
manufacturePojo, populatePojo
public AbstractExternalFactory()-
public <T> T manufacturePojoWithFullData(Class<T> pojoClass, - Type... genericTypeArgs)-
PodamFactory
- This method uses RandomDataProviderStrategyImpl
as the default
- implementation.
-
manufacturePojoWithFullData
in interface PodamFactory
T
- The type for which a filled instance is requiredpojoClass
- The name of the class for which an instance filled with values
- is requiredgenericTypeArgs
- The generic Type arguments for a generic class instancepublic DataProviderStrategy getStrategy()-
PodamFactory
getStrategy
in interface PodamFactory
public PodamFactory setStrategy(DataProviderStrategy strategy)-
PodamFactory
setStrategy
in interface PodamFactory
strategy
- A data provider strategy to be used by this factorypublic ClassInfoStrategy getClassStrategy()-
PodamFactory
getClassStrategy
in interface PodamFactory
public PodamFactory setClassStrategy(ClassInfoStrategy classInfoStrategy)-
PodamFactory
setClassStrategy
in interface PodamFactory
classInfoStrategy
- A class info strategy to be used by this factorypublic PodamFactory getExternalFactory()-
PodamFactory
getExternalFactory
in interface PodamFactory
public PodamFactory setExternalFactory(PodamFactory externalFactory)-
PodamFactory
setExternalFactory
in interface PodamFactory
externalFactory
- An external factory to be used by this factoryCopyright © 2016. All rights reserved.
- - + + + + + + +public abstract class AbstractExternalFactory +extends Object +implements PodamFactory+
Constructor and Description | +
---|
AbstractExternalFactory() |
+
Modifier and Type | +Method and Description | +
---|---|
ClassInfoStrategy |
+getClassStrategy()
+It returns the class info strategy for this factory.
+ |
+
PodamFactory |
+getExternalFactory()
+It returns the external factory assigned to this factory.
+ |
+
DataProviderStrategy |
+getStrategy()
+It returns the strategy for this factory.
+ |
+
<T> T |
+manufacturePojoWithFullData(Class<T> pojoClass,
+ Type... genericTypeArgs)
+Generic method which returns an instance of the given class filled with
+ dummy values, using the default data provider strategy.
+ |
+
PodamFactory |
+setClassStrategy(ClassInfoStrategy classInfoStrategy)
+Sets the class info strategy for this factory
+ |
+
PodamFactory |
+setExternalFactory(PodamFactory externalFactory)
+Sets an external factory for this factory to delegate requests it cannot
+ process
+ |
+
PodamFactory |
+setStrategy(DataProviderStrategy strategy)
+Sets the data provider strategy for this factory
+ |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
manufacturePojo, populatePojo
public AbstractExternalFactory()+
public <T> T manufacturePojoWithFullData(Class<T> pojoClass, + Type... genericTypeArgs)+
PodamFactory
+ This method uses RandomDataProviderStrategyImpl
as the default
+ implementation.
+
manufacturePojoWithFullData
in interface PodamFactory
T
- The type for which a filled instance is requiredpojoClass
- The name of the class for which an instance filled with values
+ is requiredgenericTypeArgs
- The generic Type arguments for a generic class instancepublic DataProviderStrategy getStrategy()+
PodamFactory
getStrategy
in interface PodamFactory
public PodamFactory setStrategy(DataProviderStrategy strategy)+
PodamFactory
setStrategy
in interface PodamFactory
strategy
- A data provider strategy to be used by this factorypublic ClassInfoStrategy getClassStrategy()+
PodamFactory
getClassStrategy
in interface PodamFactory
public PodamFactory setClassStrategy(ClassInfoStrategy classInfoStrategy)+
PodamFactory
setClassStrategy
in interface PodamFactory
classInfoStrategy
- A class info strategy to be used by this factorypublic PodamFactory getExternalFactory()+
PodamFactory
getExternalFactory
in interface PodamFactory
public PodamFactory setExternalFactory(PodamFactory externalFactory)+
PodamFactory
setExternalFactory
in interface PodamFactory
externalFactory
- An external factory to be used by this factoryCopyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/AbstractMapArguments.html b/apidocs/uk/co/jemos/podam/api/AbstractMapArguments.html old mode 100644 new mode 100755 index 518ac819c..b7148e2ba --- a/apidocs/uk/co/jemos/podam/api/AbstractMapArguments.html +++ b/apidocs/uk/co/jemos/podam/api/AbstractMapArguments.html @@ -1,460 +1,476 @@ - - - - - - -public abstract class AbstractMapArguments -extends Object-
Modifier and Type | -Field and Description | -
---|---|
private List<Annotation> |
-annotations
-The annotations for the attribute.
- |
-
private String |
-attributeName
-The name of map attribute in enclosing POJO
- |
-
private Map<? super Object,? super Object> |
-mapToBeFilled
-The Map to be returned.
- |
-
Constructor and Description | -
---|
AbstractMapArguments() |
-
Modifier and Type | -Method and Description | -
---|---|
List<Annotation> |
-getAnnotations() |
-
String |
-getAttributeName() |
-
Map<? super Object,? super Object> |
-getMapToBeFilled() |
-
void |
-setAnnotations(List<Annotation> annotations) |
-
void |
-setAttributeName(String attributeName) |
-
void |
-setMapToBeFilled(Map<? super Object,? super Object> mapToBeFilled) |
-
String |
-toString() |
-
private String attributeName-
private Map<? super Object,? super Object> mapToBeFilled-
private List<Annotation> annotations-
public String getAttributeName()-
public void setAttributeName(String attributeName)-
attributeName
- the attribute name for this mappublic Map<? super Object,? super Object> getMapToBeFilled()-
public void setMapToBeFilled(Map<? super Object,? super Object> mapToBeFilled)-
mapToBeFilled
- the mapToBeFilled to setpublic List<Annotation> getAnnotations()-
public void setAnnotations(List<Annotation> annotations)-
annotations
- the annotations to setCopyright © 2016. All rights reserved.
- - + + + + + + +public abstract class AbstractMapArguments +extends Object+
Modifier and Type | +Field and Description | +
---|---|
private List<Annotation> |
+annotations
+The annotations for the attribute.
+ |
+
private String |
+attributeName
+The name of map attribute in enclosing POJO
+ |
+
private Class<?> |
+keyOrValueType
+The type of the Map key.
+ |
+
private Map<? super Object,? super Object> |
+mapToBeFilled
+The Map to be returned.
+ |
+
Constructor and Description | +
---|
AbstractMapArguments() |
+
Modifier and Type | +Method and Description | +
---|---|
List<Annotation> |
+getAnnotations() |
+
String |
+getAttributeName() |
+
Class<?> |
+getKeyOrValueType() |
+
Map<? super Object,? super Object> |
+getMapToBeFilled() |
+
void |
+setAttributeName(String attributeName) |
+
void |
+setKeyOrValueType(Class<?> keyOrValueType) |
+
void |
+setMapToBeFilled(Map<? super Object,? super Object> mapToBeFilled) |
+
private String attributeName+
private Class<?> keyOrValueType+
private Map<? super Object,? super Object> mapToBeFilled+
private List<Annotation> annotations+
public String getAttributeName()+
public void setAttributeName(String attributeName)+
attributeName
- the attribute name for this mappublic Class<?> getKeyOrValueType()+
public void setKeyOrValueType(Class<?> keyOrValueType)+
keyOrValueType
- the keyOrValueType to setpublic Map<? super Object,? super Object> getMapToBeFilled()+
public void setMapToBeFilled(Map<? super Object,? super Object> mapToBeFilled)+
mapToBeFilled
- the mapToBeFilled to setpublic List<Annotation> getAnnotations()+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/AbstractRandomDataProviderStrategy.html b/apidocs/uk/co/jemos/podam/api/AbstractRandomDataProviderStrategy.html old mode 100644 new mode 100755 index 316dd37d5..519092690 --- a/apidocs/uk/co/jemos/podam/api/AbstractRandomDataProviderStrategy.html +++ b/apidocs/uk/co/jemos/podam/api/AbstractRandomDataProviderStrategy.html @@ -1,1386 +1,1492 @@ - - - - - - -@ThreadSafe -public abstract class AbstractRandomDataProviderStrategy -extends Object -implements RandomDataProviderStrategy-
DataProviderStrategy
- - This default implementation returns values based on a random generator. - Convinient for subclassing and redefining behaviour. - Don't use this implementation if you seek deterministic values -
- -- All values returned by this implementation are different from zero. -
DataProviderStrategy.Order
Modifier and Type | -Field and Description | -
---|---|
private Map<Class<? extends Annotation>,Class<AttributeStrategy<?>>> |
-attributeStrategies
-Mapping between annotations and attribute strategies
- |
-
private AbstractConstructorComparator |
-constructorHeavyComparator
-The constructor comparator
- |
-
private AbstractConstructorComparator |
-constructorLightComparator
-The constructor comparator
- |
-
private Map<Class<?>,Class<?>> |
-factoryTypes
-A list of user-submitted factories to build interfaces and abstract classes
- |
-
private AtomicBoolean |
-isMemoizationEnabled
-Flag to enable/disable the memoization setting.
- |
-
private static org.slf4j.Logger |
-LOG
-Application logger
- |
-
static int |
-MAX_DEPTH
-How many times it is allowed to PODAM to create an instance of the same
- class in a recursive hierarchy
- |
-
private AtomicInteger |
-maxDepth
-The max stack trace depth.
- |
-
private Map<Class<?>,Map<Type[],Object>> |
-memoizationTable
-A map to keep one object for each class.
- |
-
private AbstractMethodComparator |
-methodHeavyComparator
-The constructor comparator
- |
-
private AbstractMethodComparator |
-methodLightComparator
-The constructor comparator
- |
-
private AtomicInteger |
-nbrOfCollectionElements
-The number of collection elements.
- |
-
private Map<Class<?>,Class<?>> |
-specificTypes
-A list of user-submitted specific implementations for interfaces and
- abstract classes
- |
-
private ConcurrentHashMap<Class<?>,TypeManufacturer<?>> |
-typeManufacturers
-A mapping between types and their registered manufacturers
- |
-
Constructor and Description | -
---|
AbstractRandomDataProviderStrategy()
-Implementation of the Singleton pattern
- |
-
AbstractRandomDataProviderStrategy(int nbrOfCollectionElements) |
-
Modifier and Type | -Method and Description | -
---|---|
RandomDataProviderStrategy |
-addOrReplaceAttributeStrategy(Class<? extends Annotation> annotationClass,
- Class<AttributeStrategy<?>> strategyClass)
-Bind an annotation to attribute strategy class.
- |
-
<T> AbstractRandomDataProviderStrategy |
-addOrReplaceFactory(Class<T> abstractClass,
- Class<?> factoryClass)
-Binds an interface/abstract class to its factory.
- |
-
<T> DataProviderStrategy |
-addOrReplaceSpecific(Class<T> abstractClass,
- Class<? extends T> specificClass)
-Bind an interface/abstract class to a specific implementation.
- |
-
<T> DataProviderStrategy |
-addOrReplaceTypeManufacturer(Class<? extends T> type,
- TypeManufacturer<T> typeManufacturer)
-Registers @TypeManufacturer implementation, which will be used to
- instantiate objects of a specified type.
- |
-
void |
-cacheMemoizedObject(AttributeMetadata attributeMetadata,
- Object instance)
-Saves object in memoization cache
- |
-
void |
-clearMemoizationCache()
-Clears memoization cache
- |
-
AbstractConstructorComparator |
-getConstructorHeavyComparator()
-Getter for constructor heavy comparator.
- |
-
AbstractConstructorComparator |
-getConstructorLightComparator()
-Getter for constructor light comparator.
- |
-
Class<?> |
-getFactoryClass(Class<?> nonInstantiatableClass)
-Resolves factory classes for abstract classes and interfaces.
- |
-
int |
-getMaxDepth(Class<?> type)
-Returns how many times it is allowed to PODAM to create an instance
- of the same class in a recursive hierarchy
- |
-
Object |
-getMemoizedObject(AttributeMetadata attributeMetadata)
-Obtains object from memoization cache
- |
-
AbstractMethodComparator |
-getMethodHeavyComparator()
-Getter for method heavy comparator.
- |
-
AbstractMethodComparator |
-getMethodLightComparator()
-Getter for method light comparator.
- |
-
int |
-getNumberOfCollectionElements(Class<?> type)
-Returns the number of default collection elements.
- |
-
<T> Class<? extends T> |
-getSpecificClass(Class<T> nonInstantiatableClass)
-Resolves abstract classes and interfaces.
- |
-
Class<AttributeStrategy<?>> |
-getStrategyForAnnotation(Class<? extends Annotation> annotationClass)
-Finds attribute strategies for annotations.
- |
-
<T> T |
-getTypeValue(AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap,
- Class<T> pojoType)
-Obtains a type value
- |
-
boolean |
-isMemoizationEnabled()
-Returns whether the memoization setting is enabled.
- |
-
private void |
-log(AttributeMetadata attributeMetadata) |
-
RandomDataProviderStrategy |
-removeAttributeStrategy(Class<? extends Annotation> annotationClass)
-Remove binding of an annotation to attribute strategy
- |
-
<T> AbstractRandomDataProviderStrategy |
-removeFactory(Class<T> abstractClass)
-Remove binding of an interface/abstract class to its factory
- |
-
<T> DataProviderStrategy |
-removeSpecific(Class<T> abstractClass)
-Remove binding of an interface/abstract class to a specific
- implementation
- |
-
<T> DataProviderStrategy |
-removeTypeManufacturer(Class<T> type)
-Remove binding of a class type to a specific
- implementation of type manufacturer
- |
-
void |
-setConstructorHeavyComparator(AbstractConstructorComparator constructorHeavyComparator)
-Setter for constructor heavy comparator.
- |
-
void |
-setConstructorLightComparator(AbstractConstructorComparator constructorLightComparator)
-Setter for constructor öight comparator.
- |
-
void |
-setDefaultNumberOfCollectionElements(int newNumberOfCollectionElements)
-Sets the new default number of default collection elements.
- |
-
void |
-setMemoization(boolean isMemoizationEnabled)
-Sets whether memoization is enabled
- |
-
void |
-setMethodHeavyComparator(AbstractMethodComparator methodHeavyComparator)
-Setter for method heavy comparator.
- |
-
void |
-setMethodLightComparator(AbstractMethodComparator methodLightComparator)
-Setter for method light comparator.
- |
-
void |
-sort(Constructor<?>[] constructors,
- DataProviderStrategy.Order order)
-Rearranges POJO's constructors in order they will be tried to produce the
- POJO.
- |
-
void |
-sort(Method[] methods,
- DataProviderStrategy.Order order)
-Rearranges POJO's methods in order they will be tried to produce the
- POJO.
- |
-
private static final org.slf4j.Logger LOG-
public static final int MAX_DEPTH-
private final AtomicInteger maxDepth-
private final AtomicInteger nbrOfCollectionElements-
private final AtomicBoolean isMemoizationEnabled-
private final Map<Class<?>,Map<Type[],Object>> memoizationTable-
private final ConcurrentHashMap<Class<?>,TypeManufacturer<?>> typeManufacturers-
private final Map<Class<?>,Class<?>> specificTypes-
private final Map<Class<?>,Class<?>> factoryTypes-
private final Map<Class<? extends Annotation>,Class<AttributeStrategy<?>>> attributeStrategies-
private AbstractConstructorComparator constructorHeavyComparator-
private AbstractConstructorComparator constructorLightComparator-
private AbstractMethodComparator methodHeavyComparator-
private AbstractMethodComparator methodLightComparator-
public AbstractRandomDataProviderStrategy()-
public AbstractRandomDataProviderStrategy(int nbrOfCollectionElements)-
public int getNumberOfCollectionElements(Class<?> type)-
- Implementations of this interface need to provide this value. -
getNumberOfCollectionElements
in interface DataProviderStrategy
type
- Type of collection's elementspublic void setDefaultNumberOfCollectionElements(int newNumberOfCollectionElements)-
setDefaultNumberOfCollectionElements
in interface DataProviderStrategy
newNumberOfCollectionElements
- The new number of collection elements.public int getMaxDepth(Class<?> type)-
- Implementations of this interface need to provide this value. -
getMaxDepth
in interface DataProviderStrategy
type
- Type of POJO to be createdpublic boolean isMemoizationEnabled()-
- Implementations of this interface need to provide this value. -
isMemoizationEnabled
in interface DataProviderStrategy
public void setMemoization(boolean isMemoizationEnabled)-
setMemoization
in interface DataProviderStrategy
isMemoizationEnabled
- whether memoization is enabledpublic Object getMemoizedObject(AttributeMetadata attributeMetadata)-
getMemoizedObject
in interface DataProviderStrategy
attributeMetadata
- attribute metadata for instance to be fetchedpublic void cacheMemoizedObject(AttributeMetadata attributeMetadata, - Object instance)-
cacheMemoizedObject
in interface DataProviderStrategy
attributeMetadata
- attribute metadata for instance being memoizedinstance
- object instance to save in memoization cachepublic void clearMemoizationCache()-
clearMemoizationCache
in interface DataProviderStrategy
public void sort(Constructor<?>[] constructors, - DataProviderStrategy.Order order)-
sort
in interface DataProviderStrategy
constructors
- Array of POJO's constructorsorder
- DataProviderStrategy.Order
how to sort constructorspublic void sort(Method[] methods, - DataProviderStrategy.Order order)-
sort
in interface DataProviderStrategy
methods
- Array of POJO's methodsorder
- DataProviderStrategy.Order
how to sort constructorspublic <T> DataProviderStrategy addOrReplaceTypeManufacturer(Class<? extends T> type, - TypeManufacturer<T> typeManufacturer)-
addOrReplaceTypeManufacturer
in interface DataProviderStrategy
T
- type of objects to be produced by the manufacturertype
- the specific class type the specified manufacturer
- will instantiate.typeManufacturer
- type manufacturer implementation to be registeredpublic <T> DataProviderStrategy removeTypeManufacturer(Class<T> type)-
removeTypeManufacturer
in interface DataProviderStrategy
T
- type of objects to be produced by the manufacturertype
- the specific class type to remove bindingpublic <T> T getTypeValue(AttributeMetadata attributeMetadata, - Map<String,Type> genericTypesArgumentsMap, - Class<T> pojoType)-
getTypeValue
in interface DataProviderStrategy
T
- type of returned objectattributeMetadata
- The AttributeMetadata informationgenericTypesArgumentsMap
- The generic attribute type argument typespojoType
- The class of the requested typepublic <T> AbstractRandomDataProviderStrategy addOrReplaceFactory(Class<T> abstractClass, - Class<?> factoryClass)-
addOrReplaceFactory
in interface RandomDataProviderStrategy
T
- return typeabstractClass
- the interface/abstract class to bindfactoryClass
- factory class for instantiation of
- abstractClass
.public <T> AbstractRandomDataProviderStrategy removeFactory(Class<T> abstractClass)-
removeFactory
in interface RandomDataProviderStrategy
T
- return typeabstractClass
- the interface/abstract class to remove bindingpublic Class<?> getFactoryClass(Class<?> nonInstantiatableClass)-
- Should return factory class type, which can be used to instantiate - an abstract class type or interface. -
getFactoryClass
in interface DataProviderStrategy
nonInstantiatableClass
- Abstract class type or interfacenonInstantiatableClass
.public <T> DataProviderStrategy addOrReplaceSpecific(Class<T> abstractClass, - Class<? extends T> specificClass)-
addOrReplaceSpecific
in interface DataProviderStrategy
T
- return typeabstractClass
- the interface/abstract class to bindspecificClass
- the specific class implementing or extending
- abstractClass
.public <T> DataProviderStrategy removeSpecific(Class<T> abstractClass)-
removeSpecific
in interface DataProviderStrategy
T
- return typeabstractClass
- the interface/abstract class to remove bindingpublic <T> Class<? extends T> getSpecificClass(Class<T> nonInstantiatableClass)-
- Should return specific class type, which can be instantiated and assigned - to abstract class type or interface. -
getSpecificClass
in interface DataProviderStrategy
T
- The type of class being resolvednonInstantiatableClass
- Abstract class type or interfacenonInstantiatableClass
.public RandomDataProviderStrategy addOrReplaceAttributeStrategy(Class<? extends Annotation> annotationClass, - Class<AttributeStrategy<?>> strategyClass)-
addOrReplaceAttributeStrategy
in interface RandomDataProviderStrategy
annotationClass
- the annotation classstrategyClass
- the attribute strategy classpublic RandomDataProviderStrategy removeAttributeStrategy(Class<? extends Annotation> annotationClass)-
removeAttributeStrategy
in interface RandomDataProviderStrategy
annotationClass
- the annotation class to remove bindingpublic Class<AttributeStrategy<?>> getStrategyForAnnotation(Class<? extends Annotation> annotationClass)-
- Searches for mapping between annotations and attribute strategies, - which will be used then for populating fields or constructor parameters. -
getStrategyForAnnotation
in interface DataProviderStrategy
annotationClass
- Annotation class to inspectpublic AbstractConstructorComparator getConstructorLightComparator()-
getConstructorLightComparator
in interface RandomDataProviderStrategy
public void setConstructorLightComparator(AbstractConstructorComparator constructorLightComparator)-
Default implementations are
- ConstructorHeavyFirstComparator
and
- ConstructorLightFirstComparator
.
setConstructorLightComparator
in interface RandomDataProviderStrategy
constructorLightComparator
- constructor comparator to setpublic AbstractConstructorComparator getConstructorHeavyComparator()-
getConstructorHeavyComparator
in interface RandomDataProviderStrategy
public void setConstructorHeavyComparator(AbstractConstructorComparator constructorHeavyComparator)-
Default implementations are
- ConstructorHeavyFirstComparator
and
- ConstructorLightFirstComparator
.
setConstructorHeavyComparator
in interface RandomDataProviderStrategy
constructorHeavyComparator
- constructor comparator to setpublic AbstractMethodComparator getMethodLightComparator()-
getMethodLightComparator
in interface RandomDataProviderStrategy
public void setMethodLightComparator(AbstractMethodComparator methodLightComparator)-
Default implementations is
- MethodHeavyFirstComparator
.
setMethodLightComparator
in interface RandomDataProviderStrategy
methodLightComparator
- method comparator to setpublic AbstractMethodComparator getMethodHeavyComparator()-
getMethodHeavyComparator
in interface RandomDataProviderStrategy
public void setMethodHeavyComparator(AbstractMethodComparator methodHeavyComparator)-
Default implementations is
- MethodHeavyFirstComparator
.
setMethodHeavyComparator
in interface RandomDataProviderStrategy
methodHeavyComparator
- method comparator to setprivate void log(AttributeMetadata attributeMetadata)-
Copyright © 2016. All rights reserved.
- - + + + + + + +@ThreadSafe +public abstract class AbstractRandomDataProviderStrategy +extends Object +implements RandomDataProviderStrategy+
DataProviderStrategy
+ + This default implementation returns values based on a random generator. + Convinient for subclassing and redefining behaviour. + Don't use this implementation if you seek deterministic values +
+ ++ All values returned by this implementation are different from zero. +
DataProviderStrategy.Order
Modifier and Type | +Field and Description | +
---|---|
private Map<Class<?>,Map<String,AttributeStrategy<?>>> |
+attributeClassStrategies
+Mapping between attributes and attribute strategies
+ |
+
private Map<Class<? extends Annotation>,AttributeStrategy<?>> |
+attributeStrategies
+Mapping between annotations and attribute strategies
+ |
+
private AbstractConstructorComparator |
+constructorHeavyComparator
+The constructor comparator
+ |
+
private AbstractConstructorComparator |
+constructorLightComparator
+The constructor comparator
+ |
+
private Map<Class<?>,Class<?>> |
+factoryTypes
+A list of user-submitted factories to build interfaces and abstract classes
+ |
+
private AtomicBoolean |
+isMemoizationEnabled
+Flag to enable/disable the memoization setting.
+ |
+
private static org.slf4j.Logger |
+LOG
+Application logger
+ |
+
private int |
+maxDepth
+How many times it is allowed to PODAM to create an instance of the same
+ class in a recursive hierarchy
+ |
+
private Map<Class<?>,Map<Type[],Object>> |
+memoizationTable
+A map to keep one object for each class.
+ |
+
private AbstractMethodComparator |
+methodHeavyComparator
+The constructor comparator
+ |
+
private AbstractMethodComparator |
+methodLightComparator
+The constructor comparator
+ |
+
private AtomicInteger |
+nbrOfCollectionElements
+The number of collection elements.
+ |
+
private Map<Class<?>,Class<?>> |
+specificTypes
+A list of user-submitted specific implementations for interfaces and
+ abstract classes
+ |
+
private ConcurrentHashMap<Class<?>,TypeManufacturer<?>> |
+typeManufacturers
+A mapping between types and their registered manufacturers
+ |
+
Constructor and Description | +
---|
AbstractRandomDataProviderStrategy()
+Implementation of the Singleton pattern
+ |
+
AbstractRandomDataProviderStrategy(int nbrOfCollectionElements) |
+
Modifier and Type | +Method and Description | +
---|---|
RandomDataProviderStrategy |
+addOrReplaceAttributeStrategy(Class<?> type,
+ String attributeName,
+ AttributeStrategy<?> attributeStrategy)
+Registers @AttributeStrategy implementation, which will be used to
+ instantiate objects of a specified type.
+ |
+
RandomDataProviderStrategy |
+addOrReplaceAttributeStrategy(Class<? extends Annotation> annotationClass,
+ AttributeStrategy<?> attributeStrategy)
+Bind an annotation to attribute strategy class.
+ |
+
<T> AbstractRandomDataProviderStrategy |
+addOrReplaceFactory(Class<T> abstractClass,
+ Class<?> factoryClass)
+Binds an interface/abstract class to its factory.
+ |
+
<T> DataProviderStrategy |
+addOrReplaceSpecific(Class<T> abstractClass,
+ Class<? extends T> specificClass)
+Bind an interface/abstract class to a specific implementation.
+ |
+
<T> DataProviderStrategy |
+addOrReplaceTypeManufacturer(Class<? extends T> type,
+ TypeManufacturer<T> typeManufacturer)
+Registers @TypeManufacturer implementation, which will be used to
+ instantiate objects of a specified type.
+ |
+
void |
+cacheMemoizedObject(AttributeMetadata attributeMetadata,
+ Object instance)
+Saves object in memoization cache
+ |
+
void |
+clearMemoizationCache()
+Clears memoization cache
+ |
+
AbstractConstructorComparator |
+getConstructorHeavyComparator()
+Getter for constructor heavy comparator.
+ |
+
AbstractConstructorComparator |
+getConstructorLightComparator()
+Getter for constructor light comparator.
+ |
+
Class<?> |
+getFactoryClass(Class<?> nonInstantiatableClass)
+Resolves factory classes for abstract classes and interfaces.
+ |
+
int |
+getMaxDepth(Class<?> type)
+Returns how many times it is allowed to PODAM to create an instance
+ of the same class in a recursive hierarchy
+ |
+
Object |
+getMemoizedObject(AttributeMetadata attributeMetadata)
+Obtains object from memoization cache
+ |
+
AbstractMethodComparator |
+getMethodHeavyComparator()
+Getter for method heavy comparator.
+ |
+
AbstractMethodComparator |
+getMethodLightComparator()
+Getter for method light comparator.
+ |
+
int |
+getNumberOfCollectionElements(Class<?> type)
+Returns the number of default collection elements.
+ |
+
<T> Class<? extends T> |
+getSpecificClass(Class<T> nonInstantiatableClass)
+Resolves abstract classes and interfaces.
+ |
+
AttributeStrategy<?> |
+getStrategyForAnnotation(Class<? extends Annotation> annotationClass)
+Finds attribute strategies for annotations.
+ |
+
AttributeStrategy<?> |
+getStrategyForAttribute(ClassAttribute attribute)
+Finds attribute strategies for attribute.
+ |
+
<T> T |
+getTypeValue(AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx,
+ Class<T> pojoType)
+Obtains a type value
+ |
+
boolean |
+isMemoizationEnabled()
+Returns whether the memoization setting is enabled.
+ |
+
private void |
+log(AttributeMetadata attributeMetadata) |
+
RandomDataProviderStrategy |
+removeAttributeStrategy(Class<?> type,
+ String attributeName)
+Removes @AttributeStrategy implementation from for the specific attribute
+ |
+
RandomDataProviderStrategy |
+removeAttributeStrategy(Class<? extends Annotation> annotationClass)
+Remove binding of an annotation to attribute strategy
+ |
+
<T> AbstractRandomDataProviderStrategy |
+removeFactory(Class<T> abstractClass)
+Remove binding of an interface/abstract class to its factory
+ |
+
<T> DataProviderStrategy |
+removeSpecific(Class<T> abstractClass)
+Remove binding of an interface/abstract class to a specific
+ implementation
+ |
+
<T> DataProviderStrategy |
+removeTypeManufacturer(Class<T> type)
+Remove binding of a class type to a specific
+ implementation of type manufacturer
+ |
+
void |
+setConstructorHeavyComparator(AbstractConstructorComparator constructorHeavyComparator)
+Setter for constructor heavy comparator.
+ |
+
void |
+setConstructorLightComparator(AbstractConstructorComparator constructorLightComparator)
+Setter for constructor öight comparator.
+ |
+
void |
+setDefaultNumberOfCollectionElements(int newNumberOfCollectionElements)
+Sets the new default number of default collection elements.
+ |
+
void |
+setMaxDepth(int maxDepth)
+Max depth setter
+ |
+
void |
+setMemoization(boolean isMemoizationEnabled)
+Sets whether memoization is enabled
+ |
+
void |
+setMethodHeavyComparator(AbstractMethodComparator methodHeavyComparator)
+Setter for method heavy comparator.
+ |
+
void |
+setMethodLightComparator(AbstractMethodComparator methodLightComparator)
+Setter for method light comparator.
+ |
+
void |
+sort(Constructor<?>[] constructors,
+ DataProviderStrategy.Order order)
+Rearranges POJO's constructors in order they will be tried to produce the
+ POJO.
+ |
+
void |
+sort(Method[] methods,
+ DataProviderStrategy.Order order)
+Rearranges POJO's methods in order they will be tried to produce the
+ POJO.
+ |
+
private static final org.slf4j.Logger LOG+
private int maxDepth+
private final AtomicInteger nbrOfCollectionElements+
private final AtomicBoolean isMemoizationEnabled+
private final Map<Class<?>,Map<Type[],Object>> memoizationTable+
private final ConcurrentHashMap<Class<?>,TypeManufacturer<?>> typeManufacturers+
private final Map<Class<?>,Class<?>> specificTypes+
private final Map<Class<?>,Class<?>> factoryTypes+
private final Map<Class<? extends Annotation>,AttributeStrategy<?>> attributeStrategies+
private final Map<Class<?>,Map<String,AttributeStrategy<?>>> attributeClassStrategies+
private AbstractConstructorComparator constructorHeavyComparator+
private AbstractConstructorComparator constructorLightComparator+
private AbstractMethodComparator methodHeavyComparator+
private AbstractMethodComparator methodLightComparator+
public AbstractRandomDataProviderStrategy()+
public AbstractRandomDataProviderStrategy(int nbrOfCollectionElements)+
public int getNumberOfCollectionElements(Class<?> type)+
+ Implementations of this interface need to provide this value. +
getNumberOfCollectionElements
in interface DataProviderStrategy
type
- Type of collection's elementspublic void setDefaultNumberOfCollectionElements(int newNumberOfCollectionElements)+
setDefaultNumberOfCollectionElements
in interface DataProviderStrategy
newNumberOfCollectionElements
- The new number of collection elements.public int getMaxDepth(Class<?> type)+
+ Implementations of this interface need to provide this value. +
getMaxDepth
in interface DataProviderStrategy
type
- Type of POJO to be createdpublic void setMaxDepth(int maxDepth)+
maxDepth
- defines new max depthpublic boolean isMemoizationEnabled()+
+ Implementations of this interface need to provide this value. +
isMemoizationEnabled
in interface DataProviderStrategy
public void setMemoization(boolean isMemoizationEnabled)+
setMemoization
in interface DataProviderStrategy
isMemoizationEnabled
- whether memoization is enabledpublic Object getMemoizedObject(AttributeMetadata attributeMetadata)+
getMemoizedObject
in interface DataProviderStrategy
attributeMetadata
- attribute metadata for instance to be fetchedpublic void cacheMemoizedObject(AttributeMetadata attributeMetadata, + Object instance)+
cacheMemoizedObject
in interface DataProviderStrategy
attributeMetadata
- attribute metadata for instance being memoizedinstance
- object instance to save in memoization cachepublic void clearMemoizationCache()+
clearMemoizationCache
in interface DataProviderStrategy
public void sort(Constructor<?>[] constructors, + DataProviderStrategy.Order order)+
sort
in interface DataProviderStrategy
constructors
- Array of POJO's constructorsorder
- DataProviderStrategy.Order
how to sort constructorspublic void sort(Method[] methods, + DataProviderStrategy.Order order)+
sort
in interface DataProviderStrategy
methods
- Array of POJO's methodsorder
- DataProviderStrategy.Order
how to sort constructorspublic <T> DataProviderStrategy addOrReplaceTypeManufacturer(Class<? extends T> type, + TypeManufacturer<T> typeManufacturer)+
addOrReplaceTypeManufacturer
in interface DataProviderStrategy
T
- type of objects to be produced by the manufacturertype
- the specific class type the specified manufacturer
+ will instantiate.typeManufacturer
- type manufacturer implementation to be registeredpublic <T> DataProviderStrategy removeTypeManufacturer(Class<T> type)+
removeTypeManufacturer
in interface DataProviderStrategy
T
- type of objects to be produced by the manufacturertype
- the specific class type to remove bindingpublic <T> T getTypeValue(AttributeMetadata attributeMetadata, + ManufacturingContext manufacturingCtx, + Class<T> pojoType)+
getTypeValue
in interface DataProviderStrategy
T
- type of returned objectattributeMetadata
- The AttributeMetadata informationmanufacturingCtx
- The pojo manufacturing context with generic attribute type argument typespojoType
- The class of the requested typepublic <T> AbstractRandomDataProviderStrategy addOrReplaceFactory(Class<T> abstractClass, + Class<?> factoryClass)+
addOrReplaceFactory
in interface RandomDataProviderStrategy
T
- return typeabstractClass
- the interface/abstract class to bindfactoryClass
- factory class for instantiation of
+ abstractClass
.public <T> AbstractRandomDataProviderStrategy removeFactory(Class<T> abstractClass)+
removeFactory
in interface RandomDataProviderStrategy
T
- return typeabstractClass
- the interface/abstract class to remove bindingpublic Class<?> getFactoryClass(Class<?> nonInstantiatableClass)+
+ Should return factory class type, which can be used to instantiate + an abstract class type or interface. +
getFactoryClass
in interface DataProviderStrategy
nonInstantiatableClass
- Abstract class type or interfacenonInstantiatableClass
.public <T> DataProviderStrategy addOrReplaceSpecific(Class<T> abstractClass, + Class<? extends T> specificClass)+
addOrReplaceSpecific
in interface DataProviderStrategy
T
- return typeabstractClass
- the interface/abstract class to bindspecificClass
- the specific class implementing or extending
+ abstractClass
.public <T> DataProviderStrategy removeSpecific(Class<T> abstractClass)+
removeSpecific
in interface DataProviderStrategy
T
- return typeabstractClass
- the interface/abstract class to remove bindingpublic <T> Class<? extends T> getSpecificClass(Class<T> nonInstantiatableClass)+
+ Should return specific class type, which can be instantiated and assigned + to abstract class type or interface. +
getSpecificClass
in interface DataProviderStrategy
T
- The type of class being resolvednonInstantiatableClass
- Abstract class type or interfacenonInstantiatableClass
.public RandomDataProviderStrategy addOrReplaceAttributeStrategy(Class<? extends Annotation> annotationClass, + AttributeStrategy<?> attributeStrategy)+
addOrReplaceAttributeStrategy
in interface RandomDataProviderStrategy
annotationClass
- the annotation classattributeStrategy
- the attribute strategypublic RandomDataProviderStrategy removeAttributeStrategy(Class<? extends Annotation> annotationClass)+
removeAttributeStrategy
in interface RandomDataProviderStrategy
annotationClass
- the annotation class to remove bindingpublic AttributeStrategy<?> getStrategyForAnnotation(Class<? extends Annotation> annotationClass)+
+ Searches for mapping between annotations and attribute strategies, + which will be used then for populating fields or constructor parameters. +
getStrategyForAnnotation
in interface DataProviderStrategy
annotationClass
- Annotation class to inspectpublic RandomDataProviderStrategy addOrReplaceAttributeStrategy(Class<?> type, + String attributeName, + AttributeStrategy<?> attributeStrategy)+
addOrReplaceAttributeStrategy
in interface DataProviderStrategy
type
- the specific class type the specified manufacturer
+ will instantiate.attributeName
- attribute name to use attributeStrategy forattributeStrategy
- attribute strategy to be registeredpublic RandomDataProviderStrategy removeAttributeStrategy(Class<?> type, + String attributeName)+
removeAttributeStrategy
in interface DataProviderStrategy
type
- the specific class type the specified manufacturer
+ will instantiate.attributeName
- attribute name to use attributeStrategy forpublic AttributeStrategy<?> getStrategyForAttribute(ClassAttribute attribute)+
+ Searches for mapping between class attribute and attribute strategies, + which will be used then for populating fields or constructor parameters. +
getStrategyForAttribute
in interface DataProviderStrategy
attribute
- attribute to be manufacturedpublic AbstractConstructorComparator getConstructorLightComparator()+
getConstructorLightComparator
in interface RandomDataProviderStrategy
public void setConstructorLightComparator(AbstractConstructorComparator constructorLightComparator)+
Default implementations are
+ ConstructorHeavyFirstComparator
and
+ ConstructorLightFirstComparator
.
setConstructorLightComparator
in interface RandomDataProviderStrategy
constructorLightComparator
- constructor comparator to setpublic AbstractConstructorComparator getConstructorHeavyComparator()+
getConstructorHeavyComparator
in interface RandomDataProviderStrategy
public void setConstructorHeavyComparator(AbstractConstructorComparator constructorHeavyComparator)+
Default implementations are
+ ConstructorHeavyFirstComparator
and
+ ConstructorLightFirstComparator
.
setConstructorHeavyComparator
in interface RandomDataProviderStrategy
constructorHeavyComparator
- constructor comparator to setpublic AbstractMethodComparator getMethodLightComparator()+
getMethodLightComparator
in interface RandomDataProviderStrategy
public void setMethodLightComparator(AbstractMethodComparator methodLightComparator)+
Default implementations is
+ MethodHeavyFirstComparator
.
setMethodLightComparator
in interface RandomDataProviderStrategy
methodLightComparator
- method comparator to setpublic AbstractMethodComparator getMethodHeavyComparator()+
getMethodHeavyComparator
in interface RandomDataProviderStrategy
public void setMethodHeavyComparator(AbstractMethodComparator methodHeavyComparator)+
Default implementations is
+ MethodHeavyFirstComparator
.
setMethodHeavyComparator
in interface RandomDataProviderStrategy
methodHeavyComparator
- method comparator to setprivate void log(AttributeMetadata attributeMetadata)+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/AttributeMetadata.html b/apidocs/uk/co/jemos/podam/api/AttributeMetadata.html old mode 100644 new mode 100755 index 49e3d65ae..0128f8ed6 --- a/apidocs/uk/co/jemos/podam/api/AttributeMetadata.html +++ b/apidocs/uk/co/jemos/podam/api/AttributeMetadata.html @@ -1,561 +1,596 @@ - - - - - - -@Immutable -public class AttributeMetadata -extends Object -implements Serializable-
- This class is available to all strategies and it allows users to customise - behaviour of a strategy depending on the metadata of the attribute to which a - value is being assigned. For instance, clients might assign different values - based on the attribute name. -
Modifier and Type | -Field and Description | -
---|---|
private Type[] |
-attrGenericArgs
-The attribute type generic arguments
- |
-
private List<Annotation> |
-attributeAnnotations
-The attribute annotations
- |
-
private Type |
-attributeGenericType
-The attribute generic type
- |
-
private String |
-attributeName
-The attribute name
- |
-
private Class<?> |
-attributeType
-The attribute type
- |
-
private Class<?> |
-pojoClass
-Type of class that owns the attribute
- |
-
private static long |
-serialVersionUID |
-
Constructor and Description | -
---|
AttributeMetadata(Class<?> attributeType,
- Type attributeGenericType,
- Type[] attrGenericArgs,
- Class<?> declaringClass)
-Constructor for method parameters metadata
- |
-
AttributeMetadata(String attributeName,
- Class<?> attributeType,
- Type attributeGenericType,
- Type[] attrGenericArgs,
- List<Annotation> attributeAnnotations,
- Class<?> declaringClass)
-Full constructor.
- |
-
Modifier and Type | -Method and Description | -
---|---|
Type[] |
-getAttrGenericArgs() |
-
List<Annotation> |
-getAttributeAnnotations() |
-
Type |
-getAttributeGenericType() |
-
String |
-getAttributeName() |
-
Class<?> |
-getAttributeType() |
-
Class<?> |
-getPojoClass() |
-
String |
-toString() |
-
private static final long serialVersionUID-
private final String attributeName-
private final Class<?> attributeType-
private final Type attributeGenericType-
private final Type[] attrGenericArgs-
private final List<Annotation> attributeAnnotations-
private final Class<?> pojoClass-
public AttributeMetadata(String attributeName, - Class<?> attributeType, - Type attributeGenericType, - Type[] attrGenericArgs, - List<Annotation> attributeAnnotations, - Class<?> declaringClass)-
attributeName
- The attribute nameattributeType
- The attribute typeattributeGenericType
- The attribute generic typeattrGenericArgs
- The attribute type generic argumentsattributeAnnotations
- The attribute annotationsdeclaringClass
- The type of class that owns the attributepublic AttributeMetadata(Class<?> attributeType, - Type attributeGenericType, - Type[] attrGenericArgs, - Class<?> declaringClass)-
attributeType
- The attribute typeattributeGenericType
- The attribute generic typeattrGenericArgs
- The attribute type generic argumentsdeclaringClass
- The type of class that owns the attributepublic String getAttributeName()-
public Class<?> getAttributeType()-
public Type getAttributeGenericType()-
public Type[] getAttrGenericArgs()-
public List<Annotation> getAttributeAnnotations()-
public Class<?> getPojoClass()-
Copyright © 2016. All rights reserved.
- - + + + + + + +@Immutable +public class AttributeMetadata +extends Object +implements Serializable+
+ This class is available to all strategies and it allows users to customise + behaviour of a strategy depending on the metadata of the attribute to which a + value is being assigned. For instance, clients might assign different values + based on the attribute name. +
Modifier and Type | +Field and Description | +
---|---|
private Type[] |
+attrGenericArgs
+The attribute type generic arguments
+ |
+
private List<Annotation> |
+attributeAnnotations
+The attribute annotations
+ |
+
private Type |
+attributeGenericType
+The attribute generic type
+ |
+
private String |
+attributeName
+The attribute name
+ |
+
private Class<?> |
+attributeType
+The attribute type
+ |
+
private Class<?> |
+pojoClass
+Type of class that owns the attribute
+ |
+
private Object |
+pojoInstance
+POJO that owns the attribute
+ |
+
private static long |
+serialVersionUID |
+
Constructor and Description | +
---|
AttributeMetadata(Class<?> attributeType,
+ Type attributeGenericType,
+ Type[] attrGenericArgs,
+ Class<?> declaringClass,
+ Object declaringInstance)
+Constructor for method parameters metadata
+ |
+
AttributeMetadata(String attributeName,
+ Class<?> attributeType,
+ Type attributeGenericType,
+ Type[] attrGenericArgs,
+ List<Annotation> attributeAnnotations,
+ Class<?> declaringClass,
+ Object declaringInstance)
+Full constructor.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Type[] |
+getAttrGenericArgs() |
+
List<Annotation> |
+getAttributeAnnotations() |
+
Type |
+getAttributeGenericType() |
+
String |
+getAttributeName() |
+
Class<?> |
+getAttributeType() |
+
Class<?> |
+getPojoClass() |
+
Object |
+getPojoInstance() |
+
String |
+toString() |
+
private static final long serialVersionUID+
private final String attributeName+
private final Class<?> attributeType+
private final Type attributeGenericType+
private final Type[] attrGenericArgs+
private final List<Annotation> attributeAnnotations+
private final Class<?> pojoClass+
private final Object pojoInstance+
public AttributeMetadata(String attributeName, + Class<?> attributeType, + Type attributeGenericType, + Type[] attrGenericArgs, + List<Annotation> attributeAnnotations, + Class<?> declaringClass, + Object declaringInstance)+
attributeName
- The attribute nameattributeType
- The attribute typeattributeGenericType
- The attribute generic typeattrGenericArgs
- The attribute type generic argumentsattributeAnnotations
- The attribute annotationsdeclaringClass
- The type of class that owns the attributedeclaringInstance
- If available, instance of the declaring class or null otherwisepublic AttributeMetadata(Class<?> attributeType, + Type attributeGenericType, + Type[] attrGenericArgs, + Class<?> declaringClass, + Object declaringInstance)+
attributeType
- The attribute typeattributeGenericType
- The attribute generic typeattrGenericArgs
- The attribute type generic argumentsdeclaringClass
- The type of class that owns the attributedeclaringInstance
- If available, instance of the declaring class or null otherwisepublic String getAttributeName()+
public Class<?> getAttributeType()+
public Type getAttributeGenericType()+
public Type[] getAttrGenericArgs()+
public List<Annotation> getAttributeAnnotations()+
public Class<?> getPojoClass()+
public Object getPojoInstance()+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/ClassAttribute.html b/apidocs/uk/co/jemos/podam/api/ClassAttribute.html old mode 100644 new mode 100755 index 2e809095f..60a14b3c3 --- a/apidocs/uk/co/jemos/podam/api/ClassAttribute.html +++ b/apidocs/uk/co/jemos/podam/api/ClassAttribute.html @@ -1,518 +1,577 @@ - - - - - - -@Immutable -public class ClassAttribute -extends Object -implements Serializable-
- The purpose of this class is to carry information about single attribute - of POJO class. -
Modifier and Type | -Field and Description | -
---|---|
private Field |
-attribute
-The Set of fields belonging to this class
- |
-
private Set<Method> |
-getters
-The Set of getters for this attribute in the class
- |
-
private static long |
-serialVersionUID |
-
private Set<Method> |
-setters
-The Set of setters for this attribute in the class
- |
-
Constructor and Description | -
---|
ClassAttribute(Field attribute,
- Set<Method> getters,
- Set<Method> setters)
-Full constructor
- |
-
Modifier and Type | -Method and Description | -
---|---|
boolean |
-equals(Object obj) |
-
Field |
-getAttribute()
-It returns the attribute
- |
-
Set<Method> |
-getGetters()
-It returns the attribute getters
- |
-
(package private) Set<Method> |
-getRawGetters() |
-
(package private) Set<Method> |
-getRawSetters() |
-
Set<Method> |
-getSetters()
-It returns the attribute setters
- |
-
int |
-hashCode() |
-
String |
-toString() |
-
private static final long serialVersionUID-
private final Field attribute-
private final Set<Method> getters-
public Field getAttribute()-
public Set<Method> getGetters()-
public Set<Method> getSetters()-
Copyright © 2016. All rights reserved.
- - + + + + + + +@Immutable +public class ClassAttribute +extends Object +implements Serializable+
+ The purpose of this class is to carry information about single attribute + of POJO class. +
Modifier and Type | +Field and Description | +
---|---|
private Field |
+attribute
+The field belonging to this class
+ |
+
private Set<Method> |
+getters
+The Set of getters for this attribute in the class
+ |
+
private String |
+name
+The attribute's name
+ |
+
private static long |
+serialVersionUID |
+
private Set<Method> |
+setters
+The Set of setters for this attribute in the class
+ |
+
Constructor and Description | +
---|
ClassAttribute(String name,
+ Field attribute,
+ Set<Method> getters,
+ Set<Method> setters)
+Full constructor
+ |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+equals(Object obj) |
+
Field |
+getAttribute()
+It returns the attribute
+ |
+
Set<Method> |
+getGetters()
+It returns the attribute getters
+ |
+
String |
+getName()
+It returns the attribute's name
+ |
+
(package private) Set<Method> |
+getRawGetters() |
+
(package private) Set<Method> |
+getRawSetters() |
+
Set<Method> |
+getSetters()
+It returns the attribute setters
+ |
+
int |
+hashCode() |
+
(package private) void |
+setAttribute(Field attribute)
+It sets the attribute
+ |
+
String |
+toString() |
+
private static final long serialVersionUID+
private final String name+
private Field attribute+
private final Set<Method> getters+
public ClassAttribute(String name, + Field attribute, + Set<Method> getters, + Set<Method> setters)+
name
- attribute's name, must be filledattribute
- attribute, can be nullgetters
- The set of getters for this attributessetters
- The set of setters for this attributespublic String getName()+
public Field getAttribute()+
void setAttribute(Field attribute)+
attribute
- The attribute to setpublic Set<Method> getGetters()+
public Set<Method> getSetters()+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/ClassAttributeApprover.html b/apidocs/uk/co/jemos/podam/api/ClassAttributeApprover.html old mode 100644 new mode 100755 index ff18295a3..2f87c6b09 --- a/apidocs/uk/co/jemos/podam/api/ClassAttributeApprover.html +++ b/apidocs/uk/co/jemos/podam/api/ClassAttributeApprover.html @@ -1,243 +1,243 @@ - - - - - - -public interface ClassAttributeApprover
-Modifier and Type | -Method and Description | -
---|---|
boolean |
-approve(ClassAttribute attribute)
-Override this method to select or reject class attributes
- |
-
boolean approve(ClassAttribute attribute)-
attribute
- class attribute to analyze for further processing or skippingCopyright © 2016. All rights reserved.
- - + + + + + + +public interface ClassAttributeApprover
+Modifier and Type | +Method and Description | +
---|---|
boolean |
+approve(ClassAttribute attribute)
+Override this method to select or reject class attributes
+ |
+
boolean approve(ClassAttribute attribute)+
attribute
- class attribute to analyze for further processing or skippingCopyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/ClassInfo.html b/apidocs/uk/co/jemos/podam/api/ClassInfo.html old mode 100644 new mode 100755 index d722869e3..7ec2bf626 --- a/apidocs/uk/co/jemos/podam/api/ClassInfo.html +++ b/apidocs/uk/co/jemos/podam/api/ClassInfo.html @@ -1,473 +1,473 @@ - - - - - - -@Immutable -public class ClassInfo -extends Object -implements Serializable-
- The purpose of this class is to work as a sort of cache which stores the list - of declared fields and setter methods of a given class. These information - will then be analysed to compose the list of setters which can be invoked to - create the state of a given POJO. -
Modifier and Type | -Field and Description | -
---|---|
private Set<ClassAttribute> |
-classAttributes
-The Set of fields belonging to this class
- |
-
private Class<?> |
-className
-The Class name whose info are stored in this class
- |
-
private List<Method> |
-extraMethods |
-
private static long |
-serialVersionUID |
-
Constructor and Description | -
---|
ClassInfo(Class<?> className,
- Collection<ClassAttribute> classAttributes)
-Partial constructor.
- |
-
ClassInfo(Class<?> className,
- Collection<ClassAttribute> classAttributes,
- Collection<Method> extraMethods)
-Full constructor.
- |
-
Modifier and Type | -Method and Description | -
---|---|
boolean |
-equals(Object obj) |
-
Set<ClassAttribute> |
-getClassAttributes() |
-
Class<?> |
-getClassName()
-It returns the class name.
- |
-
int |
-hashCode() |
-
private static final long serialVersionUID-
private final Class<?> className-
private final Set<ClassAttribute> classAttributes-
public ClassInfo(Class<?> className, - Collection<ClassAttribute> classAttributes)-
className
- The class nameclassAttributes
- The collection of attributes belonging to this classpublic ClassInfo(Class<?> className, - Collection<ClassAttribute> classAttributes, - Collection<Method> extraMethods)-
className
- The class nameclassAttributes
- The collection of attributes belonging to this classextraMethods
- The collection of extra methods to executeCopyright © 2016. All rights reserved.
- - + + + + + + +@Immutable +public class ClassInfo +extends Object +implements Serializable+
+ The purpose of this class is to work as a sort of cache which stores the list + of declared fields and setter methods of a given class. These information + will then be analysed to compose the list of setters which can be invoked to + create the state of a given POJO. +
Modifier and Type | +Field and Description | +
---|---|
private Set<ClassAttribute> |
+classAttributes
+The Set of fields belonging to this class
+ |
+
private Class<?> |
+className
+The Class name whose info are stored in this class
+ |
+
private List<Method> |
+extraMethods |
+
private static long |
+serialVersionUID |
+
Constructor and Description | +
---|
ClassInfo(Class<?> className,
+ Collection<ClassAttribute> classAttributes)
+Partial constructor.
+ |
+
ClassInfo(Class<?> className,
+ Collection<ClassAttribute> classAttributes,
+ Collection<Method> extraMethods)
+Full constructor.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+equals(Object obj) |
+
Set<ClassAttribute> |
+getClassAttributes() |
+
Class<?> |
+getClassName()
+It returns the class name.
+ |
+
int |
+hashCode() |
+
private static final long serialVersionUID+
private final Class<?> className+
private final Set<ClassAttribute> classAttributes+
public ClassInfo(Class<?> className, + Collection<ClassAttribute> classAttributes)+
className
- The class nameclassAttributes
- The collection of attributes belonging to this classpublic ClassInfo(Class<?> className, + Collection<ClassAttribute> classAttributes, + Collection<Method> extraMethods)+
className
- The class nameclassAttributes
- The collection of attributes belonging to this classextraMethods
- The collection of extra methods to executeCopyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/ClassInfoStrategy.html b/apidocs/uk/co/jemos/podam/api/ClassInfoStrategy.html old mode 100644 new mode 100755 index 237162b54..54ee34fca --- a/apidocs/uk/co/jemos/podam/api/ClassInfoStrategy.html +++ b/apidocs/uk/co/jemos/podam/api/ClassInfoStrategy.html @@ -1,332 +1,332 @@ - - - - - - -public interface ClassInfoStrategy
-- It provides a tool for customization of class introspection process. -
Modifier and Type | -Method and Description | -
---|---|
ClassAttributeApprover |
-getClassAttributeApprover(Class<?> pojoClass) |
-
ClassInfo |
-getClassInfo(Class<?> pojoClass) |
-
Set<Class<? extends Annotation>> |
-getExcludedAnnotations()
-Identifies
-Annotation s for fields to be skipped. |
-
Set<String> |
-getExcludedFields(Class<?> pojoClass)
-Identifies fields to be skipped.
- |
-
Collection<Method> |
-getExtraMethods(Class<?> pojoClass)
-It returns the collection of extra methods to execute.
- |
-
Set<Class<? extends Annotation>> getExcludedAnnotations()-
Annotation
s for fields to be skipped.
-
- Should return set of annotations, which will be treated as notion for
- PodamFactory
to skip production of these particular fields.
-
Set<String> getExcludedFields(Class<?> pojoClass)-
- Should return set of field names as case-sensitive string, which will
- be treated as notion for PodamFactory
to skip production of
- these particular fields.
-
pojoClass
- a class for which fields should be skippedClassInfo getClassInfo(Class<?> pojoClass)-
pojoClass
- a class to introspect and fetch attributesClassInfo
ClassAttributeApprover getClassAttributeApprover(Class<?> pojoClass)-
Collection<Method> getExtraMethods(Class<?> pojoClass)-
pojoClass
- The pojo classCopyright © 2016. All rights reserved.
- - + + + + + + +public interface ClassInfoStrategy
++ It provides a tool for customization of class introspection process. +
Modifier and Type | +Method and Description | +
---|---|
ClassAttributeApprover |
+getClassAttributeApprover(Class<?> pojoClass) |
+
ClassInfo |
+getClassInfo(Class<?> pojoClass) |
+
Set<Class<? extends Annotation>> |
+getExcludedAnnotations()
+Identifies
+Annotation s for fields to be skipped. |
+
Set<String> |
+getExcludedFields(Class<?> pojoClass)
+Identifies fields to be skipped.
+ |
+
Collection<Method> |
+getExtraMethods(Class<?> pojoClass)
+It returns the collection of extra methods to execute.
+ |
+
Set<Class<? extends Annotation>> getExcludedAnnotations()+
Annotation
s for fields to be skipped.
+
+ Should return set of annotations, which will be treated as notion for
+ PodamFactory
to skip production of these particular fields.
+
Set<String> getExcludedFields(Class<?> pojoClass)+
+ Should return set of field names as case-sensitive string, which will
+ be treated as notion for PodamFactory
to skip production of
+ these particular fields.
+
pojoClass
- a class for which fields should be skippedClassInfo getClassInfo(Class<?> pojoClass)+
pojoClass
- a class to introspect and fetch attributesClassInfo
ClassAttributeApprover getClassAttributeApprover(Class<?> pojoClass)+
Collection<Method> getExtraMethods(Class<?> pojoClass)+
pojoClass
- The pojo classCopyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/DataProviderStrategy.Order.html b/apidocs/uk/co/jemos/podam/api/DataProviderStrategy.Order.html old mode 100644 new mode 100755 index d051620dc..19ec12efd --- a/apidocs/uk/co/jemos/podam/api/DataProviderStrategy.Order.html +++ b/apidocs/uk/co/jemos/podam/api/DataProviderStrategy.Order.html @@ -1,355 +1,355 @@ - - - - - - -public static enum DataProviderStrategy.Order -extends Enum<DataProviderStrategy.Order>-
Enum Constant and Description | -
---|
HEAVY_FIRST
-Constructors with more parameters have precedence
- |
-
LIGHT_FIRST
-Constructors with less parameters have precedence
- |
-
Modifier and Type | -Method and Description | -
---|---|
static DataProviderStrategy.Order |
-valueOf(String name)
-Returns the enum constant of this type with the specified name.
- |
-
static DataProviderStrategy.Order[] |
-values()
-Returns an array containing the constants of this enum type, in
-the order they are declared.
- |
-
public static final DataProviderStrategy.Order HEAVY_FIRST-
public static final DataProviderStrategy.Order LIGHT_FIRST-
public static DataProviderStrategy.Order[] values()-
-for (DataProviderStrategy.Order c : DataProviderStrategy.Order.values()) - System.out.println(c); -
public static DataProviderStrategy.Order valueOf(String name)-
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2016. All rights reserved.
- - + + + + + + +public static enum DataProviderStrategy.Order +extends Enum<DataProviderStrategy.Order>+
Enum Constant and Description | +
---|
HEAVY_FIRST
+Constructors with more parameters have precedence
+ |
+
LIGHT_FIRST
+Constructors with less parameters have precedence
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static DataProviderStrategy.Order |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static DataProviderStrategy.Order[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final DataProviderStrategy.Order HEAVY_FIRST+
public static final DataProviderStrategy.Order LIGHT_FIRST+
public static DataProviderStrategy.Order[] values()+
+for (DataProviderStrategy.Order c : DataProviderStrategy.Order.values()) + System.out.println(c); +
public static DataProviderStrategy.Order valueOf(String name)+
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/DataProviderStrategy.html b/apidocs/uk/co/jemos/podam/api/DataProviderStrategy.html old mode 100644 new mode 100755 index 53859ae1f..14efb321e --- a/apidocs/uk/co/jemos/podam/api/DataProviderStrategy.html +++ b/apidocs/uk/co/jemos/podam/api/DataProviderStrategy.html @@ -1,718 +1,802 @@ - - - - - - -public interface DataProviderStrategy
-
- PODAM is a tool to fill POJOs with data. There are different requirements
- when it comes to which data POJOs should be filled with. The default strategy
- adopted by PODAM is to fill POJOs with random data. However other
- requirements might dictate to assign deterministic data using sequences, or
- other predictable sources of data. In order to do so, clients of PODAM will
- have to provide an implementation of this interface and pass it to the
- constructor of the PodamFactoryImpl
class.
-
Modifier and Type | -Interface and Description | -
---|---|
static class |
-DataProviderStrategy.Order
-Specifies how to sort constructors
- |
-
Modifier and Type | -Method and Description | -
---|---|
<T> DataProviderStrategy |
-addOrReplaceSpecific(Class<T> abstractClass,
- Class<? extends T> specificClass)
-Bind an interface/abstract class to a specific implementation.
- |
-
<T> DataProviderStrategy |
-addOrReplaceTypeManufacturer(Class<? extends T> type,
- TypeManufacturer<T> typeManufacturer)
-Registers @TypeManufacturer implementation, which will be used to
- instantiate objects of a specified type.
- |
-
void |
-cacheMemoizedObject(AttributeMetadata attributeMetadata,
- Object instance)
-Saves object in memoization cache
- |
-
void |
-clearMemoizationCache()
-Clears memoization cache
- |
-
Class<?> |
-getFactoryClass(Class<?> nonInstantiatableClass)
-Resolves factory classes for abstract classes and interfaces.
- |
-
int |
-getMaxDepth(Class<?> type)
-Returns how many times it is allowed to PODAM to create an instance
- of the same class in a recursive hierarchy
- |
-
Object |
-getMemoizedObject(AttributeMetadata attributeMetadata)
-Obtains object from memoization cache
- |
-
int |
-getNumberOfCollectionElements(Class<?> type)
-Returns the number of default collection elements.
- |
-
<T> Class<? extends T> |
-getSpecificClass(Class<T> nonInstantiatableClass)
-Resolves abstract classes and interfaces.
- |
-
Class<AttributeStrategy<?>> |
-getStrategyForAnnotation(Class<? extends Annotation> annotationClass)
-Finds attribute strategies for annotations.
- |
-
<T> T |
-getTypeValue(AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap,
- Class<T> pojoType)
-Obtains a type value
- |
-
boolean |
-isMemoizationEnabled()
-Returns whether the memoization setting is enabled.
- |
-
<T> DataProviderStrategy |
-removeSpecific(Class<T> abstractClass)
-Remove binding of an interface/abstract class to a specific
- implementation
- |
-
<T> DataProviderStrategy |
-removeTypeManufacturer(Class<T> type)
-Remove binding of a class type to a specific
- implementation of type manufacturer
- |
-
void |
-setDefaultNumberOfCollectionElements(int newNumberOfCollectionElements)
-Sets the new default number of default collection elements.
- |
-
void |
-setMemoization(boolean isMemoizationEnabled)
-Sets whether memoization is enabled
- |
-
void |
-sort(Constructor<?>[] constructors,
- DataProviderStrategy.Order order)
-Rearranges POJO's constructors in order they will be tried to
- produce the POJO.
- |
-
void |
-sort(Method[] methods,
- DataProviderStrategy.Order order)
-Rearranges POJO's methods in order they will be tried to
- produce the POJO.
- |
-
<T> DataProviderStrategy addOrReplaceTypeManufacturer(Class<? extends T> type, - TypeManufacturer<T> typeManufacturer)-
T
- type of objects to be produced by the manufacturertype
- the specific class type the specified manufacturer
- will instantiate.typeManufacturer
- type manufacturer implementation to be registered<T> DataProviderStrategy removeTypeManufacturer(Class<T> type)-
T
- type of objects to be produced by the manufacturertype
- the specific class type to remove binding<T> T getTypeValue(AttributeMetadata attributeMetadata, - Map<String,Type> genericTypesArgumentsMap, - Class<T> pojoType)-
T
- type of returned objectattributeMetadata
- The AttributeMetadata informationgenericTypesArgumentsMap
- The generic attribute type argument typespojoType
- The class of the requested type<T> DataProviderStrategy addOrReplaceSpecific(Class<T> abstractClass, - Class<? extends T> specificClass)-
T
- return typeabstractClass
- the interface/abstract class to bindspecificClass
- the specific class implementing or extending
- abstractClass
.<T> DataProviderStrategy removeSpecific(Class<T> abstractClass)-
T
- return typeabstractClass
- the interface/abstract class to remove bindingint getNumberOfCollectionElements(Class<?> type)-
- Implementations of this interface need to provide this value. -
type
- Type of collection's elementsvoid setDefaultNumberOfCollectionElements(int newNumberOfCollectionElements)-
newNumberOfCollectionElements
- The new number of collection elements.int getMaxDepth(Class<?> type)-
- Implementations of this interface need to provide this value. -
type
- Type of POJO to be createdboolean isMemoizationEnabled()-
- Implementations of this interface need to provide this value. -
void setMemoization(boolean isMemoizationEnabled)-
isMemoizationEnabled
- whether memoization is enabledObject getMemoizedObject(AttributeMetadata attributeMetadata)-
attributeMetadata
- attribute metadata for instance to be fetchedvoid cacheMemoizedObject(AttributeMetadata attributeMetadata, - Object instance)-
attributeMetadata
- attribute metadata for instance being memoizedinstance
- object instance to save in memoization cachevoid clearMemoizationCache()-
void sort(Constructor<?>[] constructors, - DataProviderStrategy.Order order)-
constructors
- Array of POJO's constructorsorder
- DataProviderStrategy.Order
how to sort constructorsvoid sort(Method[] methods, - DataProviderStrategy.Order order)-
methods
- Array of POJO's methodsorder
- DataProviderStrategy.Order
how to sort constructorsClass<?> getFactoryClass(Class<?> nonInstantiatableClass)-
- Should return factory class type, which can be used to instantiate - an abstract class type or interface. -
nonInstantiatableClass
- Abstract class type or interfacenonInstantiatableClass
.<T> Class<? extends T> getSpecificClass(Class<T> nonInstantiatableClass)-
- Should return specific class type, which can be instantiated and assigned - to abstract class type or interface. -
T
- The type of class being resolvednonInstantiatableClass
- Abstract class type or interfacenonInstantiatableClass
.Class<AttributeStrategy<?>> getStrategyForAnnotation(Class<? extends Annotation> annotationClass)-
- Searches for mapping between annotations and attribute strategies, - which will be used then for populating fields or constructor parameters. -
annotationClass
- Annotation class to inspectCopyright © 2016. All rights reserved.
- - + + + + + + +public interface DataProviderStrategy
+
+ PODAM is a tool to fill POJOs with data. There are different requirements
+ when it comes to which data POJOs should be filled with. The default strategy
+ adopted by PODAM is to fill POJOs with random data. However other
+ requirements might dictate to assign deterministic data using sequences, or
+ other predictable sources of data. In order to do so, clients of PODAM will
+ have to provide an implementation of this interface and pass it to the
+ constructor of the PodamFactoryImpl
class.
+
Modifier and Type | +Interface and Description | +
---|---|
static class |
+DataProviderStrategy.Order
+Specifies how to sort constructors
+ |
+
Modifier and Type | +Method and Description | +
---|---|
DataProviderStrategy |
+addOrReplaceAttributeStrategy(Class<?> type,
+ String attributeName,
+ AttributeStrategy<?> attributeStrategy)
+Registers @AttributeStrategy implementation, which will be used to
+ instantiate objects of a specified type.
+ |
+
<T> DataProviderStrategy |
+addOrReplaceSpecific(Class<T> abstractClass,
+ Class<? extends T> specificClass)
+Bind an interface/abstract class to a specific implementation.
+ |
+
<T> DataProviderStrategy |
+addOrReplaceTypeManufacturer(Class<? extends T> type,
+ TypeManufacturer<T> typeManufacturer)
+Registers @TypeManufacturer implementation, which will be used to
+ instantiate objects of a specified type.
+ |
+
void |
+cacheMemoizedObject(AttributeMetadata attributeMetadata,
+ Object instance)
+Saves object in memoization cache
+ |
+
void |
+clearMemoizationCache()
+Clears memoization cache
+ |
+
Class<?> |
+getFactoryClass(Class<?> nonInstantiatableClass)
+Resolves factory classes for abstract classes and interfaces.
+ |
+
int |
+getMaxDepth(Class<?> type)
+Returns how many times it is allowed to PODAM to create an instance
+ of the same class in a recursive hierarchy
+ |
+
Object |
+getMemoizedObject(AttributeMetadata attributeMetadata)
+Obtains object from memoization cache
+ |
+
int |
+getNumberOfCollectionElements(Class<?> type)
+Returns the number of default collection elements.
+ |
+
<T> Class<? extends T> |
+getSpecificClass(Class<T> nonInstantiatableClass)
+Resolves abstract classes and interfaces.
+ |
+
AttributeStrategy<?> |
+getStrategyForAnnotation(Class<? extends Annotation> annotationClass)
+Finds attribute strategies for annotations.
+ |
+
AttributeStrategy<?> |
+getStrategyForAttribute(ClassAttribute attribute)
+Finds attribute strategies for attribute.
+ |
+
<T> T |
+getTypeValue(AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx,
+ Class<T> pojoType)
+Obtains a type value
+ |
+
boolean |
+isMemoizationEnabled()
+Returns whether the memoization setting is enabled.
+ |
+
DataProviderStrategy |
+removeAttributeStrategy(Class<?> type,
+ String attributeName)
+Removes @AttributeStrategy implementation from for the specific attribute
+ |
+
<T> DataProviderStrategy |
+removeSpecific(Class<T> abstractClass)
+Remove binding of an interface/abstract class to a specific
+ implementation
+ |
+
<T> DataProviderStrategy |
+removeTypeManufacturer(Class<T> type)
+Remove binding of a class type to a specific
+ implementation of type manufacturer
+ |
+
void |
+setDefaultNumberOfCollectionElements(int newNumberOfCollectionElements)
+Sets the new default number of default collection elements.
+ |
+
void |
+setMemoization(boolean isMemoizationEnabled)
+Sets whether memoization is enabled
+ |
+
void |
+sort(Constructor<?>[] constructors,
+ DataProviderStrategy.Order order)
+Rearranges POJO's constructors in order they will be tried to
+ produce the POJO.
+ |
+
void |
+sort(Method[] methods,
+ DataProviderStrategy.Order order)
+Rearranges POJO's methods in order they will be tried to
+ produce the POJO.
+ |
+
<T> DataProviderStrategy addOrReplaceTypeManufacturer(Class<? extends T> type, + TypeManufacturer<T> typeManufacturer)+
T
- type of objects to be produced by the manufacturertype
- the specific class type the specified manufacturer
+ will instantiate.typeManufacturer
- type manufacturer implementation to be registered<T> DataProviderStrategy removeTypeManufacturer(Class<T> type)+
T
- type of objects to be produced by the manufacturertype
- the specific class type to remove binding<T> T getTypeValue(AttributeMetadata attributeMetadata, + ManufacturingContext manufacturingCtx, + Class<T> pojoType)+
T
- type of returned objectattributeMetadata
- The AttributeMetadata informationmanufacturingCtx
- The pojo manufacturing context with generic attribute type argument typespojoType
- The class of the requested type<T> DataProviderStrategy addOrReplaceSpecific(Class<T> abstractClass, + Class<? extends T> specificClass)+
T
- return typeabstractClass
- the interface/abstract class to bindspecificClass
- the specific class implementing or extending
+ abstractClass
.<T> DataProviderStrategy removeSpecific(Class<T> abstractClass)+
T
- return typeabstractClass
- the interface/abstract class to remove bindingint getNumberOfCollectionElements(Class<?> type)+
+ Implementations of this interface need to provide this value. +
type
- Type of collection's elementsvoid setDefaultNumberOfCollectionElements(int newNumberOfCollectionElements)+
newNumberOfCollectionElements
- The new number of collection elements.int getMaxDepth(Class<?> type)+
+ Implementations of this interface need to provide this value. +
type
- Type of POJO to be createdboolean isMemoizationEnabled()+
+ Implementations of this interface need to provide this value. +
void setMemoization(boolean isMemoizationEnabled)+
isMemoizationEnabled
- whether memoization is enabledObject getMemoizedObject(AttributeMetadata attributeMetadata)+
attributeMetadata
- attribute metadata for instance to be fetchedvoid cacheMemoizedObject(AttributeMetadata attributeMetadata, + Object instance)+
attributeMetadata
- attribute metadata for instance being memoizedinstance
- object instance to save in memoization cachevoid clearMemoizationCache()+
void sort(Constructor<?>[] constructors, + DataProviderStrategy.Order order)+
constructors
- Array of POJO's constructorsorder
- DataProviderStrategy.Order
how to sort constructorsvoid sort(Method[] methods, + DataProviderStrategy.Order order)+
methods
- Array of POJO's methodsorder
- DataProviderStrategy.Order
how to sort constructorsClass<?> getFactoryClass(Class<?> nonInstantiatableClass)+
+ Should return factory class type, which can be used to instantiate + an abstract class type or interface. +
nonInstantiatableClass
- Abstract class type or interfacenonInstantiatableClass
.<T> Class<? extends T> getSpecificClass(Class<T> nonInstantiatableClass)+
+ Should return specific class type, which can be instantiated and assigned + to abstract class type or interface. +
T
- The type of class being resolvednonInstantiatableClass
- Abstract class type or interfacenonInstantiatableClass
.AttributeStrategy<?> getStrategyForAnnotation(Class<? extends Annotation> annotationClass)+
+ Searches for mapping between annotations and attribute strategies, + which will be used then for populating fields or constructor parameters. +
annotationClass
- Annotation class to inspectAttributeStrategy<?> getStrategyForAttribute(ClassAttribute attribute)+
+ Searches for mapping between class attribute and attribute strategies, + which will be used then for populating fields or constructor parameters. +
attribute
- attribute to be manufacturedDataProviderStrategy addOrReplaceAttributeStrategy(Class<?> type, + String attributeName, + AttributeStrategy<?> attributeStrategy)+
type
- the specific class type the specified manufacturer
+ will instantiate.attributeName
- attribute name to use attributeStrategy forattributeStrategy
- attribute strategy to be registeredDataProviderStrategy removeAttributeStrategy(Class<?> type, + String attributeName)+
type
- the specific class type the specified manufacturer
+ will instantiate.attributeName
- attribute name to use attributeStrategy forCopyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/DefaultClassInfoStrategy.html b/apidocs/uk/co/jemos/podam/api/DefaultClassInfoStrategy.html old mode 100644 new mode 100755 index dc7dbb9e1..b439938cc --- a/apidocs/uk/co/jemos/podam/api/DefaultClassInfoStrategy.html +++ b/apidocs/uk/co/jemos/podam/api/DefaultClassInfoStrategy.html @@ -1,377 +1,352 @@ - - - - - - -public final class DefaultClassInfoStrategy -extends AbstractClassInfoStrategy-
AbstractClassInfoStrategy
- - This singleton implementation performs class attribute introspection - on the basis of class declared fields -
Modifier and Type | -Field and Description | -
---|---|
private static DefaultClassInfoStrategy |
-SINGLETON
-The singleton instance of this implementation
- |
-
Modifier | -Constructor and Description | -
---|---|
private |
-DefaultClassInfoStrategy()
-Implementation of the Singleton pattern
- |
-
Modifier and Type | -Method and Description | -
---|---|
static DefaultClassInfoStrategy |
-getInstance()
-Implementation of the Singleton pattern
- |
-
static DefaultClassInfoStrategy |
-getInstance(int nbrCollectionElements)
-Other factory method which assigns a default number of collection
- elements before returning the singleton.
- |
-
addExcludedAnnotation, addExcludedField, addExtraMethod, approve, getClassAttributeApprover, getClassInfo, getExcludedAnnotations, getExcludedFields, getExtraMethods, removeExcludedAnnotation, removeExcludedField
private static final DefaultClassInfoStrategy SINGLETON-
private DefaultClassInfoStrategy()-
public static DefaultClassInfoStrategy getInstance()-
public static DefaultClassInfoStrategy getInstance(int nbrCollectionElements)-
nbrCollectionElements
- The number of collection elementsCopyright © 2016. All rights reserved.
- - + + + + + + +public final class DefaultClassInfoStrategy +extends AbstractClassInfoStrategy+
AbstractClassInfoStrategy
+ + This singleton implementation performs class attribute introspection + on the basis of class declared fields +
Modifier and Type | +Field and Description | +
---|---|
private static DefaultClassInfoStrategy |
+SINGLETON
+The singleton instance of this implementation
+ |
+
Modifier | +Constructor and Description | +
---|---|
private |
+DefaultClassInfoStrategy()
+Implementation of the Singleton pattern
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static DefaultClassInfoStrategy |
+getInstance()
+Implementation of the Singleton pattern
+ |
+
addExcludedAnnotation, addExcludedField, addExtraMethod, approve, extractFieldNameFromMethod, findPojoAttributes, getClassAttributeApprover, getClassInfo, getClassInfo, getExcludedAnnotations, getExcludedFields, getExtraMethods, getGetterPattern, getSetterPattern, removeExcludedAnnotation, removeExcludedField
private static final DefaultClassInfoStrategy SINGLETON+
private DefaultClassInfoStrategy()+
public static DefaultClassInfoStrategy getInstance()+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/MapArguments.html b/apidocs/uk/co/jemos/podam/api/MapArguments.html old mode 100644 new mode 100755 index 3ef1a1837..b4377698a --- a/apidocs/uk/co/jemos/podam/api/MapArguments.html +++ b/apidocs/uk/co/jemos/podam/api/MapArguments.html @@ -1,544 +1,477 @@ - - - - - - -public class MapArguments -extends AbstractMapArguments -implements Serializable-
Modifier and Type | -Field and Description | -
---|---|
private Class<?> |
-elementClass
-The type of the Map element.
- |
-
private Type[] |
-elementGenericTypeArgs
-The generic type arguments for the current element generic class
- instance.
- |
-
private Class<?> |
-keyClass
-The type of the Map key.
- |
-
private Type[] |
-keyGenericTypeArgs
-The generic type arguments for the current key generic class instance.
- |
-
private static long |
-serialVersionUID |
-
Constructor and Description | -
---|
MapArguments() |
-
Modifier and Type | -Method and Description | -
---|---|
Class<?> |
-getElementClass() |
-
Type[] |
-getElementGenericTypeArgs() |
-
Class<?> |
-getKeyClass() |
-
Type[] |
-getKeyGenericTypeArgs() |
-
void |
-setElementClass(Class<?> elementClass) |
-
void |
-setElementGenericTypeArgs(Type[] elementGenericTypeArgs) |
-
void |
-setKeyClass(Class<?> keyClass) |
-
void |
-setKeyGenericTypeArgs(Type[] keyGenericTypeArgs) |
-
String |
-toString() |
-
getAnnotations, getAttributeName, getMapToBeFilled, setAnnotations, setAttributeName, setMapToBeFilled
private static final long serialVersionUID-
private Class<?> keyClass-
private Class<?> elementClass-
private Type[] keyGenericTypeArgs-
private Type[] elementGenericTypeArgs-
public Class<?> getKeyClass()-
public void setKeyClass(Class<?> keyClass)-
keyClass
- the keyClass to setpublic Class<?> getElementClass()-
public void setElementClass(Class<?> elementClass)-
elementClass
- the elementClass to setpublic Type[] getKeyGenericTypeArgs()-
public void setKeyGenericTypeArgs(Type[] keyGenericTypeArgs)-
keyGenericTypeArgs
- the keyGenericTypeArgs to setpublic Type[] getElementGenericTypeArgs()-
public void setElementGenericTypeArgs(Type[] elementGenericTypeArgs)-
elementGenericTypeArgs
- the elementGenericTypeArgs to setpublic String toString()-
toString
in class AbstractMapArguments
Copyright © 2016. All rights reserved.
- - + + + + + + +public class MapArguments +extends AbstractMapArguments +implements Serializable+
Modifier and Type | +Field and Description | +
---|---|
private Class<?> |
+elementClass
+The type of the Map element.
+ |
+
private Type[] |
+elementGenericTypeArgs
+The generic type arguments for the current element generic class
+ instance.
+ |
+
private Type[] |
+keyGenericTypeArgs
+The generic type arguments for the current key generic class instance.
+ |
+
private static long |
+serialVersionUID |
+
Constructor and Description | +
---|
MapArguments() |
+
Modifier and Type | +Method and Description | +
---|---|
Class<?> |
+getElementClass() |
+
Type[] |
+getElementGenericTypeArgs() |
+
Type[] |
+getKeyGenericTypeArgs() |
+
void |
+setElementClass(Class<?> elementClass) |
+
void |
+setElementGenericTypeArgs(Type[] elementGenericTypeArgs) |
+
void |
+setKeyGenericTypeArgs(Type[] keyGenericTypeArgs) |
+
getAnnotations, getAttributeName, getKeyOrValueType, getMapToBeFilled, setAttributeName, setKeyOrValueType, setMapToBeFilled
private static final long serialVersionUID+
private Class<?> elementClass+
private Type[] keyGenericTypeArgs+
private Type[] elementGenericTypeArgs+
public Class<?> getElementClass()+
public void setElementClass(Class<?> elementClass)+
elementClass
- the elementClass to setpublic Type[] getKeyGenericTypeArgs()+
public void setKeyGenericTypeArgs(Type[] keyGenericTypeArgs)+
keyGenericTypeArgs
- the keyGenericTypeArgs to setpublic Type[] getElementGenericTypeArgs()+
public void setElementGenericTypeArgs(Type[] elementGenericTypeArgs)+
elementGenericTypeArgs
- the elementGenericTypeArgs to setCopyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/MapKeyOrElementsArguments.html b/apidocs/uk/co/jemos/podam/api/MapKeyOrElementsArguments.html old mode 100644 new mode 100755 index c246c359c..1be9f3b4e --- a/apidocs/uk/co/jemos/podam/api/MapKeyOrElementsArguments.html +++ b/apidocs/uk/co/jemos/podam/api/MapKeyOrElementsArguments.html @@ -1,495 +1,428 @@ - - - - - - -public class MapKeyOrElementsArguments -extends AbstractMapArguments -implements Serializable-
Modifier and Type | -Field and Description | -
---|---|
private AttributeStrategy<?> |
-elementStrategy
-The strategy to use to fill the Map key or value element.
- |
-
private Type[] |
-genericTypeArgs
-The generic type arguments for the current generic class
- instance.
- |
-
private Class<?> |
-keyOrValueType
-The Map key / element type.
- |
-
private static long |
-serialVersionUID |
-
Constructor and Description | -
---|
MapKeyOrElementsArguments() |
-
Modifier and Type | -Method and Description | -
---|---|
AttributeStrategy<?> |
-getElementStrategy() |
-
Type[] |
-getGenericTypeArgs() |
-
Class<?> |
-getKeyOrValueType() |
-
void |
-setElementStrategy(AttributeStrategy<?> elementStrategy) |
-
void |
-setGenericTypeArgs(Type[] genericTypeArgs) |
-
void |
-setKeyOrValueType(Class<?> keyOrValueType) |
-
String |
-toString() |
-
getAnnotations, getAttributeName, getMapToBeFilled, setAnnotations, setAttributeName, setMapToBeFilled
private static final long serialVersionUID-
private Class<?> keyOrValueType-
private AttributeStrategy<?> elementStrategy-
private Type[] genericTypeArgs-
public MapKeyOrElementsArguments()-
public Class<?> getKeyOrValueType()-
public void setKeyOrValueType(Class<?> keyOrValueType)-
keyOrValueType
- the keyOrValueType to setpublic AttributeStrategy<?> getElementStrategy()-
public void setElementStrategy(AttributeStrategy<?> elementStrategy)-
elementStrategy
- the elementStrategy to setpublic Type[] getGenericTypeArgs()-
public void setGenericTypeArgs(Type[] genericTypeArgs)-
genericTypeArgs
- the genericTypeArgs to setpublic String toString()-
toString
in class AbstractMapArguments
Copyright © 2016. All rights reserved.
- - + + + + + + +public class MapKeyOrElementsArguments +extends AbstractMapArguments +implements Serializable+
Modifier and Type | +Field and Description | +
---|---|
private AttributeStrategy<?> |
+elementStrategy
+The strategy to use to fill the Map key or value element.
+ |
+
private Type[] |
+genericTypeArgs
+The generic type arguments for the current generic class
+ instance.
+ |
+
private static long |
+serialVersionUID |
+
Constructor and Description | +
---|
MapKeyOrElementsArguments() |
+
Modifier and Type | +Method and Description | +
---|---|
AttributeStrategy<?> |
+getElementStrategy() |
+
Type[] |
+getGenericTypeArgs() |
+
void |
+setElementStrategy(AttributeStrategy<?> elementStrategy) |
+
void |
+setGenericTypeArgs(Type[] genericTypeArgs) |
+
getAnnotations, getAttributeName, getKeyOrValueType, getMapToBeFilled, setAttributeName, setKeyOrValueType, setMapToBeFilled
private static final long serialVersionUID+
private AttributeStrategy<?> elementStrategy+
private Type[] genericTypeArgs+
public MapKeyOrElementsArguments()+
public AttributeStrategy<?> getElementStrategy()+
public void setElementStrategy(AttributeStrategy<?> elementStrategy)+
elementStrategy
- the elementStrategy to setpublic Type[] getGenericTypeArgs()+
public void setGenericTypeArgs(Type[] genericTypeArgs)+
genericTypeArgs
- the genericTypeArgs to setCopyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/NullExternalFactory.html b/apidocs/uk/co/jemos/podam/api/NullExternalFactory.html old mode 100644 new mode 100755 index e9e677cb8..f981ee2e0 --- a/apidocs/uk/co/jemos/podam/api/NullExternalFactory.html +++ b/apidocs/uk/co/jemos/podam/api/NullExternalFactory.html @@ -1,420 +1,420 @@ - - - - - - -public class NullExternalFactory -extends AbstractExternalFactory-
Modifier and Type | -Field and Description | -
---|---|
private static org.slf4j.Logger |
-LOG
-Application logger
- |
-
Modifier | -Constructor and Description | -
---|---|
private |
-NullExternalFactory()
-Implementation of the Singleton pattern
- |
-
Modifier and Type | -Method and Description | -
---|---|
static NullExternalFactory |
-getInstance()
-Instantiation method
- |
-
<T> T |
-manufacturePojo(Class<T> pojoClass,
- Type... genericTypeArgs)
-Generic method which returns an instance of the given class filled with
- dummy values, using the default data provider strategy.
- |
-
<T> T |
-populatePojo(T pojo,
- Type... genericTypeArgs)
-Generic method which populates an instance of the given class with
- dummy values, using the default data provider strategy.
- |
-
getClassStrategy, getExternalFactory, getStrategy, manufacturePojoWithFullData, setClassStrategy, setExternalFactory, setStrategy
private static final org.slf4j.Logger LOG-
private NullExternalFactory()-
public static NullExternalFactory getInstance()-
public <T> T manufacturePojo(Class<T> pojoClass, - Type... genericTypeArgs)-
- This method uses RandomDataProviderStrategyImpl
as the default
- implementation.
-
T
- The type for which a filled instance is requiredpojoClass
- The name of the class for which an instance filled with values
- is requiredgenericTypeArgs
- The generic Type arguments for a generic class instancepublic <T> T populatePojo(T pojo, - Type... genericTypeArgs)-
PodamFactory
- This method uses RandomDataProviderStrategyImpl
as the default
- implementation.
-
T
- The type for which a filled instance is requiredpojo
- The instance to be filled with valuesgenericTypeArgs
- The generic Type arguments for a generic class instanceCopyright © 2016. All rights reserved.
- - + + + + + + +public class NullExternalFactory +extends AbstractExternalFactory+
Modifier and Type | +Field and Description | +
---|---|
private static org.slf4j.Logger |
+LOG
+Application logger
+ |
+
Modifier | +Constructor and Description | +
---|---|
private |
+NullExternalFactory()
+Implementation of the Singleton pattern
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static NullExternalFactory |
+getInstance()
+Instantiation method
+ |
+
<T> T |
+manufacturePojo(Class<T> pojoClass,
+ Type... genericTypeArgs)
+Generic method which returns an instance of the given class filled with
+ dummy values, using the default data provider strategy.
+ |
+
<T> T |
+populatePojo(T pojo,
+ Type... genericTypeArgs)
+Generic method which populates an instance of the given class with
+ dummy values, using the default data provider strategy.
+ |
+
getClassStrategy, getExternalFactory, getStrategy, manufacturePojoWithFullData, setClassStrategy, setExternalFactory, setStrategy
private static final org.slf4j.Logger LOG+
private NullExternalFactory()+
public static NullExternalFactory getInstance()+
public <T> T manufacturePojo(Class<T> pojoClass, + Type... genericTypeArgs)+
+ This method uses RandomDataProviderStrategyImpl
as the default
+ implementation.
+
T
- The type for which a filled instance is requiredpojoClass
- The name of the class for which an instance filled with values
+ is requiredgenericTypeArgs
- The generic Type arguments for a generic class instancepublic <T> T populatePojo(T pojo, + Type... genericTypeArgs)+
PodamFactory
+ This method uses RandomDataProviderStrategyImpl
as the default
+ implementation.
+
T
- The type for which a filled instance is requiredpojo
- The instance to be filled with valuesgenericTypeArgs
- The generic Type arguments for a generic class instanceCopyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/ObjectStrategy.html b/apidocs/uk/co/jemos/podam/api/ObjectStrategy.html old mode 100644 new mode 100755 index 8faf9ad2d..5b2880371 --- a/apidocs/uk/co/jemos/podam/api/ObjectStrategy.html +++ b/apidocs/uk/co/jemos/podam/api/ObjectStrategy.html @@ -1,294 +1,299 @@ - - - - - - -public class ObjectStrategy -extends Object -implements AttributeStrategy<Object>-
PodamCollection.collectionElementStrategy()
.Constructor and Description | -
---|
ObjectStrategy() |
-
Modifier and Type | -Method and Description | -
---|---|
Object |
-getValue()
-It returns a value of the given type
- |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +public class ObjectStrategy +extends Object +implements AttributeStrategy<Object>+
PodamCollection.collectionElementStrategy()
.Constructor and Description | +
---|
ObjectStrategy() |
+
Modifier and Type | +Method and Description | +
---|---|
Object |
+getValue(Class<?> attrType,
+ List<Annotation> attrAnnotations)
+It returns a value of the given type
+ |
+
public Object getValue(Class<?> attrType, + List<Annotation> attrAnnotations)+
getValue
in interface AttributeStrategy<Object>
attrType
- an attribute's typeattrAnnotations
- list of annotations attached to an attributeCopyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/PodamFactory.html b/apidocs/uk/co/jemos/podam/api/PodamFactory.html old mode 100644 new mode 100755 index 15a6062de..1e54b2b65 --- a/apidocs/uk/co/jemos/podam/api/PodamFactory.html +++ b/apidocs/uk/co/jemos/podam/api/PodamFactory.html @@ -1,468 +1,468 @@ - - - - - - -public interface PodamFactory
-Modifier and Type | -Method and Description | -
---|---|
ClassInfoStrategy |
-getClassStrategy()
-It returns the class info strategy for this factory.
- |
-
PodamFactory |
-getExternalFactory()
-It returns the external factory assigned to this factory.
- |
-
DataProviderStrategy |
-getStrategy()
-It returns the strategy for this factory.
- |
-
<T> T |
-manufacturePojo(Class<T> pojoClass,
- Type... genericTypeArgs)
-Generic method which returns an instance of the given class filled with
- dummy values, using the default data provider strategy.
- |
-
<T> T |
-manufacturePojoWithFullData(Class<T> pojoClass,
- Type... genericTypeArgs)
-Generic method which returns an instance of the given class filled with
- dummy values, using the default data provider strategy.
- |
-
<T> T |
-populatePojo(T pojo,
- Type... genericTypeArgs)
-Generic method which populates an instance of the given class with
- dummy values, using the default data provider strategy.
- |
-
PodamFactory |
-setClassStrategy(ClassInfoStrategy classInfoStrategy)
-Sets the class info strategy for this factory
- |
-
PodamFactory |
-setExternalFactory(PodamFactory externalFactory)
-Sets an external factory for this factory to delegate requests it cannot
- process
- |
-
PodamFactory |
-setStrategy(DataProviderStrategy strategy)
-Sets the data provider strategy for this factory
- |
-
<T> T manufacturePojo(Class<T> pojoClass, - Type... genericTypeArgs)-
- This method uses RandomDataProviderStrategyImpl
as the default
- implementation.
-
T
- The type for which a filled instance is requiredpojoClass
- The name of the class for which an instance filled with values
- is requiredgenericTypeArgs
- The generic Type arguments for a generic class instancePodamMockeryException
- if a problem occurred while creating a POJO instance or while
- setting its state<T> T manufacturePojoWithFullData(Class<T> pojoClass, - Type... genericTypeArgs)-
- This method uses RandomDataProviderStrategyImpl
as the default
- implementation.
-
T
- The type for which a filled instance is requiredpojoClass
- The name of the class for which an instance filled with values
- is requiredgenericTypeArgs
- The generic Type arguments for a generic class instancePodamMockeryException
- if a problem occurred while creating a POJO instance or while
- setting its state<T> T populatePojo(T pojo, - Type... genericTypeArgs)-
- This method uses RandomDataProviderStrategyImpl
as the default
- implementation.
-
T
- The type for which a filled instance is requiredpojo
- The instance to be filled with valuesgenericTypeArgs
- The generic Type arguments for a generic class instancePodamMockeryException
- if a problem occurred while creating a POJO instance or while
- setting its stateDataProviderStrategy getStrategy()-
PodamFactory setStrategy(DataProviderStrategy strategy)-
strategy
- A data provider strategy to be used by this factoryPodamFactory getExternalFactory()-
PodamFactory setExternalFactory(PodamFactory externalFactory)-
externalFactory
- An external factory to be used by this factoryClassInfoStrategy getClassStrategy()-
PodamFactory setClassStrategy(ClassInfoStrategy classInfoStrategy)-
classInfoStrategy
- A class info strategy to be used by this factoryCopyright © 2016. All rights reserved.
- - + + + + + + +public interface PodamFactory
+Modifier and Type | +Method and Description | +
---|---|
ClassInfoStrategy |
+getClassStrategy()
+It returns the class info strategy for this factory.
+ |
+
PodamFactory |
+getExternalFactory()
+It returns the external factory assigned to this factory.
+ |
+
DataProviderStrategy |
+getStrategy()
+It returns the strategy for this factory.
+ |
+
<T> T |
+manufacturePojo(Class<T> pojoClass,
+ Type... genericTypeArgs)
+Generic method which returns an instance of the given class filled with
+ dummy values, using the default data provider strategy.
+ |
+
<T> T |
+manufacturePojoWithFullData(Class<T> pojoClass,
+ Type... genericTypeArgs)
+Generic method which returns an instance of the given class filled with
+ dummy values, using the default data provider strategy.
+ |
+
<T> T |
+populatePojo(T pojo,
+ Type... genericTypeArgs)
+Generic method which populates an instance of the given class with
+ dummy values, using the default data provider strategy.
+ |
+
PodamFactory |
+setClassStrategy(ClassInfoStrategy classInfoStrategy)
+Sets the class info strategy for this factory
+ |
+
PodamFactory |
+setExternalFactory(PodamFactory externalFactory)
+Sets an external factory for this factory to delegate requests it cannot
+ process
+ |
+
PodamFactory |
+setStrategy(DataProviderStrategy strategy)
+Sets the data provider strategy for this factory
+ |
+
<T> T manufacturePojo(Class<T> pojoClass, + Type... genericTypeArgs)+
+ This method uses RandomDataProviderStrategyImpl
as the default
+ implementation.
+
T
- The type for which a filled instance is requiredpojoClass
- The name of the class for which an instance filled with values
+ is requiredgenericTypeArgs
- The generic Type arguments for a generic class instancePodamMockeryException
- if a problem occurred while creating a POJO instance or while
+ setting its state<T> T manufacturePojoWithFullData(Class<T> pojoClass, + Type... genericTypeArgs)+
+ This method uses RandomDataProviderStrategyImpl
as the default
+ implementation.
+
T
- The type for which a filled instance is requiredpojoClass
- The name of the class for which an instance filled with values
+ is requiredgenericTypeArgs
- The generic Type arguments for a generic class instancePodamMockeryException
- if a problem occurred while creating a POJO instance or while
+ setting its state<T> T populatePojo(T pojo, + Type... genericTypeArgs)+
+ This method uses RandomDataProviderStrategyImpl
as the default
+ implementation.
+
T
- The type for which a filled instance is requiredpojo
- The instance to be filled with valuesgenericTypeArgs
- The generic Type arguments for a generic class instancePodamMockeryException
- if a problem occurred while creating a POJO instance or while
+ setting its stateDataProviderStrategy getStrategy()+
PodamFactory setStrategy(DataProviderStrategy strategy)+
strategy
- A data provider strategy to be used by this factoryPodamFactory getExternalFactory()+
PodamFactory setExternalFactory(PodamFactory externalFactory)+
externalFactory
- An external factory to be used by this factoryClassInfoStrategy getClassStrategy()+
PodamFactory setClassStrategy(ClassInfoStrategy classInfoStrategy)+
classInfoStrategy
- A class info strategy to be used by this factoryCopyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/PodamFactoryImpl.html b/apidocs/uk/co/jemos/podam/api/PodamFactoryImpl.html old mode 100644 new mode 100755 index d104daba0..c34a09af6 --- a/apidocs/uk/co/jemos/podam/api/PodamFactoryImpl.html +++ b/apidocs/uk/co/jemos/podam/api/PodamFactoryImpl.html @@ -1,1560 +1,1653 @@ - - - - - - -@NotThreadSafe - @Immutable -public class PodamFactoryImpl -extends Object -implements PodamFactory-
Modifier and Type | -Field and Description | -
---|---|
private ClassInfoStrategy |
-classInfoStrategy
-The strategy to use to introspect data.
- |
-
private PodamFactory |
-externalFactory
-External factory to delegate production this factory cannot handle
- |
-
private static org.slf4j.Logger |
-LOG
-Application logger
- |
-
private static String |
-MAP_CREATION_EXCEPTION_STR |
-
private static String |
-RESOLVING_COLLECTION_EXCEPTION_STR |
-
private DataProviderStrategy |
-strategy
-The strategy to use to fill data.
- |
-
Constructor and Description | -
---|
PodamFactoryImpl()
-Default constructor.
- |
-
PodamFactoryImpl(DataProviderStrategy strategy)
-Constructor with non-default strategy
- |
-
PodamFactoryImpl(PodamFactory externalFactory)
-Constructor with non-default external factory
- |
-
PodamFactoryImpl(PodamFactory externalFactory,
- DataProviderStrategy strategy)
-Full constructor.
- |
-
Modifier and Type | -Method and Description | -
---|---|
private <T> T |
-doManufacturePojo(Class<T> pojoClass,
- ManufacturingContext manufacturingCtx,
- Type... genericTypeArgs)
-Manufactures and populates the pojo class
- |
-
private void |
-fillCollection(ManufacturingContext manufacturingCtx,
- List<Annotation> annotations,
- String attributeName,
- Collection<? super Object> collection,
- Class<?> collectionElementType,
- Type... genericTypeArgs)
-It fills a collection with the required number of elements of the
- required type.
- |
-
private void |
-fillMap(MapArguments mapArguments,
- ManufacturingContext manufacturingCtx)
-It fills a Map with the required number of elements of the required type.
- |
-
private Class<?> |
-findInheretedCollectionElementType(Collection<Object> collection,
- ManufacturingContext manufacturingCtx,
- AtomicReference<Type[]> elementGenericTypeArgs,
- Map<String,Type> typeArgsMap,
- Type... genericTypeArgs)
-Tries to find collection element type from collection object
- |
-
private MapArguments |
-findInheretedMapElementType(Map<Object,Object> map,
- ManufacturingContext manufacturingCtx,
- Map<String,Type> typeArgsMap,
- Type... genericTypeArgs)
-Finds key and element type arguments
- |
-
ClassInfoStrategy |
-getClassStrategy()
-It returns the class info strategy for this factory.
- |
-
PodamFactory |
-getExternalFactory()
-It returns the external factory assigned to this factory.
- |
-
private Object |
-getMapKeyOrElementValue(MapKeyOrElementsArguments keyOrElementsArguments,
- ManufacturingContext manufacturingCtx)
-It fills a Map key or value with the appropriate value, considering
- attribute-level customisation.
- |
-
private Object[] |
-getParameterValuesForConstructor(Constructor<?> constructor,
- Class<?> pojoClass,
- ManufacturingContext manufacturingCtx,
- Map<String,Type> typeArgsMap,
- Type... genericTypeArgs)
-Given a constructor it manufactures and returns the parameter values
- required to invoke it
- |
-
private Object[] |
-getParameterValuesForMethod(Method method,
- Class<?> pojoClass,
- ManufacturingContext manufacturingCtx,
- Map<String,Type> typeArgsMap,
- Type... genericTypeArgs)
-Given a method it manufactures and returns the parameter values
- required to invoke it
- |
-
DataProviderStrategy |
-getStrategy()
-It returns the strategy for this factory.
- |
-
private <T> T |
-getValueForAbstractType(Class<T> pojoClass,
- AttributeMetadata pojoMetadata,
- ManufacturingContext manufacturingCtx,
- Map<String,Type> typeArgsMap,
- Type[] genericTypeArgs)
-Returns a value for an abstract type or interface if possible.
- |
-
private <T> T |
-instantiatePojo(Class<T> pojoClass,
- ManufacturingContext manufacturingCtx,
- Map<String,Type> typeArgsMap,
- Type... genericTypeArgs)
-It creates and returns an instance of the given class if at least one of
- its constructors has been annotated with
-PodamConstructor |
-
private <T> T |
-instantiatePojoWithFactory(Class<?> factoryClass,
- Class<T> pojoClass,
- ManufacturingContext manufacturingCtx,
- Map<String,Type> typeArgsMap,
- Type... genericTypeArgs)
-It attempts to create an instance of the given class with a static method
- of the factory
- |
-
private Object |
-manufactureAttributeValue(Object pojo,
- ManufacturingContext manufacturingCtx,
- Class<?> attributeType,
- Type genericAttributeType,
- List<Annotation> annotations,
- String attributeName,
- Map<String,Type> typeArgsMap,
- Type... genericTypeArgs)
-It manufactures and returns the value for a POJO attribute.
- |
-
private Object |
-manufactureParameterValue(Class<?> pojoClass,
- Class<?> parameterType,
- Type genericType,
- List<Annotation> annotations,
- Map<String,Type> typeArgsMap,
- ManufacturingContext manufacturingCtx,
- Type... genericTypeArgs)
-Manufactures and returns the parameter value for method required to
- invoke it
- |
-
<T> T |
-manufacturePojo(Class<T> pojoClass,
- Type... genericTypeArgs)
-Generic method which returns an instance of the given class filled with
- dummy values, using the default data provider strategy.
- |
-
private <T> T |
-manufacturePojoInternal(Class<T> pojoClass,
- AttributeMetadata pojoMetadata,
- ManufacturingContext manufacturingCtx,
- Type... genericTypeArgs)
-Generic method which returns an instance of the given class filled with
- values dictated by the strategy
- |
-
<T> T |
-manufacturePojoWithFullData(Class<T> pojoClass,
- Type... genericTypeArgs)
-Generic method which returns an instance of the given class filled with
- dummy values, using the default data provider strategy.
- |
-
<T> T |
-populatePojo(T pojo,
- Type... genericTypeArgs)
-Generic method which populates an instance of the given class with
- dummy values, using the default data provider strategy.
- |
-
private <T> T |
-populatePojoInternal(T pojo,
- ManufacturingContext manufacturingCtx,
- Map<String,Type> typeArgsMap,
- Type... genericTypeArgs)
-Fills given class filled with values dictated by the strategy
- |
-
private Object |
-resolveArrayElementValue(Object pojo,
- ManufacturingContext manufacturingCtx,
- AttributeMetadata attributeMetadata,
- Map<String,Type> typeArgsMap)
-It returns an Array with the first element set
- |
-
private Collection<? super Object> |
-resolveCollectionValueWhenCollectionIsPojoAttribute(Object pojo,
- ManufacturingContext manufacturingCtx,
- AttributeMetadata attributeMetadata,
- Map<String,Type> typeArgsMap)
-It returns a collection of some sort with some data in it.
- |
-
private Map<? super Object,? super Object> |
-resolveMapValueWhenMapIsPojoAttribute(Object pojo,
- ManufacturingContext manufacturingCtx,
- AttributeMetadata attributeMetadata,
- Map<String,Type> typeArgsMap)
-It manufactures and returns a Map with at least one element in it
- |
-
private <T> T |
-resortToExternalFactory(ManufacturingContext manufacturingCtx,
- String msg,
- Class<T> pojoClass,
- Type... genericTypeArgs)
-Delegates POJO manufacturing to an external factory
- |
-
PodamFactory |
-setClassStrategy(ClassInfoStrategy classInfoStrategy)
-Sets the class info strategy for this factory
- |
-
PodamFactory |
-setExternalFactory(PodamFactory externalFactory)
-Sets an external factory for this factory to delegate requests it cannot
- process
- |
-
PodamFactory |
-setStrategy(DataProviderStrategy strategy)
-Sets the data provider strategy for this factory
- |
-
private static final String RESOLVING_COLLECTION_EXCEPTION_STR-
private static final String MAP_CREATION_EXCEPTION_STR-
private static final org.slf4j.Logger LOG-
private PodamFactory externalFactory-
- The default is NullExternalFactory
.
-
private DataProviderStrategy strategy-
- The default is RandomDataProviderStrategyImpl
.
-
private ClassInfoStrategy classInfoStrategy-
- The default is DefaultClassInfoStrategy
.
-
public PodamFactoryImpl()-
public PodamFactoryImpl(DataProviderStrategy strategy)-
strategy
- The strategy to use to fill datapublic PodamFactoryImpl(PodamFactory externalFactory)-
externalFactory
- External factory to delegate production this factory cannot
- handlepublic PodamFactoryImpl(PodamFactory externalFactory, - DataProviderStrategy strategy)-
externalFactory
- External factory to delegate production this factory cannot
- handlestrategy
- The strategy to use to fill datapublic <T> T manufacturePojoWithFullData(Class<T> pojoClass, - Type... genericTypeArgs)-
- This method uses RandomDataProviderStrategyImpl
as the default
- implementation.
-
manufacturePojoWithFullData
in interface PodamFactory
T
- The type for which a filled instance is requiredpojoClass
- The name of the class for which an instance filled with values
- is requiredgenericTypeArgs
- The generic Type arguments for a generic class instancepublic <T> T manufacturePojo(Class<T> pojoClass, - Type... genericTypeArgs)-
- This method uses RandomDataProviderStrategyImpl
as the default
- implementation.
-
manufacturePojo
in interface PodamFactory
T
- The type for which a filled instance is requiredpojoClass
- The name of the class for which an instance filled with values
- is requiredgenericTypeArgs
- The generic Type arguments for a generic class instancepublic <T> T populatePojo(T pojo, - Type... genericTypeArgs)-
- This method uses RandomDataProviderStrategyImpl
as the default
- implementation.
-
populatePojo
in interface PodamFactory
T
- The type for which a filled instance is requiredpojo
- The instance to be filled with valuesgenericTypeArgs
- The generic Type arguments for a generic class instancepublic DataProviderStrategy getStrategy()-
getStrategy
in interface PodamFactory
public PodamFactory setStrategy(DataProviderStrategy strategy)-
setStrategy
in interface PodamFactory
strategy
- A data provider strategy to be used by this factorypublic ClassInfoStrategy getClassStrategy()-
getClassStrategy
in interface PodamFactory
public PodamFactory setClassStrategy(ClassInfoStrategy classInfoStrategy)-
setClassStrategy
in interface PodamFactory
classInfoStrategy
- A class info strategy to be used by this factorypublic PodamFactory getExternalFactory()-
getExternalFactory
in interface PodamFactory
public PodamFactory setExternalFactory(PodamFactory externalFactory)-
setExternalFactory
in interface PodamFactory
externalFactory
- An external factory to be used by this factoryprivate <T> T instantiatePojoWithFactory(Class<?> factoryClass, - Class<T> pojoClass, - ManufacturingContext manufacturingCtx, - Map<String,Type> typeArgsMap, - Type... genericTypeArgs) - throws InstantiationException, - IllegalAccessException, - InvocationTargetException, - ClassNotFoundException-
- This method attempts to instantiate POJO with a static method of provided - factory, for example, getInstance(). -
T
- The type of Pojo classfactoryClass
- The factory class, which will be used for POJO instantiationpojoClass
- The name of the class for which an instance filled with valuesmanufacturingCtx
- the manufacturing contexttypeArgsMap
- a map relating the generic class arguments ("<T, V>" for
- example) with their actual typesgenericTypeArgs
- The generic type arguments for the current generic class
- instanceIllegalArgumentException
- If an illegal argument was passed to the constructorInstantiationException
- If an exception occurred during instantiationIllegalAccessException
- If security was violated while creating the objectInvocationTargetException
- If an exception occurred while invoking the constructor or
- factory methodClassNotFoundException
- If it was not possible to create a class from a stringprivate <T> T instantiatePojo(Class<T> pojoClass, - ManufacturingContext manufacturingCtx, - Map<String,Type> typeArgsMap, - Type... genericTypeArgs) - throws SecurityException-
PodamConstructor
T
- The type of the instance to returnpojoClass
- The class of which an instance is requiredmanufacturingCtx
- the manufacturing contexttypeArgsMap
- a map relating the generic class arguments ("<T, V>" for
- example) with their actual typesgenericTypeArgs
- The generic type arguments for the current generic class
- instancePodamConstructor
SecurityException
- If an security was violatedprivate <T> T doManufacturePojo(Class<T> pojoClass, - ManufacturingContext manufacturingCtx, - Type... genericTypeArgs)-
T
- The type of the instance to returnpojoClass
- the class to instantiatemanufacturingCtx
- the initialized manufacturing contextgenericTypeArgs
- generic arguments for the pojo classprivate <T> T manufacturePojoInternal(Class<T> pojoClass, - AttributeMetadata pojoMetadata, - ManufacturingContext manufacturingCtx, - Type... genericTypeArgs) - throws InstantiationException, - IllegalAccessException, - InvocationTargetException, - ClassNotFoundException-
T
- The type for which a filled instance is requiredpojoClass
- The name of the class for which an instance filled with values
- is requiredpojoMetadata
- attribute metadata for POJOs produced recursivelymanufacturingCtx
- the manufacturing contextgenericTypeArgs
- The generic type arguments for the current generic class
- instanceInstantiationException
- If an exception occurred during instantiationIllegalAccessException
- If security was violated while creating the objectInvocationTargetException
- If an exception occurred while invoking the constructor or
- factory methodClassNotFoundException
- If manufactured class cannot be loadedPodamMockeryException
- if a problem occurred while creating a POJO instance or while
- setting its stateprivate <T> T populatePojoInternal(T pojo, - ManufacturingContext manufacturingCtx, - Map<String,Type> typeArgsMap, - Type... genericTypeArgs) - throws InstantiationException, - IllegalAccessException, - InvocationTargetException, - ClassNotFoundException-
T
- The type for which should be populatedpojo
- An instance to be filled with dummy valuesmanufacturingCtx
- the manufacturing contexttypeArgsMap
- a map relating the generic class arguments ("<T, V>" for
- example) with their actual typesgenericTypeArgs
- The generic type arguments for the current generic class
- instanceInstantiationException
- If an exception occurred during instantiationIllegalAccessException
- If security was violated while creating the objectInvocationTargetException
- If an exception occurred while invoking the constructor or
- factory methodClassNotFoundException
- If manufactured class cannot be loadedprivate Object manufactureAttributeValue(Object pojo, - ManufacturingContext manufacturingCtx, - Class<?> attributeType, - Type genericAttributeType, - List<Annotation> annotations, - String attributeName, - Map<String,Type> typeArgsMap, - Type... genericTypeArgs) - throws InstantiationException, - IllegalAccessException, - InvocationTargetException, - ClassNotFoundException-
pojo
- The POJO being filled with valuesmanufacturingCtx
- the manufacturing contextattributeType
- The type of the attribute for which a value is being
- manufacturedgenericAttributeType
- The generic type of the attribute for which a value is being
- manufacturedannotations
- The annotations for the attribute being consideredattributeName
- The attribute nametypeArgsMap
- a map relating the generic class arguments ("<T, V>" for
- example) with their actual typesgenericTypeArgs
- The generic type arguments for the current generic class
- instanceInstantiationException
- If an exception occurred during instantiationIllegalAccessException
- If security was violated while creating the objectInvocationTargetException
- If an exception occurred while invoking the constructor or
- factory methodIllegalArgumentException
- ClassNotFoundException
- If class being manufactured cannot be loadedprivate <T> T resortToExternalFactory(ManufacturingContext manufacturingCtx, - String msg, - Class<T> pojoClass, - Type... genericTypeArgs)-
T
- The type of the instance to returnmanufacturingCtx
- the manufacturing contextmsg
- Message to log, must contain two parameterspojoClass
- The class of which an instance is requiredgenericTypeArgs
- The generic type arguments for the current generic class
- instanceprivate Collection<? super Object> resolveCollectionValueWhenCollectionIsPojoAttribute(Object pojo, - ManufacturingContext manufacturingCtx, - AttributeMetadata attributeMetadata, - Map<String,Type> typeArgsMap)-
pojo
- The POJO being analyzedmanufacturingCtx
- the manufacturing contextattributeMetadata
- The attribute's metadatatypeArgsMap
- a map relating the generic class arguments ("<T, V>" for
- example) with their actual typesPodamMockeryException
- An exception occurred while resolving the collectionIllegalArgumentException
- If the field name is null or emptyprivate Class<?> findInheretedCollectionElementType(Collection<Object> collection, - ManufacturingContext manufacturingCtx, - AtomicReference<Type[]> elementGenericTypeArgs, - Map<String,Type> typeArgsMap, - Type... genericTypeArgs)-
collection
- The collection to be filledmanufacturingCtx
- the manufacturing contextelementGenericTypeArgs
- parameter to return generic arguments of collection elementtypeArgsMap
- a map relating the generic class arguments ("<T, V>" for
- example) with their actual typesgenericTypeArgs
- The generic type arguments for the current generic class
- instanceprivate void fillCollection(ManufacturingContext manufacturingCtx, - List<Annotation> annotations, - String attributeName, - Collection<? super Object> collection, - Class<?> collectionElementType, - Type... genericTypeArgs) - throws InstantiationException, - IllegalAccessException, - InvocationTargetException, - ClassNotFoundException-
- This method has a so-called side effect. It updates the collection passed - as argument. -
manufacturingCtx
- the manufacturing contextannotations
- The annotations for this attributeattributeName
- The attribute name of collection in enclosing POJO classcollection
- The Collection to be filledcollectionElementType
- The type of the collection elementgenericTypeArgs
- The generic type arguments for the current generic class
- instanceInstantiationException
- If an exception occurred during instantiationIllegalAccessException
- If security was violated while creating the objectInvocationTargetException
- If an exception occurred while invoking the constructor or
- factory methodClassNotFoundException
- If it was not possible to create a class from a stringprivate Map<? super Object,? super Object> resolveMapValueWhenMapIsPojoAttribute(Object pojo, - ManufacturingContext manufacturingCtx, - AttributeMetadata attributeMetadata, - Map<String,Type> typeArgsMap)-
pojo
- The POJO being initializedmanufacturingCtx
- the manufacturing contextattributeMetadata
- The attribute's metadatatypeArgsMap
- a map relating the generic class arguments ("<T, V>" for
- example) with their actual typesIllegalArgumentException
- PodamMockeryException
- If an error occurred while creating the Map objectprivate MapArguments findInheretedMapElementType(Map<Object,Object> map, - ManufacturingContext manufacturingCtx, - Map<String,Type> typeArgsMap, - Type... genericTypeArgs)-
map
- The map being initializedmanufacturingCtx
- the manufacturing contexttypeArgsMap
- a map relating the generic class arguments ("<T, V>" for
- example) with their actual typesgenericTypeArgs
- The generic type arguments for the current generic class
- instanceprivate void fillMap(MapArguments mapArguments, - ManufacturingContext manufacturingCtx) - throws InstantiationException, - IllegalAccessException, - InvocationTargetException, - ClassNotFoundException-
- This method has a so-called side-effect. It updates the Map given as - argument. -
mapArguments
- The arguments POJOmanufacturingCtx
- Manufacturing contextInstantiationException
- If an exception occurred during instantiationIllegalAccessException
- If security was violated while creating the objectInvocationTargetException
- If an exception occurred while invoking the constructor or
- factory methodClassNotFoundException
- If it was not possible to create a class from a stringprivate Object getMapKeyOrElementValue(MapKeyOrElementsArguments keyOrElementsArguments, - ManufacturingContext manufacturingCtx) - throws InstantiationException, - IllegalAccessException, - InvocationTargetException, - ClassNotFoundException-
keyOrElementsArguments
- The arguments POJOmanufacturingCtx
- manufacturing contextInstantiationException
- If an exception occurred during instantiationIllegalAccessException
- If security was violated while creating the objectInvocationTargetException
- If an exception occurred while invoking the constructor or
- factory methodIllegalArgumentException
- ClassNotFoundException
- If manufactured class could not be loadedprivate Object resolveArrayElementValue(Object pojo, - ManufacturingContext manufacturingCtx, - AttributeMetadata attributeMetadata, - Map<String,Type> typeArgsMap) - throws InstantiationException, - IllegalAccessException, - InvocationTargetException, - ClassNotFoundException-
pojo
- POJO containing attributemanufacturingCtx
- the manufacturing contextattributeMetadata
- The attribute's metadatatypeArgsMap
- a map relating the generic class arguments ("<T, V>" for
- example) with their actual typesIllegalArgumentException
- If an illegal argument was passed to the constructorInstantiationException
- If an exception occurred during instantiationIllegalAccessException
- If security was violated while creating the objectInvocationTargetException
- If an exception occurred while invoking the constructor or
- factory methodClassNotFoundException
- If it was not possible to create a class from a stringprivate Object[] getParameterValuesForConstructor(Constructor<?> constructor, - Class<?> pojoClass, - ManufacturingContext manufacturingCtx, - Map<String,Type> typeArgsMap, - Type... genericTypeArgs) - throws InstantiationException, - IllegalAccessException, - InvocationTargetException, - ClassNotFoundException-
constructor
- The constructor for which parameter values are requiredpojoClass
- The POJO class containing the constructormanufacturingCtx
- the manufacturing contexttypeArgsMap
- a map relating the generic class arguments ("<T, V>" for
- example) with their actual typesgenericTypeArgs
- The generic type arguments for the current generic class
- instanceIllegalArgumentException
- If an illegal argument was passed to the constructorInstantiationException
- If an exception occurred during instantiationIllegalAccessException
- If security was violated while creating the objectInvocationTargetException
- If an exception occurred while invoking the constructor or
- factory methodClassNotFoundException
- If it was not possible to create a class from a stringprivate Object[] getParameterValuesForMethod(Method method, - Class<?> pojoClass, - ManufacturingContext manufacturingCtx, - Map<String,Type> typeArgsMap, - Type... genericTypeArgs) - throws InstantiationException, - IllegalAccessException, - InvocationTargetException, - ClassNotFoundException-
method
- The method for which parameter values are requiredpojoClass
- The POJO class containing the constructormanufacturingCtx
- the manufacturing contexttypeArgsMap
- a map relating the generic class arguments ("<T, V>" for
- example) with their actual typesgenericTypeArgs
- The generic type arguments for the current generic class
- instanceIllegalArgumentException
- If an illegal argument was passed to the methodInstantiationException
- If an exception occurred during instantiationIllegalAccessException
- If security was violated while creating the objectInvocationTargetException
- If an exception occurred while invoking the constructor or
- factory methodClassNotFoundException
- If it was not possible to create a class from a stringprivate Object manufactureParameterValue(Class<?> pojoClass, - Class<?> parameterType, - Type genericType, - List<Annotation> annotations, - Map<String,Type> typeArgsMap, - ManufacturingContext manufacturingCtx, - Type... genericTypeArgs) - throws InstantiationException, - IllegalAccessException, - InvocationTargetException, - ClassNotFoundException-
pojoClass
- pojo classparameterType
- type of parametergenericType
- generic type of parameterannotations
- parameter annotationstypeArgsMap
- map for resolving generic typesmanufacturingCtx
- the manufacturing contextgenericTypeArgs
- The generic type arguments for the current generic class
- instanceIllegalArgumentException
- If an illegal argument was passed to the constructorInstantiationException
- If an exception occurred during instantiationIllegalAccessException
- If security was violated while creating the objectInvocationTargetException
- If an exception occurred while invoking the constructor or
- factory methodClassNotFoundException
- If it was not possible to create a class from a stringprivate <T> T getValueForAbstractType(Class<T> pojoClass, - AttributeMetadata pojoMetadata, - ManufacturingContext manufacturingCtx, - Map<String,Type> typeArgsMap, - Type[] genericTypeArgs) - throws InstantiationException, - IllegalAccessException, - InvocationTargetException, - ClassNotFoundException-
T
- The type of the value to be returnedpojoClass
- The Pojo classpojoMetadata
- The Pojo metadatamanufacturingCtx
- The manufacturing contextgenericTypeArgs
- The generic type arguments maptypeArgsMap
- a map relating the generic class arguments ("<T, V>" for
- example) with their actual typesInstantiationException
- If a problem occurred while instantiating the objectIllegalAccessException
- If a problem occurred while instantiating the objectInvocationTargetException
- If a problem occurred while instantiating the objectClassNotFoundException
- If a problem occurred while instantiating the objectCopyright © 2016. All rights reserved.
- - + + + + + + +@NotThreadSafe + @Immutable +public class PodamFactoryImpl +extends Object +implements PodamFactory+
Modifier and Type | +Field and Description | +
---|---|
private ClassInfoStrategy |
+classInfoStrategy
+The strategy to use to introspect data.
+ |
+
private PodamFactory |
+externalFactory
+External factory to delegate production this factory cannot handle
+ |
+
private static org.slf4j.Logger |
+LOG
+Application logger
+ |
+
private static String |
+MAP_CREATION_EXCEPTION_STR |
+
private static String |
+RESOLVING_COLLECTION_EXCEPTION_STR |
+
private DataProviderStrategy |
+strategy
+The strategy to use to fill data.
+ |
+
Constructor and Description | +
---|
PodamFactoryImpl()
+Default constructor.
+ |
+
PodamFactoryImpl(DataProviderStrategy strategy)
+Constructor with non-default strategy
+ |
+
PodamFactoryImpl(PodamFactory externalFactory)
+Constructor with non-default external factory
+ |
+
PodamFactoryImpl(PodamFactory externalFactory,
+ DataProviderStrategy strategy)
+Full constructor.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
private <T> T |
+doManufacturePojo(Class<T> pojoClass,
+ ManufacturingContext manufacturingCtx,
+ Type... genericTypeArgs)
+Manufactures and populates the pojo class
+ |
+
private void |
+fillArray(Object array,
+ String attributeName,
+ Class<?> elementType,
+ Type genericElementType,
+ List<Annotation> annotations,
+ ManufacturingContext manufacturingCtx)
+It fills an Array with the required number of elements of the required type.
+ |
+
private void |
+fillCollection(ManufacturingContext manufacturingCtx,
+ List<Annotation> annotations,
+ String attributeName,
+ Collection<? super Object> collection,
+ Class<?> collectionElementType,
+ Type... genericTypeArgs)
+It fills a collection with the required number of elements of the
+ required type.
+ |
+
private void |
+fillMap(MapArguments mapArguments,
+ ManufacturingContext manufacturingCtx)
+It fills a Map with the required number of elements of the required type.
+ |
+
private Class<?> |
+findInheretedCollectionElementType(Collection<Object> collection,
+ ManufacturingContext manufacturingCtx,
+ AtomicReference<Type[]> elementGenericTypeArgs,
+ Type... genericTypeArgs)
+Tries to find collection element type from collection object
+ |
+
private MapArguments |
+findInheretedMapElementType(Map<Object,Object> map,
+ ManufacturingContext manufacturingCtx,
+ Type... genericTypeArgs)
+Finds key and element type arguments
+ |
+
ClassInfoStrategy |
+getClassStrategy()
+It returns the class info strategy for this factory.
+ |
+
PodamFactory |
+getExternalFactory()
+It returns the external factory assigned to this factory.
+ |
+
private Object |
+getMapKeyOrElementValue(MapKeyOrElementsArguments keyOrElementsArguments,
+ ManufacturingContext manufacturingCtx)
+It fills a Map key or value with the appropriate value, considering
+ attribute-level customisation.
+ |
+
private Object[] |
+getParameterValuesForConstructor(Constructor<?> constructor,
+ Class<?> pojoClass,
+ ManufacturingContext manufacturingCtx,
+ Type... genericTypeArgs)
+Given a constructor it manufactures and returns the parameter values
+ required to invoke it
+ |
+
private Object[] |
+getParameterValuesForMethod(Method method,
+ Class<?> pojoClass,
+ ManufacturingContext manufacturingCtx,
+ Type... genericTypeArgs)
+Given a method it manufactures and returns the parameter values
+ required to invoke it
+ |
+
DataProviderStrategy |
+getStrategy()
+It returns the strategy for this factory.
+ |
+
private <T> T |
+getValueForAbstractType(Class<T> pojoClass,
+ AttributeMetadata pojoMetadata,
+ ManufacturingContext manufacturingCtx,
+ Type[] genericTypeArgs)
+Returns a value for an abstract type or interface if possible.
+ |
+
private <T> T |
+instantiatePojo(Class<T> pojoClass,
+ ManufacturingContext manufacturingCtx,
+ Type... genericTypeArgs)
+It creates and returns an instance of the given class if at least one of
+ its constructors has been annotated with
+PodamConstructor |
+
private <T> T |
+instantiatePojoWithFactory(Class<?> factoryClass,
+ Class<T> pojoClass,
+ ManufacturingContext manufacturingCtx,
+ Type... genericTypeArgs)
+It attempts to create an instance of the given class with a static method
+ of the factory
+ |
+
private Object |
+manufactureAttributeValue(Object pojo,
+ ManufacturingContext manufacturingCtx,
+ Class<?> attributeType,
+ Type genericAttributeType,
+ List<Annotation> annotations,
+ String attributeName,
+ Type... genericTypeArgs)
+It manufactures and returns the value for a POJO attribute.
+ |
+
private Object |
+manufactureParameterValue(Class<?> pojoClass,
+ String parameterName,
+ Class<?> parameterType,
+ Type genericType,
+ List<Annotation> annotations,
+ ManufacturingContext manufacturingCtx,
+ Type... genericTypeArgs)
+Manufactures and returns the parameter value for method required to
+ invoke it
+ |
+
<T> T |
+manufacturePojo(Class<T> pojoClass,
+ Type... genericTypeArgs)
+Generic method which returns an instance of the given class filled with
+ dummy values, using the default data provider strategy.
+ |
+
private <T> T |
+manufacturePojoInternal(Class<T> pojoClass,
+ AttributeMetadata pojoMetadata,
+ ManufacturingContext manufacturingCtx,
+ Type... genericTypeArgs)
+Generic method which returns an instance of the given class filled with
+ values dictated by the strategy
+ |
+
<T> T |
+manufacturePojoWithFullData(Class<T> pojoClass,
+ Type... genericTypeArgs)
+Generic method which returns an instance of the given class filled with
+ dummy values, using the default data provider strategy.
+ |
+
<T> T |
+populatePojo(T pojo,
+ Type... genericTypeArgs)
+Generic method which populates an instance of the given class with
+ dummy values, using the default data provider strategy.
+ |
+
private <T> T |
+populatePojoInternal(T pojo,
+ List<Annotation> annotations,
+ ManufacturingContext manufacturingCtx,
+ Type... genericTypeArgs)
+Fills given class filled with values dictated by the strategy
+ |
+
private <T> boolean |
+populateReadOnlyField(T pojo,
+ ClassAttribute attribute,
+ ManufacturingContext manufacturingCtx,
+ Type... genericTypeArgs)
+Fills a field with a getter
+ |
+
private <T> boolean |
+populateReadWriteField(T pojo,
+ ClassAttribute attribute,
+ ManufacturingContext manufacturingCtx)
+Fills a field with a setter
+ |
+
private Object |
+resolveArrayElementValue(Object pojo,
+ ManufacturingContext manufacturingCtx,
+ AttributeMetadata attributeMetadata)
+It returns an Array with the first element set
+ |
+
private Collection<? super Object> |
+resolveCollectionValueWhenCollectionIsPojoAttribute(Object pojo,
+ ManufacturingContext manufacturingCtx,
+ AttributeMetadata attributeMetadata)
+It returns a collection of some sort with some data in it.
+ |
+
private Map<? super Object,? super Object> |
+resolveMapValueWhenMapIsPojoAttribute(Object pojo,
+ ManufacturingContext manufacturingCtx,
+ AttributeMetadata attributeMetadata)
+It manufactures and returns a Map with at least one element in it
+ |
+
private <T> T |
+resortToExternalFactory(ManufacturingContext manufacturingCtx,
+ String msg,
+ Class<T> pojoClass,
+ Type... genericTypeArgs)
+Delegates POJO manufacturing to an external factory
+ |
+
PodamFactory |
+setClassStrategy(ClassInfoStrategy classInfoStrategy)
+Sets the class info strategy for this factory
+ |
+
PodamFactory |
+setExternalFactory(PodamFactory externalFactory)
+Sets an external factory for this factory to delegate requests it cannot
+ process
+ |
+
PodamFactory |
+setStrategy(DataProviderStrategy strategy)
+Sets the data provider strategy for this factory
+ |
+
private static final String RESOLVING_COLLECTION_EXCEPTION_STR+
private static final String MAP_CREATION_EXCEPTION_STR+
private static final org.slf4j.Logger LOG+
private PodamFactory externalFactory+
+ The default is NullExternalFactory
.
+
private DataProviderStrategy strategy+
+ The default is RandomDataProviderStrategyImpl
.
+
private ClassInfoStrategy classInfoStrategy+
+ The default is DefaultClassInfoStrategy
.
+
public PodamFactoryImpl()+
public PodamFactoryImpl(DataProviderStrategy strategy)+
strategy
- The strategy to use to fill datapublic PodamFactoryImpl(PodamFactory externalFactory)+
externalFactory
- External factory to delegate production this factory cannot
+ handlepublic PodamFactoryImpl(PodamFactory externalFactory, + DataProviderStrategy strategy)+
externalFactory
- External factory to delegate production this factory cannot
+ handlestrategy
- The strategy to use to fill datapublic <T> T manufacturePojoWithFullData(Class<T> pojoClass, + Type... genericTypeArgs)+
+ This method uses RandomDataProviderStrategyImpl
as the default
+ implementation.
+
manufacturePojoWithFullData
in interface PodamFactory
T
- The type for which a filled instance is requiredpojoClass
- The name of the class for which an instance filled with values
+ is requiredgenericTypeArgs
- The generic Type arguments for a generic class instancepublic <T> T manufacturePojo(Class<T> pojoClass, + Type... genericTypeArgs)+
+ This method uses RandomDataProviderStrategyImpl
as the default
+ implementation.
+
manufacturePojo
in interface PodamFactory
T
- The type for which a filled instance is requiredpojoClass
- The name of the class for which an instance filled with values
+ is requiredgenericTypeArgs
- The generic Type arguments for a generic class instancepublic <T> T populatePojo(T pojo, + Type... genericTypeArgs)+
+ This method uses RandomDataProviderStrategyImpl
as the default
+ implementation.
+
populatePojo
in interface PodamFactory
T
- The type for which a filled instance is requiredpojo
- The instance to be filled with valuesgenericTypeArgs
- The generic Type arguments for a generic class instancepublic DataProviderStrategy getStrategy()+
getStrategy
in interface PodamFactory
public PodamFactory setStrategy(DataProviderStrategy strategy)+
setStrategy
in interface PodamFactory
strategy
- A data provider strategy to be used by this factorypublic ClassInfoStrategy getClassStrategy()+
getClassStrategy
in interface PodamFactory
public PodamFactory setClassStrategy(ClassInfoStrategy classInfoStrategy)+
setClassStrategy
in interface PodamFactory
classInfoStrategy
- A class info strategy to be used by this factorypublic PodamFactory getExternalFactory()+
getExternalFactory
in interface PodamFactory
public PodamFactory setExternalFactory(PodamFactory externalFactory)+
setExternalFactory
in interface PodamFactory
externalFactory
- An external factory to be used by this factoryprivate <T> T instantiatePojoWithFactory(Class<?> factoryClass, + Class<T> pojoClass, + ManufacturingContext manufacturingCtx, + Type... genericTypeArgs) + throws InstantiationException, + IllegalAccessException, + InvocationTargetException, + ClassNotFoundException+
+ This method attempts to instantiate POJO with a static method of provided + factory, for example, getInstance(). +
T
- The type of Pojo classfactoryClass
- The factory class, which will be used for POJO instantiationpojoClass
- The name of the class for which an instance filled with valuesmanufacturingCtx
- the manufacturing contextgenericTypeArgs
- The generic type arguments for the current generic class
+ instanceIllegalArgumentException
- If an illegal argument was passed to the constructorInstantiationException
- If an exception occurred during instantiationIllegalAccessException
- If security was violated while creating the objectInvocationTargetException
- If an exception occurred while invoking the constructor or
+ factory methodClassNotFoundException
- If it was not possible to create a class from a stringprivate <T> T instantiatePojo(Class<T> pojoClass, + ManufacturingContext manufacturingCtx, + Type... genericTypeArgs) + throws SecurityException+
PodamConstructor
T
- The type of the instance to returnpojoClass
- The class of which an instance is requiredmanufacturingCtx
- the manufacturing contextgenericTypeArgs
- The generic type arguments for the current generic class
+ instancePodamConstructor
SecurityException
- If an security was violatedprivate <T> T doManufacturePojo(Class<T> pojoClass, + ManufacturingContext manufacturingCtx, + Type... genericTypeArgs)+
T
- The type of the instance to returnpojoClass
- the class to instantiatemanufacturingCtx
- the initialized manufacturing contextgenericTypeArgs
- generic arguments for the pojo classprivate <T> T manufacturePojoInternal(Class<T> pojoClass, + AttributeMetadata pojoMetadata, + ManufacturingContext manufacturingCtx, + Type... genericTypeArgs) + throws InstantiationException, + IllegalAccessException, + InvocationTargetException, + ClassNotFoundException+
T
- The type for which a filled instance is requiredpojoClass
- The name of the class for which an instance filled with values
+ is requiredpojoMetadata
- attribute metadata for POJOs produced recursivelymanufacturingCtx
- the manufacturing contextgenericTypeArgs
- The generic type arguments for the current generic class
+ instanceInstantiationException
- If an exception occurred during instantiationIllegalAccessException
- If security was violated while creating the objectInvocationTargetException
- If an exception occurred while invoking the constructor or
+ factory methodClassNotFoundException
- If manufactured class cannot be loadedPodamMockeryException
- if a problem occurred while creating a POJO instance or while
+ setting its stateprivate <T> T populatePojoInternal(T pojo, + List<Annotation> annotations, + ManufacturingContext manufacturingCtx, + Type... genericTypeArgs) + throws InstantiationException, + IllegalAccessException, + InvocationTargetException, + ClassNotFoundException+
T
- The type for which should be populatedpojo
- An instance to be filled with dummy valuesannotations
- a list of annotations attached to this POJO defined elsewheremanufacturingCtx
- the manufacturing contextgenericTypeArgs
- The generic type arguments for the current generic class
+ instanceInstantiationException
- If an exception occurred during instantiationIllegalAccessException
- If security was violated while creating the objectInvocationTargetException
- If an exception occurred while invoking the constructor or
+ factory methodClassNotFoundException
- If manufactured class cannot be loadedprivate <T> boolean populateReadOnlyField(T pojo, + ClassAttribute attribute, + ManufacturingContext manufacturingCtx, + Type... genericTypeArgs) + throws InstantiationException, + IllegalAccessException, + InvocationTargetException, + ClassNotFoundException+
T
- The type for which should be populatedpojo
- The POJO being filled with valuesattribute
- a attribute we are fillingmanufacturingCtx
- the manufacturing contextgenericTypeArgs
- The generic type arguments for the current generic class
+ instanceClassNotFoundException
- If class being manufactured cannot be loadedInstantiationException
- If an exception occurred during instantiationIllegalAccessException
- If security was violated while creating the objectInvocationTargetException
- If an exception occurred while invoking the constructor or
+ factory methodprivate <T> boolean populateReadWriteField(T pojo, + ClassAttribute attribute, + ManufacturingContext manufacturingCtx) + throws InstantiationException, + IllegalAccessException, + InvocationTargetException, + ClassNotFoundException+
T
- The type for which should be populatedpojo
- The POJO being filled with valuesattribute
- a attribute we are fillingmanufacturingCtx
- the manufacturing contextClassNotFoundException
- If class being manufactured cannot be loadedInstantiationException
- If an exception occurred during instantiationIllegalAccessException
- If security was violated while creating the objectInvocationTargetException
- If an exception occurred while invoking the constructor or
+ factory methodprivate Object manufactureAttributeValue(Object pojo, + ManufacturingContext manufacturingCtx, + Class<?> attributeType, + Type genericAttributeType, + List<Annotation> annotations, + String attributeName, + Type... genericTypeArgs) + throws InstantiationException, + IllegalAccessException, + InvocationTargetException, + ClassNotFoundException+
pojo
- The POJO being filled with valuesmanufacturingCtx
- the manufacturing contextattributeType
- The type of the attribute for which a value is being
+ manufacturedgenericAttributeType
- The generic type of the attribute for which a value is being
+ manufacturedannotations
- The annotations for the attribute being consideredattributeName
- The attribute namegenericTypeArgs
- The generic type arguments for the current generic class
+ instanceInstantiationException
- If an exception occurred during instantiationIllegalAccessException
- If security was violated while creating the objectInvocationTargetException
- If an exception occurred while invoking the constructor or
+ factory methodIllegalArgumentException
- ClassNotFoundException
- If class being manufactured cannot be loadedprivate <T> T resortToExternalFactory(ManufacturingContext manufacturingCtx, + String msg, + Class<T> pojoClass, + Type... genericTypeArgs)+
T
- The type of the instance to returnmanufacturingCtx
- the manufacturing contextmsg
- Message to log, must contain two parameterspojoClass
- The class of which an instance is requiredgenericTypeArgs
- The generic type arguments for the current generic class
+ instanceprivate Collection<? super Object> resolveCollectionValueWhenCollectionIsPojoAttribute(Object pojo, + ManufacturingContext manufacturingCtx, + AttributeMetadata attributeMetadata)+
pojo
- The POJO being analyzedmanufacturingCtx
- the manufacturing contextattributeMetadata
- The attribute's metadataPodamMockeryException
- An exception occurred while resolving the collectionIllegalArgumentException
- If the field name is null or emptyprivate Class<?> findInheretedCollectionElementType(Collection<Object> collection, + ManufacturingContext manufacturingCtx, + AtomicReference<Type[]> elementGenericTypeArgs, + Type... genericTypeArgs)+
collection
- The collection to be filledmanufacturingCtx
- the manufacturing contextelementGenericTypeArgs
- parameter to return generic arguments of collection elementgenericTypeArgs
- The generic type arguments for the current generic class
+ instanceprivate void fillCollection(ManufacturingContext manufacturingCtx, + List<Annotation> annotations, + String attributeName, + Collection<? super Object> collection, + Class<?> collectionElementType, + Type... genericTypeArgs) + throws InstantiationException, + IllegalAccessException, + InvocationTargetException, + ClassNotFoundException+
+ This method has a so-called side effect. It updates the collection passed + as argument. +
manufacturingCtx
- the manufacturing contextannotations
- The annotations for this attributeattributeName
- The attribute name of collection in enclosing POJO classcollection
- The Collection to be filledcollectionElementType
- The type of the collection elementgenericTypeArgs
- The generic type arguments for the current generic class
+ instanceInstantiationException
- If an exception occurred during instantiationIllegalAccessException
- If security was violated while creating the objectInvocationTargetException
- If an exception occurred while invoking the constructor or
+ factory methodClassNotFoundException
- If it was not possible to create a class from a stringprivate Map<? super Object,? super Object> resolveMapValueWhenMapIsPojoAttribute(Object pojo, + ManufacturingContext manufacturingCtx, + AttributeMetadata attributeMetadata)+
pojo
- The POJO being initializedmanufacturingCtx
- the manufacturing contextattributeMetadata
- The attribute's metadataIllegalArgumentException
- PodamMockeryException
- If an error occurred while creating the Map objectprivate MapArguments findInheretedMapElementType(Map<Object,Object> map, + ManufacturingContext manufacturingCtx, + Type... genericTypeArgs)+
map
- The map being initializedmanufacturingCtx
- the manufacturing contextgenericTypeArgs
- The generic type arguments for the current generic class
+ instanceprivate void fillMap(MapArguments mapArguments, + ManufacturingContext manufacturingCtx) + throws InstantiationException, + IllegalAccessException, + InvocationTargetException, + ClassNotFoundException+
+ This method has a so-called side-effect. It updates the Map given as + argument. +
mapArguments
- The arguments POJOmanufacturingCtx
- Manufacturing contextInstantiationException
- If an exception occurred during instantiationIllegalAccessException
- If security was violated while creating the objectInvocationTargetException
- If an exception occurred while invoking the constructor or
+ factory methodClassNotFoundException
- If it was not possible to create a class from a stringprivate Object getMapKeyOrElementValue(MapKeyOrElementsArguments keyOrElementsArguments, + ManufacturingContext manufacturingCtx) + throws InstantiationException, + IllegalAccessException, + InvocationTargetException, + ClassNotFoundException+
keyOrElementsArguments
- The arguments POJOmanufacturingCtx
- manufacturing contextInstantiationException
- If an exception occurred during instantiationIllegalAccessException
- If security was violated while creating the objectInvocationTargetException
- If an exception occurred while invoking the constructor or
+ factory methodIllegalArgumentException
- ClassNotFoundException
- If manufactured class could not be loadedprivate void fillArray(Object array, + String attributeName, + Class<?> elementType, + Type genericElementType, + List<Annotation> annotations, + ManufacturingContext manufacturingCtx) + throws InstantiationException, + IllegalAccessException, + InvocationTargetException, + ClassNotFoundException+
+ This method has a so-called side-effect. It updates the Map given as + argument. +
array
- The array POJOattributeName
- The attribute name of collection in enclosing POJO classelementType
- The generic type of the collection elementgenericElementType
- The generic type of the collection elementannotations
- The annotations for this attributemanufacturingCtx
- Manufacturing contextInstantiationException
- If an exception occurred during instantiationIllegalAccessException
- If security was violated while creating the objectInvocationTargetException
- If an exception occurred while invoking the constructor or
+ factory methodClassNotFoundException
- If it was not possible to create a class from a stringprivate Object resolveArrayElementValue(Object pojo, + ManufacturingContext manufacturingCtx, + AttributeMetadata attributeMetadata) + throws InstantiationException, + IllegalAccessException, + InvocationTargetException, + ClassNotFoundException+
pojo
- POJO containing attributemanufacturingCtx
- the manufacturing contextattributeMetadata
- The attribute's metadataIllegalArgumentException
- If an illegal argument was passed to the constructorInstantiationException
- If an exception occurred during instantiationIllegalAccessException
- If security was violated while creating the objectInvocationTargetException
- If an exception occurred while invoking the constructor or
+ factory methodClassNotFoundException
- If it was not possible to create a class from a stringprivate Object[] getParameterValuesForConstructor(Constructor<?> constructor, + Class<?> pojoClass, + ManufacturingContext manufacturingCtx, + Type... genericTypeArgs) + throws InstantiationException, + IllegalAccessException, + InvocationTargetException, + ClassNotFoundException+
constructor
- The constructor for which parameter values are requiredpojoClass
- The POJO class containing the constructormanufacturingCtx
- the manufacturing contextgenericTypeArgs
- The generic type arguments for the current generic class
+ instanceIllegalArgumentException
- If an illegal argument was passed to the constructorInstantiationException
- If an exception occurred during instantiationIllegalAccessException
- If security was violated while creating the objectInvocationTargetException
- If an exception occurred while invoking the constructor or
+ factory methodClassNotFoundException
- If it was not possible to create a class from a stringprivate Object[] getParameterValuesForMethod(Method method, + Class<?> pojoClass, + ManufacturingContext manufacturingCtx, + Type... genericTypeArgs) + throws InstantiationException, + IllegalAccessException, + InvocationTargetException, + ClassNotFoundException+
method
- The method for which parameter values are requiredpojoClass
- The POJO class containing the constructormanufacturingCtx
- the manufacturing contextgenericTypeArgs
- The generic type arguments for the current generic class
+ instanceIllegalArgumentException
- If an illegal argument was passed to the methodInstantiationException
- If an exception occurred during instantiationIllegalAccessException
- If security was violated while creating the objectInvocationTargetException
- If an exception occurred while invoking the constructor or
+ factory methodClassNotFoundException
- If it was not possible to create a class from a stringprivate Object manufactureParameterValue(Class<?> pojoClass, + String parameterName, + Class<?> parameterType, + Type genericType, + List<Annotation> annotations, + ManufacturingContext manufacturingCtx, + Type... genericTypeArgs) + throws InstantiationException, + IllegalAccessException, + InvocationTargetException, + ClassNotFoundException+
pojoClass
- pojo classparameterName
- name of parameterparameterType
- type of parametergenericType
- generic type of parameterannotations
- parameter annotationsmanufacturingCtx
- the manufacturing contextgenericTypeArgs
- The generic type arguments for the current generic class
+ instanceIllegalArgumentException
- If an illegal argument was passed to the constructorInstantiationException
- If an exception occurred during instantiationIllegalAccessException
- If security was violated while creating the objectInvocationTargetException
- If an exception occurred while invoking the constructor or
+ factory methodClassNotFoundException
- If it was not possible to create a class from a stringprivate <T> T getValueForAbstractType(Class<T> pojoClass, + AttributeMetadata pojoMetadata, + ManufacturingContext manufacturingCtx, + Type[] genericTypeArgs) + throws InstantiationException, + IllegalAccessException, + InvocationTargetException, + ClassNotFoundException+
T
- The type of the value to be returnedpojoClass
- The Pojo classpojoMetadata
- The Pojo metadatamanufacturingCtx
- The manufacturing contextgenericTypeArgs
- The generic type arguments mapInstantiationException
- If a problem occurred while instantiating the objectIllegalAccessException
- If a problem occurred while instantiating the objectInvocationTargetException
- If a problem occurred while instantiating the objectClassNotFoundException
- If a problem occurred while instantiating the objectCopyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/PodamUtils.html b/apidocs/uk/co/jemos/podam/api/PodamUtils.html old mode 100644 new mode 100755 index 5325ad24d..3cdcd9387 --- a/apidocs/uk/co/jemos/podam/api/PodamUtils.html +++ b/apidocs/uk/co/jemos/podam/api/PodamUtils.html @@ -1,790 +1,601 @@ - - - - - - -public final class PodamUtils -extends Object-
Modifier and Type | -Field and Description | -
---|---|
private static String |
-GETTER_PREFIX |
-
private static String |
-GETTER_PREFIX2 |
-
private static org.slf4j.Logger |
-LOG
-The application logger.
- |
-
static char[] |
-NICE_ASCII_CHARACTERS
-An array of valid String characters
- |
-
private static int |
-SETTER_IDENTIFIER_LENGTH |
-
Modifier | -Constructor and Description | -
---|---|
private |
-PodamUtils()
-Non instantiable constructor
- |
-
Modifier and Type | -Method and Description | -
---|---|
static boolean |
-containsAnyAnnotation(Field field,
- Set<Class<? extends Annotation>> annotations)
-Checks if the given field has any one of the annotations
- |
-
private static boolean |
-containsAnyAnnotation(Method method,
- Set<Class<? extends Annotation>> annotations)
-Checks if the given method has any one of the annotations
- |
-
static String |
-extractFieldNameFromGetterMethod(Method method)
-Given a getter
-Method , it extracts the field name, according to
- JavaBean standards |
-
static String |
-extractFieldNameFromSetterMethod(Method method)
-Given a setter
-Method , it extracts the field name, according to
- JavaBean standards |
-
private static void |
-fillPojoSets(Class<?> clazz,
- Set<Field> classFields,
- Set<Method> classGetters,
- Set<Method> classSetters,
- Set<Class<? extends Annotation>> excludeAnnotations,
- Set<String> excludedFields)
-Given a class and a set of class declared fields it returns a Set of
- setters, getters and fields defined for this class
- |
-
static List<Annotation> |
-getAttributeAnnotations(Field attribute,
- Method setter)
-Given the attribute and setter it combines annotations from them
- or an empty collection if no custom annotations were found
- |
-
static ClassInfo |
-getClassInfo(Class<?> clazz,
- ClassAttributeApprover attributeApprover)
-It returns a
-ClassInfo object for the given class |
-
static ClassInfo |
-getClassInfo(Class<?> clazz,
- Set<Class<? extends Annotation>> excludeFieldAnnotations,
- Set<String> excludedFields,
- ClassAttributeApprover attributeApprover)
-It returns a
-ClassInfo object for the given class |
-
static ClassInfo |
-getClassInfo(Class<?> clazz,
- Set<Class<? extends Annotation>> excludeFieldAnnotations,
- Set<String> excludedFields,
- ClassAttributeApprover attributeApprover,
- Collection<Method> extraMethods) |
-
static Field |
-getField(Class<?> pojoClass,
- String attributeName)
-It returns a
-Field matching the attribute name or null if a field
- was not found. |
-
static <T> T |
-getFieldValue(Object pojo,
- String attributeName)
-It returns an value for a
-Field matching the attribute
- name or null if a field was not found. |
-
static int |
-getIntegerInRange(int minValue,
- int maxValue)
-It returns a random int/Integer value between min and max value (included).
- |
-
static long |
-getLongInRange(long minValue,
- long maxValue)
-It returns a long/Long value between min and max value (included).
- |
-
static Character |
-getNiceCharacter()
-Generates random character from set valid for identifiers in Java language
- |
-
static Class<?> |
-primitiveToBoxedType(Class<?> primitiveType)
-Finds boxed type for a primitive type
- |
-
private static final int SETTER_IDENTIFIER_LENGTH-
private static final String GETTER_PREFIX-
private static final String GETTER_PREFIX2-
public static final char[] NICE_ASCII_CHARACTERS-
private static final org.slf4j.Logger LOG-
private PodamUtils()-
public static ClassInfo getClassInfo(Class<?> clazz, - ClassAttributeApprover attributeApprover)-
ClassInfo
object for the given classclazz
- The class to retrieve info fromattributeApprover
- a ClassAttributeApprover
implementation,
- which attributes to skip and which to process.
- If one hasn't been provided, Podam will use the
- default one in the DefaultClassInfoStrategy
class.ClassInfo
object for the given classpublic static ClassInfo getClassInfo(Class<?> clazz, - Set<Class<? extends Annotation>> excludeFieldAnnotations, - Set<String> excludedFields, - ClassAttributeApprover attributeApprover)-
ClassInfo
object for the given classclazz
- The class to retrieve info fromexcludeFieldAnnotations
- the fields marked with any of these annotations will not be
- included in the class infoexcludedFields
- the fields matching the given names will not be included in the class infoattributeApprover
- a ClassAttributeApprover
implementation,
- which defines which attributes to skip and which to processClassInfo
object for the given classpublic static ClassInfo getClassInfo(Class<?> clazz, - Set<Class<? extends Annotation>> excludeFieldAnnotations, - Set<String> excludedFields, - ClassAttributeApprover attributeApprover, - Collection<Method> extraMethods)-
public static boolean containsAnyAnnotation(Field field, - Set<Class<? extends Annotation>> annotations)-
field
- the field to check forannotations
- the set of annotations to look for in the fieldprivate static boolean containsAnyAnnotation(Method method, - Set<Class<? extends Annotation>> annotations)-
method
- the method to check forannotations
- the set of annotations to look for in the fieldprivate static void fillPojoSets(Class<?> clazz, - Set<Field> classFields, - Set<Method> classGetters, - Set<Method> classSetters, - Set<Class<? extends Annotation>> excludeAnnotations, - Set<String> excludedFields)-
- Anything present: setter, getter or field will be recorded as three - independent sets available for future analysis -
clazz
- The class to analyze for settersclassFields
- The Set
which will be filled with class' fieldsclassGetters
- The Set
which will be filled with class' gettersclassSetters
- The Set
which will be filled with class' settersexcludeAnnotations
- The Set
containing annotations marking fields to be excludedexcludedFields
- The Set
containing field names to be excludedpublic static String extractFieldNameFromSetterMethod(Method method)-
Method
, it extracts the field name, according to
- JavaBean standards
- - This method, given a setter method, it returns the corresponding - attribute name. For example: given setIntField the method would return - intField. The correctness of the return value depends on the adherence to - JavaBean standards. -
method
- The setter method from which the field name is requiredpublic static String extractFieldNameFromGetterMethod(Method method)-
Method
, it extracts the field name, according to
- JavaBean standards
- - This method, given a getter method, it returns the corresponding - attribute name. For example: given getIntField the method would return - intField; given isBoolField the method would return boolField. The - correctness of the return value depends on the adherence to JavaBean - standards. -
method
- The setter method from which the field name is requiredpublic static Field getField(Class<?> pojoClass, - String attributeName)-
Field
matching the attribute name or null if a field
- was not found.pojoClass
- The class supposed to contain the fieldattributeName
- The field nameField
matching the attribute name or null if a field
- was not found.public static <T> T getFieldValue(Object pojo, - String attributeName)-
Field
matching the attribute
- name or null if a field was not found.T
- The type of field to be returnedpojo
- The class supposed to contain the fieldattributeName
- The field nameField
matching the attribute name or
- null if a field was not found.public static List<Annotation> getAttributeAnnotations(Field attribute, - Method setter)-
attribute
- The class attributesetter
- The class attribute's setterpublic static Character getNiceCharacter()-
public static long getLongInRange(long minValue, - long maxValue)-
minValue
- The minimum value for the returned valuemaxValue
- The maximum value for the returned valuepublic static int getIntegerInRange(int minValue, - int maxValue)-
minValue
- The minimum value for the returned valuemaxValue
- The maximum value for the returned valueCopyright © 2016. All rights reserved.
- - + + + + + + +public abstract class PodamUtils +extends Object+
Modifier and Type | +Field and Description | +
---|---|
private static org.slf4j.Logger |
+LOG
+The application logger.
+ |
+
static char[] |
+NICE_ASCII_CHARACTERS
+An array of valid String characters
+ |
+
Constructor and Description | +
---|
PodamUtils() |
+
Modifier and Type | +Method and Description | +
---|---|
static List<Annotation> |
+getAttributeAnnotations(Field attribute,
+ Method... methods)
+Given the attribute and setter it combines annotations from them
+ or an empty collection if no custom annotations were found
+ |
+
static double |
+getDoubleInRange(double minValue,
+ double maxValue)
+It returns a double/Double value between min and max value (included).
+ |
+
static Field |
+getField(Class<?> pojoClass,
+ String attributeName)
+It returns a
+Field matching the attribute name or null if a field
+ was not found. |
+
static <T> T |
+getFieldValue(Object pojo,
+ String attributeName)
+It returns an value for a
+Field matching the attribute
+ name or null if a field was not found. |
+
static <T> T |
+getFieldValueWithGetter(Object pojo,
+ String attributeName)
+It returns an value from getter for a
+Field matching the attribute
+ name or null if a field was not found. |
+
static int |
+getIntegerInRange(int minValue,
+ int maxValue)
+It returns a random int/Integer value between min and max value (included).
+ |
+
static long |
+getLongInRange(long minValue,
+ long maxValue)
+It returns a long/Long value between min and max value (included).
+ |
+
static Character |
+getNiceCharacter()
+Generates random character from set valid for identifiers in Java language
+ |
+
static String |
+getNiceString(int length)
+Generates random string from set valid for identifiers in Java language
+ |
+
static Class<?> |
+primitiveToBoxedType(Class<?> primitiveType)
+Finds boxed type for a primitive type
+ |
+
static Method |
+selectLatestMethod(Set<Method> methods)
+Searches among set of a class'es methods and selects the one defined in
+ the most specific descend of the hierarchy tree
+ |
+
public static final char[] NICE_ASCII_CHARACTERS+
private static final org.slf4j.Logger LOG+
public static Field getField(Class<?> pojoClass, + String attributeName)+
Field
matching the attribute name or null if a field
+ was not found.pojoClass
- The class supposed to contain the fieldattributeName
- The field nameField
matching the attribute name or null if a field
+ was not found.public static <T> T getFieldValue(Object pojo, + String attributeName)+
Field
matching the attribute
+ name or null if a field was not found.T
- The type of field to be returnedpojo
- The class supposed to contain the fieldattributeName
- The field nameField
matching the attribute name or
+ null if a field was not found.public static <T> T getFieldValueWithGetter(Object pojo, + String attributeName)+
Field
matching the attribute
+ name or null if a field was not found.T
- The type of field to be returnedpojo
- The class supposed to contain the fieldattributeName
- The field nameField
matching the attribute name or
+ null if a field was not found.public static Method selectLatestMethod(Set<Method> methods)+
methods
- a set of methods to choose frompublic static List<Annotation> getAttributeAnnotations(Field attribute, + Method... methods)+
attribute
- The class attributemethods
- List of setters and getter to check annotationspublic static Character getNiceCharacter()+
public static String getNiceString(int length)+
length
- The length of the strings to generatepublic static long getLongInRange(long minValue, + long maxValue)+
minValue
- The minimum value for the returned valuemaxValue
- The maximum value for the returned valuepublic static int getIntegerInRange(int minValue, + int maxValue)+
minValue
- The minimum value for the returned valuemaxValue
- The maximum value for the returned valuepublic static double getDoubleInRange(double minValue, + double maxValue)+
minValue
- The minimum value for the returned valuemaxValue
- The maximum value for the returned valueCopyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/RandomDataProviderStrategy.html b/apidocs/uk/co/jemos/podam/api/RandomDataProviderStrategy.html old mode 100644 new mode 100755 index 375a4d3ab..c1f932f5d --- a/apidocs/uk/co/jemos/podam/api/RandomDataProviderStrategy.html +++ b/apidocs/uk/co/jemos/podam/api/RandomDataProviderStrategy.html @@ -1,525 +1,525 @@ - - - - - - -public interface RandomDataProviderStrategy -extends DataProviderStrategy-
DataProviderStrategy.Order
Modifier and Type | -Method and Description | -
---|---|
RandomDataProviderStrategy |
-addOrReplaceAttributeStrategy(Class<? extends Annotation> annotationClass,
- Class<AttributeStrategy<?>> strategyClass)
-Bind an annotation to attribute strategy class.
- |
-
<T> AbstractRandomDataProviderStrategy |
-addOrReplaceFactory(Class<T> abstractClass,
- Class<?> factoryClass)
-Binds an interface/abstract class to its factory.
- |
-
AbstractConstructorComparator |
-getConstructorHeavyComparator()
-Getter for constructor heavy comparator.
- |
-
AbstractConstructorComparator |
-getConstructorLightComparator()
-Getter for constructor light comparator.
- |
-
AbstractMethodComparator |
-getMethodHeavyComparator()
-Getter for method heavy comparator.
- |
-
AbstractMethodComparator |
-getMethodLightComparator()
-Getter for method light comparator.
- |
-
RandomDataProviderStrategy |
-removeAttributeStrategy(Class<? extends Annotation> annotationClass)
-Remove binding of an annotation to attribute strategy
- |
-
<T> AbstractRandomDataProviderStrategy |
-removeFactory(Class<T> abstractClass)
-Remove binding of an interface/abstract class to its factory
- |
-
void |
-setConstructorHeavyComparator(AbstractConstructorComparator constructorHeavyComparator)
-Setter for constructor heavy comparator.
- |
-
void |
-setConstructorLightComparator(AbstractConstructorComparator constructorLightComparator)
-Setter for constructor öight comparator.
- |
-
void |
-setMethodHeavyComparator(AbstractMethodComparator methodHeavyComparator)
-Setter for method heavy comparator.
- |
-
void |
-setMethodLightComparator(AbstractMethodComparator methodLightComparator)
-Setter for method light comparator.
- |
-
addOrReplaceSpecific, addOrReplaceTypeManufacturer, cacheMemoizedObject, clearMemoizationCache, getFactoryClass, getMaxDepth, getMemoizedObject, getNumberOfCollectionElements, getSpecificClass, getStrategyForAnnotation, getTypeValue, isMemoizationEnabled, removeSpecific, removeTypeManufacturer, setDefaultNumberOfCollectionElements, setMemoization, sort, sort
<T> AbstractRandomDataProviderStrategy addOrReplaceFactory(Class<T> abstractClass, - Class<?> factoryClass)-
T
- return typeabstractClass
- the interface/abstract class to bindfactoryClass
- factory class for instantiation of
- abstractClass
.<T> AbstractRandomDataProviderStrategy removeFactory(Class<T> abstractClass)-
T
- return typeabstractClass
- the interface/abstract class to remove bindingRandomDataProviderStrategy addOrReplaceAttributeStrategy(Class<? extends Annotation> annotationClass, - Class<AttributeStrategy<?>> strategyClass)-
annotationClass
- the annotation classstrategyClass
- the attribute strategy classRandomDataProviderStrategy removeAttributeStrategy(Class<? extends Annotation> annotationClass)-
annotationClass
- the annotation class to remove bindingAbstractConstructorComparator getConstructorLightComparator()-
void setConstructorLightComparator(AbstractConstructorComparator constructorLightComparator)-
Default implementations are
- ConstructorHeavyFirstComparator
and
- ConstructorLightFirstComparator
.
constructorLightComparator
- constructor comparator to setAbstractConstructorComparator getConstructorHeavyComparator()-
void setConstructorHeavyComparator(AbstractConstructorComparator constructorHeavyComparator)-
Default implementations are
- ConstructorHeavyFirstComparator
and
- ConstructorLightFirstComparator
.
constructorHeavyComparator
- constructor comparator to setAbstractMethodComparator getMethodLightComparator()-
void setMethodLightComparator(AbstractMethodComparator methodLightComparator)-
Default implementations is
- MethodHeavyFirstComparator
.
methodLightComparator
- method comparator to setAbstractMethodComparator getMethodHeavyComparator()-
void setMethodHeavyComparator(AbstractMethodComparator methodHeavyComparator)-
Default implementations is
- MethodHeavyFirstComparator
.
methodHeavyComparator
- method comparator to setCopyright © 2016. All rights reserved.
- - + + + + + + +public interface RandomDataProviderStrategy +extends DataProviderStrategy+
DataProviderStrategy.Order
Modifier and Type | +Method and Description | +
---|---|
RandomDataProviderStrategy |
+addOrReplaceAttributeStrategy(Class<? extends Annotation> annotationClass,
+ AttributeStrategy<?> attributeStrategy)
+Bind an annotation to attribute strategy class.
+ |
+
<T> AbstractRandomDataProviderStrategy |
+addOrReplaceFactory(Class<T> abstractClass,
+ Class<?> factoryClass)
+Binds an interface/abstract class to its factory.
+ |
+
AbstractConstructorComparator |
+getConstructorHeavyComparator()
+Getter for constructor heavy comparator.
+ |
+
AbstractConstructorComparator |
+getConstructorLightComparator()
+Getter for constructor light comparator.
+ |
+
AbstractMethodComparator |
+getMethodHeavyComparator()
+Getter for method heavy comparator.
+ |
+
AbstractMethodComparator |
+getMethodLightComparator()
+Getter for method light comparator.
+ |
+
RandomDataProviderStrategy |
+removeAttributeStrategy(Class<? extends Annotation> annotationClass)
+Remove binding of an annotation to attribute strategy
+ |
+
<T> AbstractRandomDataProviderStrategy |
+removeFactory(Class<T> abstractClass)
+Remove binding of an interface/abstract class to its factory
+ |
+
void |
+setConstructorHeavyComparator(AbstractConstructorComparator constructorHeavyComparator)
+Setter for constructor heavy comparator.
+ |
+
void |
+setConstructorLightComparator(AbstractConstructorComparator constructorLightComparator)
+Setter for constructor öight comparator.
+ |
+
void |
+setMethodHeavyComparator(AbstractMethodComparator methodHeavyComparator)
+Setter for method heavy comparator.
+ |
+
void |
+setMethodLightComparator(AbstractMethodComparator methodLightComparator)
+Setter for method light comparator.
+ |
+
addOrReplaceAttributeStrategy, addOrReplaceSpecific, addOrReplaceTypeManufacturer, cacheMemoizedObject, clearMemoizationCache, getFactoryClass, getMaxDepth, getMemoizedObject, getNumberOfCollectionElements, getSpecificClass, getStrategyForAnnotation, getStrategyForAttribute, getTypeValue, isMemoizationEnabled, removeAttributeStrategy, removeSpecific, removeTypeManufacturer, setDefaultNumberOfCollectionElements, setMemoization, sort, sort
<T> AbstractRandomDataProviderStrategy addOrReplaceFactory(Class<T> abstractClass, + Class<?> factoryClass)+
T
- return typeabstractClass
- the interface/abstract class to bindfactoryClass
- factory class for instantiation of
+ abstractClass
.<T> AbstractRandomDataProviderStrategy removeFactory(Class<T> abstractClass)+
T
- return typeabstractClass
- the interface/abstract class to remove bindingRandomDataProviderStrategy addOrReplaceAttributeStrategy(Class<? extends Annotation> annotationClass, + AttributeStrategy<?> attributeStrategy)+
annotationClass
- the annotation classattributeStrategy
- the attribute strategyRandomDataProviderStrategy removeAttributeStrategy(Class<? extends Annotation> annotationClass)+
annotationClass
- the annotation class to remove bindingAbstractConstructorComparator getConstructorLightComparator()+
void setConstructorLightComparator(AbstractConstructorComparator constructorLightComparator)+
Default implementations are
+ ConstructorHeavyFirstComparator
and
+ ConstructorLightFirstComparator
.
constructorLightComparator
- constructor comparator to setAbstractConstructorComparator getConstructorHeavyComparator()+
void setConstructorHeavyComparator(AbstractConstructorComparator constructorHeavyComparator)+
Default implementations are
+ ConstructorHeavyFirstComparator
and
+ ConstructorLightFirstComparator
.
constructorHeavyComparator
- constructor comparator to setAbstractMethodComparator getMethodLightComparator()+
void setMethodLightComparator(AbstractMethodComparator methodLightComparator)+
Default implementations is
+ MethodHeavyFirstComparator
.
methodLightComparator
- method comparator to setAbstractMethodComparator getMethodHeavyComparator()+
void setMethodHeavyComparator(AbstractMethodComparator methodHeavyComparator)+
Default implementations is
+ MethodHeavyFirstComparator
.
methodHeavyComparator
- method comparator to setCopyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/RandomDataProviderStrategyImpl.html b/apidocs/uk/co/jemos/podam/api/RandomDataProviderStrategyImpl.html old mode 100644 new mode 100755 index dd48a6270..96b804789 --- a/apidocs/uk/co/jemos/podam/api/RandomDataProviderStrategyImpl.html +++ b/apidocs/uk/co/jemos/podam/api/RandomDataProviderStrategyImpl.html @@ -1,355 +1,294 @@ - - - - - - -@ThreadSafe -public final class RandomDataProviderStrategyImpl -extends AbstractRandomDataProviderStrategy-
DataProviderStrategy
- - This default implementation returns values based on a random generator. - Don't use this implementation if you seek deterministic values -
- -- All values returned by this implementation are different from zero. -
- -- This implementation is a Singleton -
DataProviderStrategy.Order
MAX_DEPTH
Constructor and Description | -
---|
RandomDataProviderStrategyImpl()
-Implementation of the Singleton pattern
- |
-
Modifier and Type | -Method and Description | -
---|---|
static RandomDataProviderStrategyImpl |
-getInstance(int nbrCollectionElements)
-Other factory method which assigns a default number of collection
- elements before returning the singleton.
- |
-
addOrReplaceAttributeStrategy, addOrReplaceFactory, addOrReplaceSpecific, addOrReplaceTypeManufacturer, cacheMemoizedObject, clearMemoizationCache, getConstructorHeavyComparator, getConstructorLightComparator, getFactoryClass, getMaxDepth, getMemoizedObject, getMethodHeavyComparator, getMethodLightComparator, getNumberOfCollectionElements, getSpecificClass, getStrategyForAnnotation, getTypeValue, isMemoizationEnabled, removeAttributeStrategy, removeFactory, removeSpecific, removeTypeManufacturer, setConstructorHeavyComparator, setConstructorLightComparator, setDefaultNumberOfCollectionElements, setMemoization, setMethodHeavyComparator, setMethodLightComparator, sort, sort
public RandomDataProviderStrategyImpl()-
public static RandomDataProviderStrategyImpl getInstance(int nbrCollectionElements)-
nbrCollectionElements
- The number of collection elementsCopyright © 2016. All rights reserved.
- - + + + + + + +@ThreadSafe +public final class RandomDataProviderStrategyImpl +extends AbstractRandomDataProviderStrategy+
DataProviderStrategy
+ + This default implementation returns values based on a random generator. + Don't use this implementation if you seek deterministic values +
+ ++ All values returned by this implementation are different from zero. +
+ ++ This implementation is a Singleton +
DataProviderStrategy.Order
Constructor and Description | +
---|
RandomDataProviderStrategyImpl()
+Implementation of the Singleton pattern
+ |
+
addOrReplaceAttributeStrategy, addOrReplaceAttributeStrategy, addOrReplaceFactory, addOrReplaceSpecific, addOrReplaceTypeManufacturer, cacheMemoizedObject, clearMemoizationCache, getConstructorHeavyComparator, getConstructorLightComparator, getFactoryClass, getMaxDepth, getMemoizedObject, getMethodHeavyComparator, getMethodLightComparator, getNumberOfCollectionElements, getSpecificClass, getStrategyForAnnotation, getStrategyForAttribute, getTypeValue, isMemoizationEnabled, removeAttributeStrategy, removeAttributeStrategy, removeFactory, removeSpecific, removeTypeManufacturer, setConstructorHeavyComparator, setConstructorLightComparator, setDefaultNumberOfCollectionElements, setMaxDepth, setMemoization, setMethodHeavyComparator, setMethodLightComparator, sort, sort
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/class-use/AbstractClassInfoStrategy.html b/apidocs/uk/co/jemos/podam/api/class-use/AbstractClassInfoStrategy.html old mode 100644 new mode 100755 index eeb029908..fb1e5acb6 --- a/apidocs/uk/co/jemos/podam/api/class-use/AbstractClassInfoStrategy.html +++ b/apidocs/uk/co/jemos/podam/api/class-use/AbstractClassInfoStrategy.html @@ -1,216 +1,216 @@ - - - - - - -Package | -Description | -
---|---|
uk.co.jemos.podam.api | -
- This package contains PODAM main APIs
- |
-
Modifier and Type | -Class and Description | -
---|---|
class |
-DefaultClassInfoStrategy
-Singleton implementation of a
-AbstractClassInfoStrategy |
-
Modifier and Type | -Method and Description | -
---|---|
AbstractClassInfoStrategy |
-AbstractClassInfoStrategy.addExcludedAnnotation(Class<? extends Annotation> annotation)
-Adds the specified
-Annotation to set of excluded annotations,
- if it is not already present. |
-
AbstractClassInfoStrategy |
-AbstractClassInfoStrategy.addExcludedField(Class<?> pojoClass,
- String fieldName)
-Adds the specified field to set of excluded fields,
- if it is not already present.
- |
-
AbstractClassInfoStrategy |
-AbstractClassInfoStrategy.addExtraMethod(Class<?> pojoClass,
- String methodName,
- Class<?>... methodArgs)
-It adds an extra method to execute
- |
-
AbstractClassInfoStrategy |
-AbstractClassInfoStrategy.removeExcludedAnnotation(Class<? extends Annotation> annotation)
-Removes the specified
-Annotation from set of excluded annotations. |
-
AbstractClassInfoStrategy |
-AbstractClassInfoStrategy.removeExcludedField(Class<?> pojoClass,
- String fieldName)
-Removes the field name from set of excluded fields.
- |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Package | +Description | +
---|---|
uk.co.jemos.podam.api | +
+ This package contains PODAM main APIs
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+DefaultClassInfoStrategy
+Singleton implementation of a
+AbstractClassInfoStrategy |
+
Modifier and Type | +Method and Description | +
---|---|
AbstractClassInfoStrategy |
+AbstractClassInfoStrategy.addExcludedAnnotation(Class<? extends Annotation> annotation)
+Adds the specified
+Annotation to set of excluded annotations,
+ if it is not already present. |
+
AbstractClassInfoStrategy |
+AbstractClassInfoStrategy.addExcludedField(Class<?> pojoClass,
+ String fieldName)
+Adds the specified field to set of excluded fields,
+ if it is not already present.
+ |
+
AbstractClassInfoStrategy |
+AbstractClassInfoStrategy.addExtraMethod(Class<?> pojoClass,
+ String methodName,
+ Class<?>... methodArgs)
+It adds an extra method to execute
+ |
+
AbstractClassInfoStrategy |
+AbstractClassInfoStrategy.removeExcludedAnnotation(Class<? extends Annotation> annotation)
+Removes the specified
+Annotation from set of excluded annotations. |
+
AbstractClassInfoStrategy |
+AbstractClassInfoStrategy.removeExcludedField(Class<?> pojoClass,
+ String fieldName)
+Removes the field name from set of excluded fields.
+ |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/class-use/AbstractExternalFactory.html b/apidocs/uk/co/jemos/podam/api/class-use/AbstractExternalFactory.html old mode 100644 new mode 100755 index c34969af7..2c9b2a3b5 --- a/apidocs/uk/co/jemos/podam/api/class-use/AbstractExternalFactory.html +++ b/apidocs/uk/co/jemos/podam/api/class-use/AbstractExternalFactory.html @@ -1,171 +1,171 @@ - - - - - - -Package | -Description | -
---|---|
uk.co.jemos.podam.api | -
- This package contains PODAM main APIs
- |
-
Modifier and Type | -Class and Description | -
---|---|
class |
-NullExternalFactory
-Default implementation of an external factory which does nothing.
- |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Package | +Description | +
---|---|
uk.co.jemos.podam.api | +
+ This package contains PODAM main APIs
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+NullExternalFactory
+Default implementation of an external factory which does nothing.
+ |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/class-use/AbstractMapArguments.html b/apidocs/uk/co/jemos/podam/api/class-use/AbstractMapArguments.html old mode 100644 new mode 100755 index 20866d81b..af6c4cfbc --- a/apidocs/uk/co/jemos/podam/api/class-use/AbstractMapArguments.html +++ b/apidocs/uk/co/jemos/podam/api/class-use/AbstractMapArguments.html @@ -1,178 +1,178 @@ - - - - - - -Package | -Description | -
---|---|
uk.co.jemos.podam.api | -
- This package contains PODAM main APIs
- |
-
Modifier and Type | -Class and Description | -
---|---|
class |
-MapArguments
-Pojo which contains the arguments required to fill a Map as a POJO attribute
- |
-
class |
-MapKeyOrElementsArguments
-Contains attributes for the arguments to pass to the factory method to fill
- map key or elements.
- |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Package | +Description | +
---|---|
uk.co.jemos.podam.api | +
+ This package contains PODAM main APIs
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+MapArguments
+Pojo which contains the arguments required to fill a Map as a POJO attribute
+ |
+
class |
+MapKeyOrElementsArguments
+Contains attributes for the arguments to pass to the factory method to fill
+ map key or elements.
+ |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/class-use/AbstractRandomDataProviderStrategy.html b/apidocs/uk/co/jemos/podam/api/class-use/AbstractRandomDataProviderStrategy.html old mode 100644 new mode 100755 index e22b0d47e..bd05be79c --- a/apidocs/uk/co/jemos/podam/api/class-use/AbstractRandomDataProviderStrategy.html +++ b/apidocs/uk/co/jemos/podam/api/class-use/AbstractRandomDataProviderStrategy.html @@ -1,206 +1,206 @@ - - - - - - -Package | -Description | -
---|---|
uk.co.jemos.podam.api | -
- This package contains PODAM main APIs
- |
-
Modifier and Type | -Class and Description | -
---|---|
class |
-RandomDataProviderStrategyImpl
-Default implementation of a
-DataProviderStrategy |
-
Modifier and Type | -Method and Description | -
---|---|
<T> AbstractRandomDataProviderStrategy |
-AbstractRandomDataProviderStrategy.addOrReplaceFactory(Class<T> abstractClass,
- Class<?> factoryClass)
-Binds an interface/abstract class to its factory.
- |
-
<T> AbstractRandomDataProviderStrategy |
-RandomDataProviderStrategy.addOrReplaceFactory(Class<T> abstractClass,
- Class<?> factoryClass)
-Binds an interface/abstract class to its factory.
- |
-
<T> AbstractRandomDataProviderStrategy |
-AbstractRandomDataProviderStrategy.removeFactory(Class<T> abstractClass)
-Remove binding of an interface/abstract class to its factory
- |
-
<T> AbstractRandomDataProviderStrategy |
-RandomDataProviderStrategy.removeFactory(Class<T> abstractClass)
-Remove binding of an interface/abstract class to its factory
- |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Package | +Description | +
---|---|
uk.co.jemos.podam.api | +
+ This package contains PODAM main APIs
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+RandomDataProviderStrategyImpl
+Default implementation of a
+DataProviderStrategy |
+
Modifier and Type | +Method and Description | +
---|---|
<T> AbstractRandomDataProviderStrategy |
+AbstractRandomDataProviderStrategy.addOrReplaceFactory(Class<T> abstractClass,
+ Class<?> factoryClass)
+Binds an interface/abstract class to its factory.
+ |
+
<T> AbstractRandomDataProviderStrategy |
+RandomDataProviderStrategy.addOrReplaceFactory(Class<T> abstractClass,
+ Class<?> factoryClass)
+Binds an interface/abstract class to its factory.
+ |
+
<T> AbstractRandomDataProviderStrategy |
+AbstractRandomDataProviderStrategy.removeFactory(Class<T> abstractClass)
+Remove binding of an interface/abstract class to its factory
+ |
+
<T> AbstractRandomDataProviderStrategy |
+RandomDataProviderStrategy.removeFactory(Class<T> abstractClass)
+Remove binding of an interface/abstract class to its factory
+ |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/class-use/AttributeMetadata.html b/apidocs/uk/co/jemos/podam/api/class-use/AttributeMetadata.html old mode 100644 new mode 100755 index 7e7ab36fb..77e33480a --- a/apidocs/uk/co/jemos/podam/api/class-use/AttributeMetadata.html +++ b/apidocs/uk/co/jemos/podam/api/class-use/AttributeMetadata.html @@ -1,507 +1,503 @@ - - - - - - -Package | -Description | -
---|---|
uk.co.jemos.podam.api | -
- This package contains PODAM main APIs
- |
-
uk.co.jemos.podam.typeManufacturers | -
- Contains Type Manufacturers.
- |
-
Modifier and Type | -Method and Description | -
---|---|
void |
-DataProviderStrategy.cacheMemoizedObject(AttributeMetadata attributeMetadata,
- Object instance)
-Saves object in memoization cache
- |
-
void |
-AbstractRandomDataProviderStrategy.cacheMemoizedObject(AttributeMetadata attributeMetadata,
- Object instance)
-Saves object in memoization cache
- |
-
Object |
-DataProviderStrategy.getMemoizedObject(AttributeMetadata attributeMetadata)
-Obtains object from memoization cache
- |
-
Object |
-AbstractRandomDataProviderStrategy.getMemoizedObject(AttributeMetadata attributeMetadata)
-Obtains object from memoization cache
- |
-
<T> T |
-DataProviderStrategy.getTypeValue(AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap,
- Class<T> pojoType)
-Obtains a type value
- |
-
<T> T |
-AbstractRandomDataProviderStrategy.getTypeValue(AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap,
- Class<T> pojoType)
-Obtains a type value
- |
-
private <T> T |
-PodamFactoryImpl.getValueForAbstractType(Class<T> pojoClass,
- AttributeMetadata pojoMetadata,
- ManufacturingContext manufacturingCtx,
- Map<String,Type> typeArgsMap,
- Type[] genericTypeArgs)
-Returns a value for an abstract type or interface if possible.
- |
-
private void |
-AbstractRandomDataProviderStrategy.log(AttributeMetadata attributeMetadata) |
-
private <T> T |
-PodamFactoryImpl.manufacturePojoInternal(Class<T> pojoClass,
- AttributeMetadata pojoMetadata,
- ManufacturingContext manufacturingCtx,
- Type... genericTypeArgs)
-Generic method which returns an instance of the given class filled with
- values dictated by the strategy
- |
-
private Object |
-PodamFactoryImpl.resolveArrayElementValue(Object pojo,
- ManufacturingContext manufacturingCtx,
- AttributeMetadata attributeMetadata,
- Map<String,Type> typeArgsMap)
-It returns an Array with the first element set
- |
-
private Collection<? super Object> |
-PodamFactoryImpl.resolveCollectionValueWhenCollectionIsPojoAttribute(Object pojo,
- ManufacturingContext manufacturingCtx,
- AttributeMetadata attributeMetadata,
- Map<String,Type> typeArgsMap)
-It returns a collection of some sort with some data in it.
- |
-
private Map<? super Object,? super Object> |
-PodamFactoryImpl.resolveMapValueWhenMapIsPojoAttribute(Object pojo,
- ManufacturingContext manufacturingCtx,
- AttributeMetadata attributeMetadata,
- Map<String,Type> typeArgsMap)
-It manufactures and returns a Map with at least one element in it
- |
-
Modifier and Type | -Method and Description | -
---|---|
Boolean |
-BooleanTypeManufacturerImpl.getBoolean(AttributeMetadata attributeMetadata)
-It returns a boolean/Boolean value.
- |
-
Byte |
-ByteTypeManufacturerImpl.getByte(AttributeMetadata attributeMetadata)
-It returns a byte/Byte value.
- |
-
Byte |
-ByteTypeManufacturerImpl.getByteInRange(byte minValue,
- byte maxValue,
- AttributeMetadata attributeMetadata)
-It returns a byte/Byte within min and max value (included).
- |
-
Character |
-CharTypeManufacturerImpl.getCharacter(AttributeMetadata attributeMetadata)
-It returns a char/Character value.
- |
-
Character |
-CharTypeManufacturerImpl.getCharacterInRange(char minValue,
- char maxValue,
- AttributeMetadata attributeMetadata)
-It returns a char/Character value between min and max value (included).
- |
-
Double |
-DoubleTypeManufacturerImpl.getDouble(AttributeMetadata attributeMetadata)
-It returns a double/Double value
- |
-
Double |
-DoubleTypeManufacturerImpl.getDoubleInRange(double minValue,
- double maxValue,
- AttributeMetadata attributeMetadata)
-It returns a double/Double value between min and max value (included).
- |
-
Float |
-FloatTypeManufacturerImpl.getFloat(AttributeMetadata attributeMetadata)
-It returns a float/Float value.
- |
-
Float |
-FloatTypeManufacturerImpl.getFloatInRange(float minValue,
- float maxValue,
- AttributeMetadata attributeMetadata)
-It returns a float/Float value between min and max value (included).
- |
-
Integer |
-IntTypeManufacturerImpl.getInteger(AttributeMetadata attributeMetadata)
-It returns an int/Integer value.
- |
-
int |
-IntTypeManufacturerImpl.getIntegerInRange(int minValue,
- int maxValue,
- AttributeMetadata attributeMetadata)
-It returns an int/Integer value between min and max value (included).
- |
-
Long |
-LongTypeManufacturerImpl.getLong(AttributeMetadata attributeMetadata)
-It returns a long/Long value.
- |
-
Long |
-LongTypeManufacturerImpl.getLongInRange(long minValue,
- long maxValue,
- AttributeMetadata attributeMetadata)
-It returns a long/Long value between min and max value (included).
- |
-
Short |
-ShortTypeManufacturerImpl.getShort(AttributeMetadata attributeMetadata)
-It returns a short/Short value.
- |
-
Short |
-ShortTypeManufacturerImpl.getShortInRange(short minValue,
- short maxValue,
- AttributeMetadata attributeMetadata)
-It returns a short/Short value between min and max value (included).
- |
-
String |
-StringTypeManufacturerImpl.getStringOfLength(int length,
- AttributeMetadata attributeMetadata)
-It returns a String of
-length characters. |
-
String |
-StringTypeManufacturerImpl.getStringValue(AttributeMetadata attributeMetadata)
-It returns a string value
- |
-
Cloneable |
-ArrayTypeManufacturerImpl.getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap) |
-
Byte |
-ByteTypeManufacturerImpl.getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
Map<Object,Object> |
-MapTypeManufacturerImpl.getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap) |
-
Float |
-FloatTypeManufacturerImpl.getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
Collection<Object> |
-CollectionTypeManufacturerImpl.getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap) |
-
Integer |
-IntTypeManufacturerImpl.getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
Object |
-GenericTypeManufacturerImpl.getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap) |
-
String |
-StringTypeManufacturerImpl.getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
Boolean |
-BooleanTypeManufacturerImpl.getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
T |
-TypeManufacturer.getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
Long |
-LongTypeManufacturerImpl.getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
Double |
-DoubleTypeManufacturerImpl.getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
Enum<?> |
-EnumTypeManufacturerImpl.getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
Short |
-ShortTypeManufacturerImpl.getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
Character |
-CharTypeManufacturerImpl.getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Package | +Description | +
---|---|
uk.co.jemos.podam.api | +
+ This package contains PODAM main APIs
+ |
+
uk.co.jemos.podam.typeManufacturers | +
+ Contains Type Manufacturers.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+AbstractRandomDataProviderStrategy.cacheMemoizedObject(AttributeMetadata attributeMetadata,
+ Object instance)
+Saves object in memoization cache
+ |
+
void |
+DataProviderStrategy.cacheMemoizedObject(AttributeMetadata attributeMetadata,
+ Object instance)
+Saves object in memoization cache
+ |
+
Object |
+AbstractRandomDataProviderStrategy.getMemoizedObject(AttributeMetadata attributeMetadata)
+Obtains object from memoization cache
+ |
+
Object |
+DataProviderStrategy.getMemoizedObject(AttributeMetadata attributeMetadata)
+Obtains object from memoization cache
+ |
+
<T> T |
+AbstractRandomDataProviderStrategy.getTypeValue(AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx,
+ Class<T> pojoType)
+Obtains a type value
+ |
+
<T> T |
+DataProviderStrategy.getTypeValue(AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx,
+ Class<T> pojoType)
+Obtains a type value
+ |
+
private <T> T |
+PodamFactoryImpl.getValueForAbstractType(Class<T> pojoClass,
+ AttributeMetadata pojoMetadata,
+ ManufacturingContext manufacturingCtx,
+ Type[] genericTypeArgs)
+Returns a value for an abstract type or interface if possible.
+ |
+
private void |
+AbstractRandomDataProviderStrategy.log(AttributeMetadata attributeMetadata) |
+
private <T> T |
+PodamFactoryImpl.manufacturePojoInternal(Class<T> pojoClass,
+ AttributeMetadata pojoMetadata,
+ ManufacturingContext manufacturingCtx,
+ Type... genericTypeArgs)
+Generic method which returns an instance of the given class filled with
+ values dictated by the strategy
+ |
+
private Object |
+PodamFactoryImpl.resolveArrayElementValue(Object pojo,
+ ManufacturingContext manufacturingCtx,
+ AttributeMetadata attributeMetadata)
+It returns an Array with the first element set
+ |
+
private Collection<? super Object> |
+PodamFactoryImpl.resolveCollectionValueWhenCollectionIsPojoAttribute(Object pojo,
+ ManufacturingContext manufacturingCtx,
+ AttributeMetadata attributeMetadata)
+It returns a collection of some sort with some data in it.
+ |
+
private Map<? super Object,? super Object> |
+PodamFactoryImpl.resolveMapValueWhenMapIsPojoAttribute(Object pojo,
+ ManufacturingContext manufacturingCtx,
+ AttributeMetadata attributeMetadata)
+It manufactures and returns a Map with at least one element in it
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Boolean |
+BooleanTypeManufacturerImpl.getBoolean(AttributeMetadata attributeMetadata)
+It returns a boolean/Boolean value.
+ |
+
Byte |
+ByteTypeManufacturerImpl.getByte(AttributeMetadata attributeMetadata)
+It returns a byte/Byte value.
+ |
+
Byte |
+ByteTypeManufacturerImpl.getByteInRange(byte minValue,
+ byte maxValue,
+ AttributeMetadata attributeMetadata)
+It returns a byte/Byte within min and max value (included).
+ |
+
Character |
+CharTypeManufacturerImpl.getCharacter(AttributeMetadata attributeMetadata)
+It returns a char/Character value.
+ |
+
Character |
+CharTypeManufacturerImpl.getCharacterInRange(char minValue,
+ char maxValue,
+ AttributeMetadata attributeMetadata)
+It returns a char/Character value between min and max value (included).
+ |
+
Double |
+DoubleTypeManufacturerImpl.getDouble(AttributeMetadata attributeMetadata)
+It returns a double/Double value
+ |
+
Double |
+DoubleTypeManufacturerImpl.getDoubleInRange(double minValue,
+ double maxValue,
+ AttributeMetadata attributeMetadata)
+It returns a double/Double value between min and max value (included).
+ |
+
Float |
+FloatTypeManufacturerImpl.getFloat(AttributeMetadata attributeMetadata)
+It returns a float/Float value.
+ |
+
Float |
+FloatTypeManufacturerImpl.getFloatInRange(float minValue,
+ float maxValue,
+ AttributeMetadata attributeMetadata)
+It returns a float/Float value between min and max value (included).
+ |
+
Integer |
+IntTypeManufacturerImpl.getInteger(AttributeMetadata attributeMetadata)
+It returns an int/Integer value.
+ |
+
int |
+IntTypeManufacturerImpl.getIntegerInRange(int minValue,
+ int maxValue,
+ AttributeMetadata attributeMetadata)
+It returns an int/Integer value between min and max value (included).
+ |
+
Long |
+LongTypeManufacturerImpl.getLong(AttributeMetadata attributeMetadata)
+It returns a long/Long value.
+ |
+
Long |
+LongTypeManufacturerImpl.getLongInRange(long minValue,
+ long maxValue,
+ AttributeMetadata attributeMetadata)
+It returns a long/Long value between min and max value (included).
+ |
+
Short |
+ShortTypeManufacturerImpl.getShort(AttributeMetadata attributeMetadata)
+It returns a short/Short value.
+ |
+
Short |
+ShortTypeManufacturerImpl.getShortInRange(short minValue,
+ short maxValue,
+ AttributeMetadata attributeMetadata)
+It returns a short/Short value between min and max value (included).
+ |
+
String |
+StringTypeManufacturerImpl.getStringOfLength(int length,
+ AttributeMetadata attributeMetadata)
+It returns a String of
+length characters. |
+
String |
+StringTypeManufacturerImpl.getStringValue(AttributeMetadata attributeMetadata)
+It returns a string value
+ |
+
Cloneable |
+ArrayTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx) |
+
Boolean |
+BooleanTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
Byte |
+ByteTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
Character |
+CharTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
Collection<Object> |
+CollectionTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx) |
+
Double |
+DoubleTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
Enum<?> |
+EnumTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
Float |
+FloatTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
Integer |
+IntTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
Long |
+LongTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
Map<Object,Object> |
+MapTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx) |
+
Short |
+ShortTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
String |
+StringTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
T |
+TypeManufacturer.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
Object |
+TypeTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx) |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/class-use/ClassAttribute.html b/apidocs/uk/co/jemos/podam/api/class-use/ClassAttribute.html old mode 100644 new mode 100755 index 83cf4fcad..2e2456a83 --- a/apidocs/uk/co/jemos/podam/api/class-use/ClassAttribute.html +++ b/apidocs/uk/co/jemos/podam/api/class-use/ClassAttribute.html @@ -1,226 +1,274 @@ - - - - - - -Package | -Description | -
---|---|
uk.co.jemos.podam.api | -
- This package contains PODAM main APIs
- |
-
Modifier and Type | -Field and Description | -
---|---|
private Set<ClassAttribute> |
-ClassInfo.classAttributes
-The Set of fields belonging to this class
- |
-
Modifier and Type | -Method and Description | -
---|---|
Set<ClassAttribute> |
-ClassInfo.getClassAttributes() |
-
Modifier and Type | -Method and Description | -
---|---|
boolean |
-ClassAttributeApprover.approve(ClassAttribute attribute)
-Override this method to select or reject class attributes
- |
-
boolean |
-AbstractClassInfoStrategy.approve(ClassAttribute attribute)
-Override this method to select or reject class attributes
- |
-
Constructor and Description | -
---|
ClassInfo(Class<?> className,
- Collection<ClassAttribute> classAttributes)
-Partial constructor.
- |
-
ClassInfo(Class<?> className,
- Collection<ClassAttribute> classAttributes,
- Collection<Method> extraMethods)
-Full constructor.
- |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Package | +Description | +
---|---|
uk.co.jemos.podam.api | +
+ This package contains PODAM main APIs
+ |
+
Modifier and Type | +Field and Description | +
---|---|
private Set<ClassAttribute> |
+ClassInfo.classAttributes
+The Set of fields belonging to this class
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Set<ClassAttribute> |
+ClassInfo.getClassAttributes() |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+AbstractClassInfoStrategy.approve(ClassAttribute attribute)
+Override this method to select or reject class attributes
+ |
+
boolean |
+ClassAttributeApprover.approve(ClassAttribute attribute)
+Override this method to select or reject class attributes
+ |
+
AttributeStrategy<?> |
+AbstractRandomDataProviderStrategy.getStrategyForAttribute(ClassAttribute attribute)
+Finds attribute strategies for attribute.
+ |
+
AttributeStrategy<?> |
+DataProviderStrategy.getStrategyForAttribute(ClassAttribute attribute)
+Finds attribute strategies for attribute.
+ |
+
private <T> boolean |
+PodamFactoryImpl.populateReadOnlyField(T pojo,
+ ClassAttribute attribute,
+ ManufacturingContext manufacturingCtx,
+ Type... genericTypeArgs)
+Fills a field with a getter
+ |
+
private <T> boolean |
+PodamFactoryImpl.populateReadWriteField(T pojo,
+ ClassAttribute attribute,
+ ManufacturingContext manufacturingCtx)
+Fills a field with a setter
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+AbstractClassInfoStrategy.findPojoAttributes(Class<?> clazz,
+ Map<String,ClassAttribute> attributeMap,
+ Set<Class<? extends Annotation>> excludeAnnotations,
+ Set<String> excludedFields)
+Given a class and a set of class declared fields it returns a map of
+ setters, getters and fields defined for this class
+ |
+
Constructor and Description | +
---|
ClassInfo(Class<?> className,
+ Collection<ClassAttribute> classAttributes)
+Partial constructor.
+ |
+
ClassInfo(Class<?> className,
+ Collection<ClassAttribute> classAttributes,
+ Collection<Method> extraMethods)
+Full constructor.
+ |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/class-use/ClassAttributeApprover.html b/apidocs/uk/co/jemos/podam/api/class-use/ClassAttributeApprover.html old mode 100644 new mode 100755 index 55e0ab6a3..9a30d73c2 --- a/apidocs/uk/co/jemos/podam/api/class-use/ClassAttributeApprover.html +++ b/apidocs/uk/co/jemos/podam/api/class-use/ClassAttributeApprover.html @@ -1,227 +1,213 @@ - - - - - - -Package | -Description | -
---|---|
uk.co.jemos.podam.api | -
- This package contains PODAM main APIs
- |
-
Modifier and Type | -Class and Description | -
---|---|
class |
-AbstractClassInfoStrategy
-Default abstract implementation of a
-ClassInfoStrategy |
-
class |
-DefaultClassInfoStrategy
-Singleton implementation of a
-AbstractClassInfoStrategy |
-
Modifier and Type | -Method and Description | -
---|---|
ClassAttributeApprover |
-AbstractClassInfoStrategy.getClassAttributeApprover(Class<?> pojoClass) |
-
ClassAttributeApprover |
-ClassInfoStrategy.getClassAttributeApprover(Class<?> pojoClass) |
-
Modifier and Type | -Method and Description | -
---|---|
static ClassInfo |
-PodamUtils.getClassInfo(Class<?> clazz,
- ClassAttributeApprover attributeApprover)
-It returns a
-ClassInfo object for the given class |
-
static ClassInfo |
-PodamUtils.getClassInfo(Class<?> clazz,
- Set<Class<? extends Annotation>> excludeFieldAnnotations,
- Set<String> excludedFields,
- ClassAttributeApprover attributeApprover)
-It returns a
-ClassInfo object for the given class |
-
static ClassInfo |
-PodamUtils.getClassInfo(Class<?> clazz,
- Set<Class<? extends Annotation>> excludeFieldAnnotations,
- Set<String> excludedFields,
- ClassAttributeApprover attributeApprover,
- Collection<Method> extraMethods) |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Package | +Description | +
---|---|
uk.co.jemos.podam.api | +
+ This package contains PODAM main APIs
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+AbstractClassInfoStrategy
+Default abstract implementation of a
+ClassInfoStrategy |
+
class |
+DefaultClassInfoStrategy
+Singleton implementation of a
+AbstractClassInfoStrategy |
+
Modifier and Type | +Method and Description | +
---|---|
ClassAttributeApprover |
+AbstractClassInfoStrategy.getClassAttributeApprover(Class<?> pojoClass) |
+
ClassAttributeApprover |
+ClassInfoStrategy.getClassAttributeApprover(Class<?> pojoClass) |
+
Modifier and Type | +Method and Description | +
---|---|
ClassInfo |
+AbstractClassInfoStrategy.getClassInfo(Class<?> clazz,
+ Set<Class<? extends Annotation>> excludeFieldAnnotations,
+ Set<String> excludedFields,
+ ClassAttributeApprover attributeApprover,
+ Collection<Method> extraMethods)
+It returns a
+ClassInfo object for the given class |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/class-use/ClassInfo.html b/apidocs/uk/co/jemos/podam/api/class-use/ClassInfo.html old mode 100644 new mode 100755 index 9237de51f..9fcc4bbb3 --- a/apidocs/uk/co/jemos/podam/api/class-use/ClassInfo.html +++ b/apidocs/uk/co/jemos/podam/api/class-use/ClassInfo.html @@ -1,197 +1,183 @@ - - - - - - -Package | -Description | -
---|---|
uk.co.jemos.podam.api | -
- This package contains PODAM main APIs
- |
-
Modifier and Type | -Method and Description | -
---|---|
ClassInfo |
-AbstractClassInfoStrategy.getClassInfo(Class<?> pojoClass) |
-
ClassInfo |
-ClassInfoStrategy.getClassInfo(Class<?> pojoClass) |
-
static ClassInfo |
-PodamUtils.getClassInfo(Class<?> clazz,
- ClassAttributeApprover attributeApprover)
-It returns a
-ClassInfo object for the given class |
-
static ClassInfo |
-PodamUtils.getClassInfo(Class<?> clazz,
- Set<Class<? extends Annotation>> excludeFieldAnnotations,
- Set<String> excludedFields,
- ClassAttributeApprover attributeApprover)
-It returns a
-ClassInfo object for the given class |
-
static ClassInfo |
-PodamUtils.getClassInfo(Class<?> clazz,
- Set<Class<? extends Annotation>> excludeFieldAnnotations,
- Set<String> excludedFields,
- ClassAttributeApprover attributeApprover,
- Collection<Method> extraMethods) |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Package | +Description | +
---|---|
uk.co.jemos.podam.api | +
+ This package contains PODAM main APIs
+ |
+
Modifier and Type | +Method and Description | +
---|---|
ClassInfo |
+AbstractClassInfoStrategy.getClassInfo(Class<?> pojoClass) |
+
ClassInfo |
+ClassInfoStrategy.getClassInfo(Class<?> pojoClass) |
+
ClassInfo |
+AbstractClassInfoStrategy.getClassInfo(Class<?> clazz,
+ Set<Class<? extends Annotation>> excludeFieldAnnotations,
+ Set<String> excludedFields,
+ ClassAttributeApprover attributeApprover,
+ Collection<Method> extraMethods)
+It returns a
+ClassInfo object for the given class |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/class-use/ClassInfoStrategy.html b/apidocs/uk/co/jemos/podam/api/class-use/ClassInfoStrategy.html old mode 100644 new mode 100755 index 7a366a98b..fd15be4c4 --- a/apidocs/uk/co/jemos/podam/api/class-use/ClassInfoStrategy.html +++ b/apidocs/uk/co/jemos/podam/api/class-use/ClassInfoStrategy.html @@ -1,242 +1,242 @@ - - - - - - -Package | -Description | -
---|---|
uk.co.jemos.podam.api | -
- This package contains PODAM main APIs
- |
-
Modifier and Type | -Class and Description | -
---|---|
class |
-AbstractClassInfoStrategy
-Default abstract implementation of a
-ClassInfoStrategy |
-
class |
-DefaultClassInfoStrategy
-Singleton implementation of a
-AbstractClassInfoStrategy |
-
Modifier and Type | -Field and Description | -
---|---|
private ClassInfoStrategy |
-PodamFactoryImpl.classInfoStrategy
-The strategy to use to introspect data.
- |
-
Modifier and Type | -Method and Description | -
---|---|
ClassInfoStrategy |
-AbstractExternalFactory.getClassStrategy() |
-
ClassInfoStrategy |
-PodamFactory.getClassStrategy()
-It returns the class info strategy for this factory.
- |
-
ClassInfoStrategy |
-PodamFactoryImpl.getClassStrategy()
-It returns the class info strategy for this factory.
- |
-
Modifier and Type | -Method and Description | -
---|---|
PodamFactory |
-AbstractExternalFactory.setClassStrategy(ClassInfoStrategy classInfoStrategy) |
-
PodamFactory |
-PodamFactory.setClassStrategy(ClassInfoStrategy classInfoStrategy)
-Sets the class info strategy for this factory
- |
-
PodamFactory |
-PodamFactoryImpl.setClassStrategy(ClassInfoStrategy classInfoStrategy)
-Sets the class info strategy for this factory
- |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Package | +Description | +
---|---|
uk.co.jemos.podam.api | +
+ This package contains PODAM main APIs
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+AbstractClassInfoStrategy
+Default abstract implementation of a
+ClassInfoStrategy |
+
class |
+DefaultClassInfoStrategy
+Singleton implementation of a
+AbstractClassInfoStrategy |
+
Modifier and Type | +Field and Description | +
---|---|
private ClassInfoStrategy |
+PodamFactoryImpl.classInfoStrategy
+The strategy to use to introspect data.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
ClassInfoStrategy |
+AbstractExternalFactory.getClassStrategy() |
+
ClassInfoStrategy |
+PodamFactory.getClassStrategy()
+It returns the class info strategy for this factory.
+ |
+
ClassInfoStrategy |
+PodamFactoryImpl.getClassStrategy()
+It returns the class info strategy for this factory.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
PodamFactory |
+AbstractExternalFactory.setClassStrategy(ClassInfoStrategy classInfoStrategy) |
+
PodamFactory |
+PodamFactory.setClassStrategy(ClassInfoStrategy classInfoStrategy)
+Sets the class info strategy for this factory
+ |
+
PodamFactory |
+PodamFactoryImpl.setClassStrategy(ClassInfoStrategy classInfoStrategy)
+Sets the class info strategy for this factory
+ |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/class-use/DataProviderStrategy.Order.html b/apidocs/uk/co/jemos/podam/api/class-use/DataProviderStrategy.Order.html old mode 100644 new mode 100755 index 986d5e74f..cd284ea3a --- a/apidocs/uk/co/jemos/podam/api/class-use/DataProviderStrategy.Order.html +++ b/apidocs/uk/co/jemos/podam/api/class-use/DataProviderStrategy.Order.html @@ -1,275 +1,275 @@ - - - - - - -Package | -Description | -
---|---|
uk.co.jemos.podam.api | -
- This package contains PODAM main APIs
- |
-
uk.co.jemos.podam.common | -
- This package contains PODAM common APIs
- |
-
Modifier and Type | -Method and Description | -
---|---|
static DataProviderStrategy.Order |
-DataProviderStrategy.Order.valueOf(String name)
-Returns the enum constant of this type with the specified name.
- |
-
static DataProviderStrategy.Order[] |
-DataProviderStrategy.Order.values()
-Returns an array containing the constants of this enum type, in
-the order they are declared.
- |
-
Modifier and Type | -Method and Description | -
---|---|
void |
-DataProviderStrategy.sort(Constructor<?>[] constructors,
- DataProviderStrategy.Order order)
-Rearranges POJO's constructors in order they will be tried to
- produce the POJO.
- |
-
void |
-AbstractRandomDataProviderStrategy.sort(Constructor<?>[] constructors,
- DataProviderStrategy.Order order)
-Rearranges POJO's constructors in order they will be tried to produce the
- POJO.
- |
-
void |
-DataProviderStrategy.sort(Method[] methods,
- DataProviderStrategy.Order order)
-Rearranges POJO's methods in order they will be tried to
- produce the POJO.
- |
-
void |
-AbstractRandomDataProviderStrategy.sort(Method[] methods,
- DataProviderStrategy.Order order)
-Rearranges POJO's methods in order they will be tried to produce the
- POJO.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private DataProviderStrategy.Order |
-ManufacturingContext.constructorOrdering
-Constructors sorting order
- |
-
Modifier and Type | -Method and Description | -
---|---|
DataProviderStrategy.Order |
-ManufacturingContext.getConstructorOrdering()
-Getter for constructor ordering
- |
-
Modifier and Type | -Method and Description | -
---|---|
void |
-ManufacturingContext.setConstructorOrdering(DataProviderStrategy.Order constructorOrdering)
-Setter for constructor ordering
- |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Package | +Description | +
---|---|
uk.co.jemos.podam.api | +
+ This package contains PODAM main APIs
+ |
+
uk.co.jemos.podam.common | +
+ This package contains PODAM common APIs
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static DataProviderStrategy.Order |
+DataProviderStrategy.Order.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static DataProviderStrategy.Order[] |
+DataProviderStrategy.Order.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+AbstractRandomDataProviderStrategy.sort(Constructor<?>[] constructors,
+ DataProviderStrategy.Order order)
+Rearranges POJO's constructors in order they will be tried to produce the
+ POJO.
+ |
+
void |
+DataProviderStrategy.sort(Constructor<?>[] constructors,
+ DataProviderStrategy.Order order)
+Rearranges POJO's constructors in order they will be tried to
+ produce the POJO.
+ |
+
void |
+AbstractRandomDataProviderStrategy.sort(Method[] methods,
+ DataProviderStrategy.Order order)
+Rearranges POJO's methods in order they will be tried to produce the
+ POJO.
+ |
+
void |
+DataProviderStrategy.sort(Method[] methods,
+ DataProviderStrategy.Order order)
+Rearranges POJO's methods in order they will be tried to
+ produce the POJO.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
private DataProviderStrategy.Order |
+ManufacturingContext.constructorOrdering
+Constructors sorting order
+ |
+
Modifier and Type | +Method and Description | +
---|---|
DataProviderStrategy.Order |
+ManufacturingContext.getConstructorOrdering()
+Getter for constructor ordering
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+ManufacturingContext.setConstructorOrdering(DataProviderStrategy.Order constructorOrdering)
+Setter for constructor ordering
+ |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/class-use/DataProviderStrategy.html b/apidocs/uk/co/jemos/podam/api/class-use/DataProviderStrategy.html old mode 100644 new mode 100755 index 9161df448..499812e97 --- a/apidocs/uk/co/jemos/podam/api/class-use/DataProviderStrategy.html +++ b/apidocs/uk/co/jemos/podam/api/class-use/DataProviderStrategy.html @@ -1,486 +1,502 @@ - - - - - - -Package | -Description | -
---|---|
uk.co.jemos.podam.api | -
- This package contains PODAM main APIs
- |
-
uk.co.jemos.podam.typeManufacturers | -
- Contains Type Manufacturers.
- |
-
Modifier and Type | -Interface and Description | -
---|---|
interface |
-RandomDataProviderStrategy
-Adds additional methods for a random data provider strategy.
- |
-
Modifier and Type | -Class and Description | -
---|---|
class |
-AbstractRandomDataProviderStrategy
-Default abstract implementation of a
-DataProviderStrategy |
-
class |
-RandomDataProviderStrategyImpl
-Default implementation of a
-DataProviderStrategy |
-
Modifier and Type | -Field and Description | -
---|---|
private DataProviderStrategy |
-PodamFactoryImpl.strategy
-The strategy to use to fill data.
- |
-
Modifier and Type | -Method and Description | -
---|---|
<T> DataProviderStrategy |
-DataProviderStrategy.addOrReplaceSpecific(Class<T> abstractClass,
- Class<? extends T> specificClass)
-Bind an interface/abstract class to a specific implementation.
- |
-
<T> DataProviderStrategy |
-AbstractRandomDataProviderStrategy.addOrReplaceSpecific(Class<T> abstractClass,
- Class<? extends T> specificClass)
-Bind an interface/abstract class to a specific implementation.
- |
-
<T> DataProviderStrategy |
-DataProviderStrategy.addOrReplaceTypeManufacturer(Class<? extends T> type,
- TypeManufacturer<T> typeManufacturer)
-Registers @TypeManufacturer implementation, which will be used to
- instantiate objects of a specified type.
- |
-
<T> DataProviderStrategy |
-AbstractRandomDataProviderStrategy.addOrReplaceTypeManufacturer(Class<? extends T> type,
- TypeManufacturer<T> typeManufacturer)
-Registers @TypeManufacturer implementation, which will be used to
- instantiate objects of a specified type.
- |
-
DataProviderStrategy |
-AbstractExternalFactory.getStrategy() |
-
DataProviderStrategy |
-PodamFactory.getStrategy()
-It returns the strategy for this factory.
- |
-
DataProviderStrategy |
-PodamFactoryImpl.getStrategy()
-It returns the strategy for this factory.
- |
-
<T> DataProviderStrategy |
-DataProviderStrategy.removeSpecific(Class<T> abstractClass)
-Remove binding of an interface/abstract class to a specific
- implementation
- |
-
<T> DataProviderStrategy |
-AbstractRandomDataProviderStrategy.removeSpecific(Class<T> abstractClass)
-Remove binding of an interface/abstract class to a specific
- implementation
- |
-
<T> DataProviderStrategy |
-DataProviderStrategy.removeTypeManufacturer(Class<T> type)
-Remove binding of a class type to a specific
- implementation of type manufacturer
- |
-
<T> DataProviderStrategy |
-AbstractRandomDataProviderStrategy.removeTypeManufacturer(Class<T> type)
-Remove binding of a class type to a specific
- implementation of type manufacturer
- |
-
Modifier and Type | -Method and Description | -
---|---|
PodamFactory |
-AbstractExternalFactory.setStrategy(DataProviderStrategy strategy) |
-
PodamFactory |
-PodamFactory.setStrategy(DataProviderStrategy strategy)
-Sets the data provider strategy for this factory
- |
-
PodamFactory |
-PodamFactoryImpl.setStrategy(DataProviderStrategy strategy)
-Sets the data provider strategy for this factory
- |
-
Constructor and Description | -
---|
PodamFactoryImpl(DataProviderStrategy strategy)
-Constructor with non-default strategy
- |
-
PodamFactoryImpl(PodamFactory externalFactory,
- DataProviderStrategy strategy)
-Full constructor.
- |
-
Modifier and Type | -Method and Description | -
---|---|
static AttributeStrategy<?> |
-TypeManufacturerUtil.findAttributeStrategy(DataProviderStrategy strategy,
- List<Annotation> annotations,
- Class<?> attributeType)
-It returns a
-AttributeStrategy if one was specified in
- annotations, or null otherwise. |
-
static Integer |
-TypeManufacturerUtil.findCollectionSize(DataProviderStrategy strategy,
- List<Annotation> annotations,
- Class<?> collectionElementType,
- Holder<AttributeStrategy<?>> elementStrategyHolder,
- Holder<AttributeStrategy<?>> keyStrategyHolder)
-Searches for annotation with information about collection/map size
- and filling strategies
- |
-
Cloneable |
-ArrayTypeManufacturerImpl.getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap) |
-
Byte |
-ByteTypeManufacturerImpl.getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
Map<Object,Object> |
-MapTypeManufacturerImpl.getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap) |
-
Float |
-FloatTypeManufacturerImpl.getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
Collection<Object> |
-CollectionTypeManufacturerImpl.getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap) |
-
Integer |
-IntTypeManufacturerImpl.getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
Object |
-GenericTypeManufacturerImpl.getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap) |
-
String |
-StringTypeManufacturerImpl.getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
Boolean |
-BooleanTypeManufacturerImpl.getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
T |
-TypeManufacturer.getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
Long |
-LongTypeManufacturerImpl.getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
Double |
-DoubleTypeManufacturerImpl.getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
Enum<?> |
-EnumTypeManufacturerImpl.getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
Short |
-ShortTypeManufacturerImpl.getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
Character |
-CharTypeManufacturerImpl.getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Package | +Description | +
---|---|
uk.co.jemos.podam.api | +
+ This package contains PODAM main APIs
+ |
+
uk.co.jemos.podam.typeManufacturers | +
+ Contains Type Manufacturers.
+ |
+
Modifier and Type | +Interface and Description | +
---|---|
interface |
+RandomDataProviderStrategy
+Adds additional methods for a random data provider strategy.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+AbstractRandomDataProviderStrategy
+Default abstract implementation of a
+DataProviderStrategy |
+
class |
+RandomDataProviderStrategyImpl
+Default implementation of a
+DataProviderStrategy |
+
Modifier and Type | +Field and Description | +
---|---|
private DataProviderStrategy |
+PodamFactoryImpl.strategy
+The strategy to use to fill data.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
DataProviderStrategy |
+DataProviderStrategy.addOrReplaceAttributeStrategy(Class<?> type,
+ String attributeName,
+ AttributeStrategy<?> attributeStrategy)
+Registers @AttributeStrategy implementation, which will be used to
+ instantiate objects of a specified type.
+ |
+
<T> DataProviderStrategy |
+AbstractRandomDataProviderStrategy.addOrReplaceSpecific(Class<T> abstractClass,
+ Class<? extends T> specificClass)
+Bind an interface/abstract class to a specific implementation.
+ |
+
<T> DataProviderStrategy |
+DataProviderStrategy.addOrReplaceSpecific(Class<T> abstractClass,
+ Class<? extends T> specificClass)
+Bind an interface/abstract class to a specific implementation.
+ |
+
<T> DataProviderStrategy |
+AbstractRandomDataProviderStrategy.addOrReplaceTypeManufacturer(Class<? extends T> type,
+ TypeManufacturer<T> typeManufacturer)
+Registers @TypeManufacturer implementation, which will be used to
+ instantiate objects of a specified type.
+ |
+
<T> DataProviderStrategy |
+DataProviderStrategy.addOrReplaceTypeManufacturer(Class<? extends T> type,
+ TypeManufacturer<T> typeManufacturer)
+Registers @TypeManufacturer implementation, which will be used to
+ instantiate objects of a specified type.
+ |
+
DataProviderStrategy |
+AbstractExternalFactory.getStrategy() |
+
DataProviderStrategy |
+PodamFactory.getStrategy()
+It returns the strategy for this factory.
+ |
+
DataProviderStrategy |
+PodamFactoryImpl.getStrategy()
+It returns the strategy for this factory.
+ |
+
DataProviderStrategy |
+DataProviderStrategy.removeAttributeStrategy(Class<?> type,
+ String attributeName)
+Removes @AttributeStrategy implementation from for the specific attribute
+ |
+
<T> DataProviderStrategy |
+AbstractRandomDataProviderStrategy.removeSpecific(Class<T> abstractClass)
+Remove binding of an interface/abstract class to a specific
+ implementation
+ |
+
<T> DataProviderStrategy |
+DataProviderStrategy.removeSpecific(Class<T> abstractClass)
+Remove binding of an interface/abstract class to a specific
+ implementation
+ |
+
<T> DataProviderStrategy |
+AbstractRandomDataProviderStrategy.removeTypeManufacturer(Class<T> type)
+Remove binding of a class type to a specific
+ implementation of type manufacturer
+ |
+
<T> DataProviderStrategy |
+DataProviderStrategy.removeTypeManufacturer(Class<T> type)
+Remove binding of a class type to a specific
+ implementation of type manufacturer
+ |
+
Modifier and Type | +Method and Description | +
---|---|
PodamFactory |
+AbstractExternalFactory.setStrategy(DataProviderStrategy strategy) |
+
PodamFactory |
+PodamFactory.setStrategy(DataProviderStrategy strategy)
+Sets the data provider strategy for this factory
+ |
+
PodamFactory |
+PodamFactoryImpl.setStrategy(DataProviderStrategy strategy)
+Sets the data provider strategy for this factory
+ |
+
Constructor and Description | +
---|
PodamFactoryImpl(DataProviderStrategy strategy)
+Constructor with non-default strategy
+ |
+
PodamFactoryImpl(PodamFactory externalFactory,
+ DataProviderStrategy strategy)
+Full constructor.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static AttributeStrategy<?> |
+TypeManufacturerUtil.findAttributeStrategy(DataProviderStrategy strategy,
+ List<Annotation> annotations,
+ Class<?> attributeType)
+It returns a
+AttributeStrategy if one was specified in
+ annotations, or null otherwise. |
+
static Integer |
+TypeManufacturerUtil.findCollectionSize(DataProviderStrategy strategy,
+ List<Annotation> annotations,
+ Class<?> collectionElementType,
+ Holder<AttributeStrategy<?>> elementStrategyHolder,
+ Holder<AttributeStrategy<?>> keyStrategyHolder)
+Searches for annotation with information about collection/map size
+ and filling strategies
+ |
+
Cloneable |
+ArrayTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx) |
+
Boolean |
+BooleanTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
Byte |
+ByteTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
Character |
+CharTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
Collection<Object> |
+CollectionTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx) |
+
Double |
+DoubleTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
Enum<?> |
+EnumTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
Float |
+FloatTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
Integer |
+IntTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
Long |
+LongTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
Map<Object,Object> |
+MapTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx) |
+
Short |
+ShortTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
String |
+StringTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
T |
+TypeManufacturer.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
Object |
+TypeTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx) |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/class-use/DefaultClassInfoStrategy.html b/apidocs/uk/co/jemos/podam/api/class-use/DefaultClassInfoStrategy.html old mode 100644 new mode 100755 index 563805a23..d4927a82d --- a/apidocs/uk/co/jemos/podam/api/class-use/DefaultClassInfoStrategy.html +++ b/apidocs/uk/co/jemos/podam/api/class-use/DefaultClassInfoStrategy.html @@ -1,193 +1,186 @@ - - - - - - -Package | -Description | -
---|---|
uk.co.jemos.podam.api | -
- This package contains PODAM main APIs
- |
-
Modifier and Type | -Field and Description | -
---|---|
private static DefaultClassInfoStrategy |
-DefaultClassInfoStrategy.SINGLETON
-The singleton instance of this implementation
- |
-
Modifier and Type | -Method and Description | -
---|---|
static DefaultClassInfoStrategy |
-DefaultClassInfoStrategy.getInstance()
-Implementation of the Singleton pattern
- |
-
static DefaultClassInfoStrategy |
-DefaultClassInfoStrategy.getInstance(int nbrCollectionElements)
-Other factory method which assigns a default number of collection
- elements before returning the singleton.
- |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Package | +Description | +
---|---|
uk.co.jemos.podam.api | +
+ This package contains PODAM main APIs
+ |
+
Modifier and Type | +Field and Description | +
---|---|
private static DefaultClassInfoStrategy |
+DefaultClassInfoStrategy.SINGLETON
+The singleton instance of this implementation
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static DefaultClassInfoStrategy |
+DefaultClassInfoStrategy.getInstance()
+Implementation of the Singleton pattern
+ |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/class-use/MapArguments.html b/apidocs/uk/co/jemos/podam/api/class-use/MapArguments.html old mode 100644 new mode 100755 index 3206f4e9f..4730449f8 --- a/apidocs/uk/co/jemos/podam/api/class-use/MapArguments.html +++ b/apidocs/uk/co/jemos/podam/api/class-use/MapArguments.html @@ -1,190 +1,189 @@ - - - - - - -Package | -Description | -
---|---|
uk.co.jemos.podam.api | -
- This package contains PODAM main APIs
- |
-
Modifier and Type | -Method and Description | -
---|---|
private MapArguments |
-PodamFactoryImpl.findInheretedMapElementType(Map<Object,Object> map,
- ManufacturingContext manufacturingCtx,
- Map<String,Type> typeArgsMap,
- Type... genericTypeArgs)
-Finds key and element type arguments
- |
-
Modifier and Type | -Method and Description | -
---|---|
private void |
-PodamFactoryImpl.fillMap(MapArguments mapArguments,
- ManufacturingContext manufacturingCtx)
-It fills a Map with the required number of elements of the required type.
- |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Package | +Description | +
---|---|
uk.co.jemos.podam.api | +
+ This package contains PODAM main APIs
+ |
+
Modifier and Type | +Method and Description | +
---|---|
private MapArguments |
+PodamFactoryImpl.findInheretedMapElementType(Map<Object,Object> map,
+ ManufacturingContext manufacturingCtx,
+ Type... genericTypeArgs)
+Finds key and element type arguments
+ |
+
Modifier and Type | +Method and Description | +
---|---|
private void |
+PodamFactoryImpl.fillMap(MapArguments mapArguments,
+ ManufacturingContext manufacturingCtx)
+It fills a Map with the required number of elements of the required type.
+ |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/class-use/MapKeyOrElementsArguments.html b/apidocs/uk/co/jemos/podam/api/class-use/MapKeyOrElementsArguments.html old mode 100644 new mode 100755 index a2b59c3c2..9fff4132a --- a/apidocs/uk/co/jemos/podam/api/class-use/MapKeyOrElementsArguments.html +++ b/apidocs/uk/co/jemos/podam/api/class-use/MapKeyOrElementsArguments.html @@ -1,173 +1,173 @@ - - - - - - -Package | -Description | -
---|---|
uk.co.jemos.podam.api | -
- This package contains PODAM main APIs
- |
-
Modifier and Type | -Method and Description | -
---|---|
private Object |
-PodamFactoryImpl.getMapKeyOrElementValue(MapKeyOrElementsArguments keyOrElementsArguments,
- ManufacturingContext manufacturingCtx)
-It fills a Map key or value with the appropriate value, considering
- attribute-level customisation.
- |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Package | +Description | +
---|---|
uk.co.jemos.podam.api | +
+ This package contains PODAM main APIs
+ |
+
Modifier and Type | +Method and Description | +
---|---|
private Object |
+PodamFactoryImpl.getMapKeyOrElementValue(MapKeyOrElementsArguments keyOrElementsArguments,
+ ManufacturingContext manufacturingCtx)
+It fills a Map key or value with the appropriate value, considering
+ attribute-level customisation.
+ |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/class-use/NullExternalFactory.html b/apidocs/uk/co/jemos/podam/api/class-use/NullExternalFactory.html old mode 100644 new mode 100755 index f9c668e21..59a032d04 --- a/apidocs/uk/co/jemos/podam/api/class-use/NullExternalFactory.html +++ b/apidocs/uk/co/jemos/podam/api/class-use/NullExternalFactory.html @@ -1,171 +1,171 @@ - - - - - - -Package | -Description | -
---|---|
uk.co.jemos.podam.api | -
- This package contains PODAM main APIs
- |
-
Modifier and Type | -Method and Description | -
---|---|
static NullExternalFactory |
-NullExternalFactory.getInstance()
-Instantiation method
- |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Package | +Description | +
---|---|
uk.co.jemos.podam.api | +
+ This package contains PODAM main APIs
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static NullExternalFactory |
+NullExternalFactory.getInstance()
+Instantiation method
+ |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/class-use/ObjectStrategy.html b/apidocs/uk/co/jemos/podam/api/class-use/ObjectStrategy.html old mode 100644 new mode 100755 index 8f4fbb367..c3bb485f2 --- a/apidocs/uk/co/jemos/podam/api/class-use/ObjectStrategy.html +++ b/apidocs/uk/co/jemos/podam/api/class-use/ObjectStrategy.html @@ -1,127 +1,127 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/class-use/PodamFactory.html b/apidocs/uk/co/jemos/podam/api/class-use/PodamFactory.html old mode 100644 new mode 100755 index a8c7bb846..3279276e0 --- a/apidocs/uk/co/jemos/podam/api/class-use/PodamFactory.html +++ b/apidocs/uk/co/jemos/podam/api/class-use/PodamFactory.html @@ -1,319 +1,319 @@ - - - - - - -Package | -Description | -
---|---|
uk.co.jemos.podam.api | -
- This package contains PODAM main APIs
- |
-
Modifier and Type | -Class and Description | -
---|---|
class |
-AbstractExternalFactory
-Adapter pattern for boilerplate code when creating an external factory
- |
-
class |
-NullExternalFactory
-Default implementation of an external factory which does nothing.
- |
-
class |
-PodamFactoryImpl
-The PODAM factory implementation
- |
-
Modifier and Type | -Field and Description | -
---|---|
private PodamFactory |
-PodamFactoryImpl.externalFactory
-External factory to delegate production this factory cannot handle
- |
-
Modifier and Type | -Method and Description | -
---|---|
PodamFactory |
-AbstractExternalFactory.getExternalFactory() |
-
PodamFactory |
-PodamFactory.getExternalFactory()
-It returns the external factory assigned to this factory.
- |
-
PodamFactory |
-PodamFactoryImpl.getExternalFactory()
-It returns the external factory assigned to this factory.
- |
-
PodamFactory |
-AbstractExternalFactory.setClassStrategy(ClassInfoStrategy classInfoStrategy) |
-
PodamFactory |
-PodamFactory.setClassStrategy(ClassInfoStrategy classInfoStrategy)
-Sets the class info strategy for this factory
- |
-
PodamFactory |
-PodamFactoryImpl.setClassStrategy(ClassInfoStrategy classInfoStrategy)
-Sets the class info strategy for this factory
- |
-
PodamFactory |
-AbstractExternalFactory.setExternalFactory(PodamFactory externalFactory) |
-
PodamFactory |
-PodamFactory.setExternalFactory(PodamFactory externalFactory)
-Sets an external factory for this factory to delegate requests it cannot
- process
- |
-
PodamFactory |
-PodamFactoryImpl.setExternalFactory(PodamFactory externalFactory)
-Sets an external factory for this factory to delegate requests it cannot
- process
- |
-
PodamFactory |
-AbstractExternalFactory.setStrategy(DataProviderStrategy strategy) |
-
PodamFactory |
-PodamFactory.setStrategy(DataProviderStrategy strategy)
-Sets the data provider strategy for this factory
- |
-
PodamFactory |
-PodamFactoryImpl.setStrategy(DataProviderStrategy strategy)
-Sets the data provider strategy for this factory
- |
-
Modifier and Type | -Method and Description | -
---|---|
PodamFactory |
-AbstractExternalFactory.setExternalFactory(PodamFactory externalFactory) |
-
PodamFactory |
-PodamFactory.setExternalFactory(PodamFactory externalFactory)
-Sets an external factory for this factory to delegate requests it cannot
- process
- |
-
PodamFactory |
-PodamFactoryImpl.setExternalFactory(PodamFactory externalFactory)
-Sets an external factory for this factory to delegate requests it cannot
- process
- |
-
Constructor and Description | -
---|
PodamFactoryImpl(PodamFactory externalFactory)
-Constructor with non-default external factory
- |
-
PodamFactoryImpl(PodamFactory externalFactory,
- DataProviderStrategy strategy)
-Full constructor.
- |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Package | +Description | +
---|---|
uk.co.jemos.podam.api | +
+ This package contains PODAM main APIs
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+AbstractExternalFactory
+Adapter pattern for boilerplate code when creating an external factory
+ |
+
class |
+NullExternalFactory
+Default implementation of an external factory which does nothing.
+ |
+
class |
+PodamFactoryImpl
+The PODAM factory implementation
+ |
+
Modifier and Type | +Field and Description | +
---|---|
private PodamFactory |
+PodamFactoryImpl.externalFactory
+External factory to delegate production this factory cannot handle
+ |
+
Modifier and Type | +Method and Description | +
---|---|
PodamFactory |
+AbstractExternalFactory.getExternalFactory() |
+
PodamFactory |
+PodamFactory.getExternalFactory()
+It returns the external factory assigned to this factory.
+ |
+
PodamFactory |
+PodamFactoryImpl.getExternalFactory()
+It returns the external factory assigned to this factory.
+ |
+
PodamFactory |
+AbstractExternalFactory.setClassStrategy(ClassInfoStrategy classInfoStrategy) |
+
PodamFactory |
+PodamFactory.setClassStrategy(ClassInfoStrategy classInfoStrategy)
+Sets the class info strategy for this factory
+ |
+
PodamFactory |
+PodamFactoryImpl.setClassStrategy(ClassInfoStrategy classInfoStrategy)
+Sets the class info strategy for this factory
+ |
+
PodamFactory |
+AbstractExternalFactory.setExternalFactory(PodamFactory externalFactory) |
+
PodamFactory |
+PodamFactory.setExternalFactory(PodamFactory externalFactory)
+Sets an external factory for this factory to delegate requests it cannot
+ process
+ |
+
PodamFactory |
+PodamFactoryImpl.setExternalFactory(PodamFactory externalFactory)
+Sets an external factory for this factory to delegate requests it cannot
+ process
+ |
+
PodamFactory |
+AbstractExternalFactory.setStrategy(DataProviderStrategy strategy) |
+
PodamFactory |
+PodamFactory.setStrategy(DataProviderStrategy strategy)
+Sets the data provider strategy for this factory
+ |
+
PodamFactory |
+PodamFactoryImpl.setStrategy(DataProviderStrategy strategy)
+Sets the data provider strategy for this factory
+ |
+
Modifier and Type | +Method and Description | +
---|---|
PodamFactory |
+AbstractExternalFactory.setExternalFactory(PodamFactory externalFactory) |
+
PodamFactory |
+PodamFactory.setExternalFactory(PodamFactory externalFactory)
+Sets an external factory for this factory to delegate requests it cannot
+ process
+ |
+
PodamFactory |
+PodamFactoryImpl.setExternalFactory(PodamFactory externalFactory)
+Sets an external factory for this factory to delegate requests it cannot
+ process
+ |
+
Constructor and Description | +
---|
PodamFactoryImpl(PodamFactory externalFactory)
+Constructor with non-default external factory
+ |
+
PodamFactoryImpl(PodamFactory externalFactory,
+ DataProviderStrategy strategy)
+Full constructor.
+ |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/class-use/PodamFactoryImpl.html b/apidocs/uk/co/jemos/podam/api/class-use/PodamFactoryImpl.html old mode 100644 new mode 100755 index ef4f90966..422db40c4 --- a/apidocs/uk/co/jemos/podam/api/class-use/PodamFactoryImpl.html +++ b/apidocs/uk/co/jemos/podam/api/class-use/PodamFactoryImpl.html @@ -1,127 +1,127 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/class-use/PodamUtils.html b/apidocs/uk/co/jemos/podam/api/class-use/PodamUtils.html old mode 100644 new mode 100755 index ed8433713..6bc5440f7 --- a/apidocs/uk/co/jemos/podam/api/class-use/PodamUtils.html +++ b/apidocs/uk/co/jemos/podam/api/class-use/PodamUtils.html @@ -1,127 +1,127 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/class-use/RandomDataProviderStrategy.html b/apidocs/uk/co/jemos/podam/api/class-use/RandomDataProviderStrategy.html old mode 100644 new mode 100755 index 1beaa22dd..ff023614f --- a/apidocs/uk/co/jemos/podam/api/class-use/RandomDataProviderStrategy.html +++ b/apidocs/uk/co/jemos/podam/api/class-use/RandomDataProviderStrategy.html @@ -1,212 +1,228 @@ - - - - - - -Package | -Description | -
---|---|
uk.co.jemos.podam.api | -
- This package contains PODAM main APIs
- |
-
Modifier and Type | -Class and Description | -
---|---|
class |
-AbstractRandomDataProviderStrategy
-Default abstract implementation of a
-DataProviderStrategy |
-
class |
-RandomDataProviderStrategyImpl
-Default implementation of a
-DataProviderStrategy |
-
Modifier and Type | -Method and Description | -
---|---|
RandomDataProviderStrategy |
-AbstractRandomDataProviderStrategy.addOrReplaceAttributeStrategy(Class<? extends Annotation> annotationClass,
- Class<AttributeStrategy<?>> strategyClass)
-Bind an annotation to attribute strategy class.
- |
-
RandomDataProviderStrategy |
-RandomDataProviderStrategy.addOrReplaceAttributeStrategy(Class<? extends Annotation> annotationClass,
- Class<AttributeStrategy<?>> strategyClass)
-Bind an annotation to attribute strategy class.
- |
-
RandomDataProviderStrategy |
-AbstractRandomDataProviderStrategy.removeAttributeStrategy(Class<? extends Annotation> annotationClass)
-Remove binding of an annotation to attribute strategy
- |
-
RandomDataProviderStrategy |
-RandomDataProviderStrategy.removeAttributeStrategy(Class<? extends Annotation> annotationClass)
-Remove binding of an annotation to attribute strategy
- |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Package | +Description | +
---|---|
uk.co.jemos.podam.api | +
+ This package contains PODAM main APIs
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+AbstractRandomDataProviderStrategy
+Default abstract implementation of a
+DataProviderStrategy |
+
class |
+RandomDataProviderStrategyImpl
+Default implementation of a
+DataProviderStrategy |
+
Modifier and Type | +Method and Description | +
---|---|
RandomDataProviderStrategy |
+AbstractRandomDataProviderStrategy.addOrReplaceAttributeStrategy(Class<?> type,
+ String attributeName,
+ AttributeStrategy<?> attributeStrategy)
+Registers @AttributeStrategy implementation, which will be used to
+ instantiate objects of a specified type.
+ |
+
RandomDataProviderStrategy |
+AbstractRandomDataProviderStrategy.addOrReplaceAttributeStrategy(Class<? extends Annotation> annotationClass,
+ AttributeStrategy<?> attributeStrategy)
+Bind an annotation to attribute strategy class.
+ |
+
RandomDataProviderStrategy |
+RandomDataProviderStrategy.addOrReplaceAttributeStrategy(Class<? extends Annotation> annotationClass,
+ AttributeStrategy<?> attributeStrategy)
+Bind an annotation to attribute strategy class.
+ |
+
RandomDataProviderStrategy |
+AbstractRandomDataProviderStrategy.removeAttributeStrategy(Class<?> type,
+ String attributeName)
+Removes @AttributeStrategy implementation from for the specific attribute
+ |
+
RandomDataProviderStrategy |
+AbstractRandomDataProviderStrategy.removeAttributeStrategy(Class<? extends Annotation> annotationClass)
+Remove binding of an annotation to attribute strategy
+ |
+
RandomDataProviderStrategy |
+RandomDataProviderStrategy.removeAttributeStrategy(Class<? extends Annotation> annotationClass)
+Remove binding of an annotation to attribute strategy
+ |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/class-use/RandomDataProviderStrategyImpl.html b/apidocs/uk/co/jemos/podam/api/class-use/RandomDataProviderStrategyImpl.html old mode 100644 new mode 100755 index 3608c081c..ea96d97c8 --- a/apidocs/uk/co/jemos/podam/api/class-use/RandomDataProviderStrategyImpl.html +++ b/apidocs/uk/co/jemos/podam/api/class-use/RandomDataProviderStrategyImpl.html @@ -1,172 +1,127 @@ - - - - - - -Package | -Description | -
---|---|
uk.co.jemos.podam.api | -
- This package contains PODAM main APIs
- |
-
Modifier and Type | -Method and Description | -
---|---|
static RandomDataProviderStrategyImpl |
-RandomDataProviderStrategyImpl.getInstance(int nbrCollectionElements)
-Other factory method which assigns a default number of collection
- elements before returning the singleton.
- |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/package-frame.html b/apidocs/uk/co/jemos/podam/api/package-frame.html old mode 100644 new mode 100755 index 0860654e9..ca475aecf --- a/apidocs/uk/co/jemos/podam/api/package-frame.html +++ b/apidocs/uk/co/jemos/podam/api/package-frame.html @@ -1,47 +1,47 @@ - - - - - - -Interface | -Description | -
---|---|
ClassAttributeApprover | -
- An interface, which is used to customize selection of class' attributes
- for further filling or skipping.
- |
-
ClassInfoStrategy | -
- This interface defines the contact for PODAM class info introspection.
- |
-
DataProviderStrategy | -
- This interface defines the contact for PODAM data providers.
- |
-
PodamFactory | -
- Contract for PODAM factory
- |
-
RandomDataProviderStrategy | -
- Adds additional methods for a random data provider strategy.
- |
-
Class | -Description | -
---|---|
AbstractClassInfoStrategy | -
- Default abstract implementation of a
-ClassInfoStrategy |
-
AbstractExternalFactory | -
- Adapter pattern for boilerplate code when creating an external factory
- |
-
AbstractMapArguments | -
- Parent for map-related arguments POJO
- |
-
AbstractRandomDataProviderStrategy | -
- Default abstract implementation of a
-DataProviderStrategy |
-
AttributeMetadata | -
- Contains metadata about the attribute for which a value is being assigned.
- |
-
ClassAttribute | -
- This class wraps fields, getters and setters information of the same attribute
- |
-
ClassInfo | -
- This class wraps fields and setters information about a given class
- |
-
DefaultClassInfoStrategy | -
- Singleton implementation of a
-AbstractClassInfoStrategy |
-
MapArguments | -
- Pojo which contains the arguments required to fill a Map as a POJO attribute
- |
-
MapKeyOrElementsArguments | -
- Contains attributes for the arguments to pass to the factory method to fill
- map key or elements.
- |
-
NullExternalFactory | -
- Default implementation of an external factory which does nothing.
- |
-
ObjectStrategy | -
- A default Object strategy, just to provide a default to
-
-PodamCollection.collectionElementStrategy() . |
-
PodamFactoryImpl | -
- The PODAM factory implementation
- |
-
PodamUtils | -
- PODAM Utilities class.
- |
-
RandomDataProviderStrategyImpl | -
- Default implementation of a
-DataProviderStrategy |
-
Enum | -Description | -
---|---|
DataProviderStrategy.Order | -
- Specifies how to sort constructors
- |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Interface | +Description | +
---|---|
ClassAttributeApprover | +
+ An interface, which is used to customize selection of class' attributes
+ for further filling or skipping.
+ |
+
ClassInfoStrategy | +
+ This interface defines the contact for PODAM class info introspection.
+ |
+
DataProviderStrategy | +
+ This interface defines the contact for PODAM data providers.
+ |
+
PodamFactory | +
+ Contract for PODAM factory
+ |
+
RandomDataProviderStrategy | +
+ Adds additional methods for a random data provider strategy.
+ |
+
Class | +Description | +
---|---|
AbstractClassInfoStrategy | +
+ Default abstract implementation of a
+ClassInfoStrategy |
+
AbstractExternalFactory | +
+ Adapter pattern for boilerplate code when creating an external factory
+ |
+
AbstractMapArguments | +
+ Parent for map-related arguments POJO
+ |
+
AbstractRandomDataProviderStrategy | +
+ Default abstract implementation of a
+DataProviderStrategy |
+
AttributeMetadata | +
+ Contains metadata about the attribute for which a value is being assigned.
+ |
+
ClassAttribute | +
+ This class wraps fields, getters and setters information of the same attribute
+ |
+
ClassInfo | +
+ This class wraps fields and setters information about a given class
+ |
+
DefaultClassInfoStrategy | +
+ Singleton implementation of a
+AbstractClassInfoStrategy |
+
MapArguments | +
+ Pojo which contains the arguments required to fill a Map as a POJO attribute
+ |
+
MapKeyOrElementsArguments | +
+ Contains attributes for the arguments to pass to the factory method to fill
+ map key or elements.
+ |
+
NullExternalFactory | +
+ Default implementation of an external factory which does nothing.
+ |
+
ObjectStrategy | +
+ A default Object strategy, just to provide a default to
+
+PodamCollection.collectionElementStrategy() . |
+
PodamFactoryImpl | +
+ The PODAM factory implementation
+ |
+
PodamUtils | +
+ PODAM Utilities class.
+ |
+
RandomDataProviderStrategyImpl | +
+ Default implementation of a
+DataProviderStrategy |
+
Enum | +Description | +
---|---|
DataProviderStrategy.Order | +
+ Specifies how to sort constructors
+ |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/package-tree.html b/apidocs/uk/co/jemos/podam/api/package-tree.html old mode 100644 new mode 100755 index e74305332..d768f5839 --- a/apidocs/uk/co/jemos/podam/api/package-tree.html +++ b/apidocs/uk/co/jemos/podam/api/package-tree.html @@ -1,189 +1,189 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/api/package-use.html b/apidocs/uk/co/jemos/podam/api/package-use.html old mode 100644 new mode 100755 index 513347bf1..0315d6acd --- a/apidocs/uk/co/jemos/podam/api/package-use.html +++ b/apidocs/uk/co/jemos/podam/api/package-use.html @@ -1,302 +1,297 @@ - - - - - - -Package | -Description | -
---|---|
uk.co.jemos.podam.api | -
- This package contains PODAM main APIs
- |
-
uk.co.jemos.podam.common | -
- This package contains PODAM common APIs
- |
-
uk.co.jemos.podam.typeManufacturers | -
- Contains Type Manufacturers.
- |
-
Class and Description | -
---|
AbstractClassInfoStrategy
- Default abstract implementation of a
-ClassInfoStrategy |
-
AbstractExternalFactory
- Adapter pattern for boilerplate code when creating an external factory
- |
-
AbstractMapArguments
- Parent for map-related arguments POJO
- |
-
AbstractRandomDataProviderStrategy
- Default abstract implementation of a
-DataProviderStrategy |
-
AttributeMetadata
- Contains metadata about the attribute for which a value is being assigned.
- |
-
ClassAttribute
- This class wraps fields, getters and setters information of the same attribute
- |
-
ClassAttributeApprover
- An interface, which is used to customize selection of class' attributes
- for further filling or skipping.
- |
-
ClassInfo
- This class wraps fields and setters information about a given class
- |
-
ClassInfoStrategy
- This interface defines the contact for PODAM class info introspection.
- |
-
DataProviderStrategy
- This interface defines the contact for PODAM data providers.
- |
-
DataProviderStrategy.Order
- Specifies how to sort constructors
- |
-
DefaultClassInfoStrategy
- Singleton implementation of a
-AbstractClassInfoStrategy |
-
MapArguments
- Pojo which contains the arguments required to fill a Map as a POJO attribute
- |
-
MapKeyOrElementsArguments
- Contains attributes for the arguments to pass to the factory method to fill
- map key or elements.
- |
-
NullExternalFactory
- Default implementation of an external factory which does nothing.
- |
-
PodamFactory
- Contract for PODAM factory
- |
-
RandomDataProviderStrategy
- Adds additional methods for a random data provider strategy.
- |
-
RandomDataProviderStrategyImpl
- Default implementation of a
-DataProviderStrategy |
-
Class and Description | -
---|
DataProviderStrategy.Order
- Specifies how to sort constructors
- |
-
Class and Description | -
---|
AttributeMetadata
- Contains metadata about the attribute for which a value is being assigned.
- |
-
DataProviderStrategy
- This interface defines the contact for PODAM data providers.
- |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Package | +Description | +
---|---|
uk.co.jemos.podam.api | +
+ This package contains PODAM main APIs
+ |
+
uk.co.jemos.podam.common | +
+ This package contains PODAM common APIs
+ |
+
uk.co.jemos.podam.typeManufacturers | +
+ Contains Type Manufacturers.
+ |
+
Class and Description | +
---|
AbstractClassInfoStrategy
+ Default abstract implementation of a
+ClassInfoStrategy |
+
AbstractExternalFactory
+ Adapter pattern for boilerplate code when creating an external factory
+ |
+
AbstractMapArguments
+ Parent for map-related arguments POJO
+ |
+
AbstractRandomDataProviderStrategy
+ Default abstract implementation of a
+DataProviderStrategy |
+
AttributeMetadata
+ Contains metadata about the attribute for which a value is being assigned.
+ |
+
ClassAttribute
+ This class wraps fields, getters and setters information of the same attribute
+ |
+
ClassAttributeApprover
+ An interface, which is used to customize selection of class' attributes
+ for further filling or skipping.
+ |
+
ClassInfo
+ This class wraps fields and setters information about a given class
+ |
+
ClassInfoStrategy
+ This interface defines the contact for PODAM class info introspection.
+ |
+
DataProviderStrategy
+ This interface defines the contact for PODAM data providers.
+ |
+
DataProviderStrategy.Order
+ Specifies how to sort constructors
+ |
+
DefaultClassInfoStrategy
+ Singleton implementation of a
+AbstractClassInfoStrategy |
+
MapArguments
+ Pojo which contains the arguments required to fill a Map as a POJO attribute
+ |
+
MapKeyOrElementsArguments
+ Contains attributes for the arguments to pass to the factory method to fill
+ map key or elements.
+ |
+
NullExternalFactory
+ Default implementation of an external factory which does nothing.
+ |
+
PodamFactory
+ Contract for PODAM factory
+ |
+
RandomDataProviderStrategy
+ Adds additional methods for a random data provider strategy.
+ |
+
Class and Description | +
---|
DataProviderStrategy.Order
+ Specifies how to sort constructors
+ |
+
Class and Description | +
---|
AttributeMetadata
+ Contains metadata about the attribute for which a value is being assigned.
+ |
+
DataProviderStrategy
+ This interface defines the contact for PODAM data providers.
+ |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/AbstractConstructorComparator.html b/apidocs/uk/co/jemos/podam/common/AbstractConstructorComparator.html old mode 100644 new mode 100755 index 3015da45f..b64856666 --- a/apidocs/uk/co/jemos/podam/common/AbstractConstructorComparator.html +++ b/apidocs/uk/co/jemos/podam/common/AbstractConstructorComparator.html @@ -1,314 +1,314 @@ - - - - - - -public abstract class AbstractConstructorComparator -extends Object -implements Comparator<Constructor<?>>-
- The priority goes to constructors with the PodamConstructor
- annotation first, and then to those with less arguments.
-
Constructor and Description | -
---|
AbstractConstructorComparator() |
-
Modifier and Type | -Method and Description | -
---|---|
int |
-compareAnnotations(Constructor<?> constructor1,
- Constructor<?> constructor2) |
-
int |
-constructorComplexity(Constructor<?> constructor) |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compare, comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public AbstractConstructorComparator()-
public int constructorComplexity(Constructor<?> constructor)-
public int compareAnnotations(Constructor<?> constructor1, - Constructor<?> constructor2)-
Copyright © 2016. All rights reserved.
- - + + + + + + +public abstract class AbstractConstructorComparator +extends Object +implements Comparator<Constructor<?>>+
+ The priority goes to constructors with the PodamConstructor
+ annotation first, and then to those with less arguments.
+
Constructor and Description | +
---|
AbstractConstructorComparator() |
+
Modifier and Type | +Method and Description | +
---|---|
int |
+compareAnnotations(Constructor<?> constructor1,
+ Constructor<?> constructor2) |
+
int |
+constructorComplexity(Constructor<?> constructor) |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compare, comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public AbstractConstructorComparator()+
public int constructorComplexity(Constructor<?> constructor)+
public int compareAnnotations(Constructor<?> constructor1, + Constructor<?> constructor2)+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/AbstractMethodComparator.html b/apidocs/uk/co/jemos/podam/common/AbstractMethodComparator.html old mode 100644 new mode 100755 index cea3555c5..a31181a53 --- a/apidocs/uk/co/jemos/podam/common/AbstractMethodComparator.html +++ b/apidocs/uk/co/jemos/podam/common/AbstractMethodComparator.html @@ -1,314 +1,314 @@ - - - - - - -public abstract class AbstractMethodComparator -extends Object -implements Comparator<Method>-
- The priority goes to constructors with the PodamConstructor
- annotation first, and then to those with more arguments.
-
Constructor and Description | -
---|
AbstractMethodComparator() |
-
Modifier and Type | -Method and Description | -
---|---|
int |
-compareAnnotations(Method method1,
- Method method2) |
-
int |
-methodComplexity(Method method) |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compare, comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
Copyright © 2016. All rights reserved.
- - + + + + + + +public abstract class AbstractMethodComparator +extends Object +implements Comparator<Method>+
+ The priority goes to constructors with the PodamConstructor
+ annotation first, and then to those with more arguments.
+
Constructor and Description | +
---|
AbstractMethodComparator() |
+
Modifier and Type | +Method and Description | +
---|---|
int |
+compareAnnotations(Method method1,
+ Method method2) |
+
int |
+methodComplexity(Method method) |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compare, comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/AttributeStrategy.html b/apidocs/uk/co/jemos/podam/common/AttributeStrategy.html old mode 100644 new mode 100755 index e4521733d..bc5571e69 --- a/apidocs/uk/co/jemos/podam/common/AttributeStrategy.html +++ b/apidocs/uk/co/jemos/podam/common/AttributeStrategy.html @@ -1,243 +1,245 @@ - - - - - - -public interface AttributeStrategy<T>
-Modifier and Type | -Method and Description | -
---|---|
T |
-getValue()
-It returns a value of the given type
- |
-
T getValue()-
PodamMockeryException
- If an exception occurred while assigning the value specified
- by this strategyCopyright © 2016. All rights reserved.
- - + + + + + + +public interface AttributeStrategy<T>
+Modifier and Type | +Method and Description | +
---|---|
T |
+getValue(Class<?> attrType,
+ List<Annotation> attrAnnotations)
+It returns a value of the given type
+ |
+
T getValue(Class<?> attrType, + List<Annotation> attrAnnotations)+
attrType
- an attribute's typeattrAnnotations
- list of annotations attached to an attributeCopyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/BeanValidationStrategy.html b/apidocs/uk/co/jemos/podam/common/BeanValidationStrategy.html old mode 100644 new mode 100755 index eabc791d2..85aa860e8 --- a/apidocs/uk/co/jemos/podam/common/BeanValidationStrategy.html +++ b/apidocs/uk/co/jemos/podam/common/BeanValidationStrategy.html @@ -1,498 +1,467 @@ - - - - - - -public class BeanValidationStrategy -extends Object -implements AttributeStrategy<Object>-
Modifier and Type | -Field and Description | -
---|---|
private List<Annotation> |
-annotations
-bean validation annotations
- |
-
private Class<?> |
-attributeType
-expected return type of an attribute
- |
-
private static org.slf4j.Logger |
-LOG |
-
private static Random |
-RANDOM
-A RANDOM generator
- |
-
Constructor and Description | -
---|
BeanValidationStrategy(List<Annotation> annotations,
- Class<?> attributeType)
-Constructor for the strategy
- |
-
Modifier and Type | -Method and Description | -
---|---|
private Object |
-decimalToReturnType(BigDecimal result)
-Converts intermediate decimal value to the actual attribute type,
- for example, string representation of this decimal
- |
-
private static <T> T |
-findTypeFromList(List<?> list,
- Class<T> type)
-Utility to find an item of a desired type in the given list
- |
-
Object |
-getValue()
-It returns a
-Calendar objects complying with Java bean validation
- annotations. |
-
private BigDecimal |
-getValueInRange(BigDecimal min,
- BigDecimal max)
-Produces random decimal value within specified range
- |
-
private Object |
-timestampToReturnType(Long result)
-
- |
-
private static final org.slf4j.Logger LOG-
private static final Random RANDOM-
private List<Annotation> annotations-
private Class<?> attributeType-
public BeanValidationStrategy(List<Annotation> annotations, - Class<?> attributeType)-
annotations
- bean validation annotationsattributeType
- expected return type of an attributepublic Object getValue() - throws PodamMockeryException-
Calendar
objects complying with Java bean validation
- annotations.
-
- It returns a value of the given typegetValue
in interface AttributeStrategy<Object>
PodamMockeryException
- If an exception occurred while assigning the value specified
- by this strategyprivate static <T> T findTypeFromList(List<?> list, - Class<T> type)-
T
- Return type of item to findlist
- List to search intype
- Type to find in the listprivate BigDecimal getValueInRange(BigDecimal min, - BigDecimal max)-
min
- minimum value of rangemax
- maximum value of rangeprivate Object decimalToReturnType(BigDecimal result)-
result
- BigDecimal
intermediate result to convert to the
- real attribute typeCopyright © 2016. All rights reserved.
- - + + + + + + +public class BeanValidationStrategy +extends Object +implements AttributeStrategy<Object>+
Modifier and Type | +Field and Description | +
---|---|
private Class<?> |
+attributeType
+expected return type of an attribute
+ |
+
private static org.slf4j.Logger |
+LOG |
+
Constructor and Description | +
---|
BeanValidationStrategy(Class<?> attributeType)
+Constructor for the strategy
+ |
+
Modifier and Type | +Method and Description | +
---|---|
private Object |
+decimalToReturnType(BigDecimal result)
+Converts intermediate decimal value to the actual attribute type,
+ for example, string representation of this decimal
+ |
+
static <T> T |
+findTypeFromList(List<?> list,
+ Class<T> type)
+Utility to find an item of a desired type in the given list
+ |
+
Object |
+getValue(Class<?> attrType,
+ List<Annotation> annotations)
+It returns a
+Calendar objects complying with Java bean validation
+ annotations. |
+
private BigDecimal |
+getValueInRange(BigDecimal min,
+ BigDecimal max)
+Produces random decimal value within specified range
+ |
+
private Object |
+timestampToReturnType(Long result)
+
+ |
+
private static final org.slf4j.Logger LOG+
private Class<?> attributeType+
public BeanValidationStrategy(Class<?> attributeType)+
attributeType
- expected return type of an attributepublic Object getValue(Class<?> attrType, + List<Annotation> annotations) + throws PodamMockeryException+
Calendar
objects complying with Java bean validation
+ annotations.
+
+ It returns a value of the given typegetValue
in interface AttributeStrategy<Object>
attrType
- an attribute's typeannotations
- list of annotations attached to an attributePodamMockeryException
public static <T> T findTypeFromList(List<?> list, + Class<T> type)+
T
- Return type of item to findlist
- List to search intype
- Type to find in the listprivate BigDecimal getValueInRange(BigDecimal min, + BigDecimal max)+
min
- minimum value of rangemax
- maximum value of rangeprivate Object decimalToReturnType(BigDecimal result)+
result
- BigDecimal
intermediate result to convert to the
+ real attribute typeCopyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/ConstructorAdaptiveComparator.html b/apidocs/uk/co/jemos/podam/common/ConstructorAdaptiveComparator.html deleted file mode 100644 index c12a8791a..000000000 --- a/apidocs/uk/co/jemos/podam/common/ConstructorAdaptiveComparator.html +++ /dev/null @@ -1,394 +0,0 @@ - - - - - - -public class ConstructorAdaptiveComparator -extends AbstractConstructorComparator-
- The priority goes to constructors with the PodamConstructor
- annotation first, and then to those with less arguments.
-
Modifier and Type | -Field and Description | -
---|---|
private Set<Class<?>> |
-heavyFirstClasses |
-
static ConstructorAdaptiveComparator |
-INSTANCE |
-
Modifier | -Constructor and Description | -
---|---|
private |
-ConstructorAdaptiveComparator() |
-
Modifier and Type | -Method and Description | -
---|---|
void |
-addHeavyClass(Class<?> heavyFirstClass)
-Register class type as heavy-first
- |
-
int |
-compare(Constructor<?> constructor1,
- Constructor<?> constructor2) |
-
boolean |
-isHeavyClass(Class<?> heavyFirstClass)
-Checks, if class was added to the set of heavy-first classes
- |
-
void |
-removeHeavyClass(Class<?> heavyFirstClass)
-Unregister class type from the set of heavy-first classes
- |
-
compareAnnotations, constructorComplexity
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public static final ConstructorAdaptiveComparator INSTANCE-
private ConstructorAdaptiveComparator()-
public int compare(Constructor<?> constructor1, - Constructor<?> constructor2)-
public void addHeavyClass(Class<?> heavyFirstClass)-
heavyFirstClass
- Class type to add as heavy-first classpublic boolean isHeavyClass(Class<?> heavyFirstClass)-
heavyFirstClass
- Class type to checkpublic void removeHeavyClass(Class<?> heavyFirstClass)-
heavyFirstClass
- Class type to remove from the set of heavy-first classesCopyright © 2015. All rights reserved.
- - diff --git a/apidocs/uk/co/jemos/podam/common/ConstructorHeavyFirstComparator.html b/apidocs/uk/co/jemos/podam/common/ConstructorHeavyFirstComparator.html old mode 100644 new mode 100755 index 3b41d0db3..4d3f50249 --- a/apidocs/uk/co/jemos/podam/common/ConstructorHeavyFirstComparator.html +++ b/apidocs/uk/co/jemos/podam/common/ConstructorHeavyFirstComparator.html @@ -1,346 +1,346 @@ - - - - - - -public class ConstructorHeavyFirstComparator -extends AbstractConstructorComparator-
- The priority goes to constructors with the PodamConstructor
- annotation first, and then to those with less arguments.
-
Modifier and Type | -Field and Description | -
---|---|
static ConstructorHeavyFirstComparator |
-INSTANCE |
-
Modifier | -Constructor and Description | -
---|---|
private |
-ConstructorHeavyFirstComparator() |
-
Modifier and Type | -Method and Description | -
---|---|
int |
-compare(Constructor<?> constructor1,
- Constructor<?> constructor2) |
-
compareAnnotations, constructorComplexity
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public static final ConstructorHeavyFirstComparator INSTANCE-
private ConstructorHeavyFirstComparator()-
public int compare(Constructor<?> constructor1, - Constructor<?> constructor2)-
Copyright © 2016. All rights reserved.
- - + + + + + + +public class ConstructorHeavyFirstComparator +extends AbstractConstructorComparator+
+ The priority goes to constructors with the PodamConstructor
+ annotation first, and then to those with less arguments.
+
Modifier and Type | +Field and Description | +
---|---|
static ConstructorHeavyFirstComparator |
+INSTANCE |
+
Modifier | +Constructor and Description | +
---|---|
private |
+ConstructorHeavyFirstComparator() |
+
Modifier and Type | +Method and Description | +
---|---|
int |
+compare(Constructor<?> constructor1,
+ Constructor<?> constructor2) |
+
compareAnnotations, constructorComplexity
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public static final ConstructorHeavyFirstComparator INSTANCE+
private ConstructorHeavyFirstComparator()+
public int compare(Constructor<?> constructor1, + Constructor<?> constructor2)+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/ConstructorLightFirstComparator.html b/apidocs/uk/co/jemos/podam/common/ConstructorLightFirstComparator.html old mode 100644 new mode 100755 index 940f9d28d..494782de3 --- a/apidocs/uk/co/jemos/podam/common/ConstructorLightFirstComparator.html +++ b/apidocs/uk/co/jemos/podam/common/ConstructorLightFirstComparator.html @@ -1,346 +1,346 @@ - - - - - - -public class ConstructorLightFirstComparator -extends AbstractConstructorComparator-
- The priority goes to constructors with the PodamConstructor
- annotation first, and then to those with less arguments.
-
Modifier and Type | -Field and Description | -
---|---|
static ConstructorLightFirstComparator |
-INSTANCE |
-
Modifier | -Constructor and Description | -
---|---|
private |
-ConstructorLightFirstComparator() |
-
Modifier and Type | -Method and Description | -
---|---|
int |
-compare(Constructor<?> constructor1,
- Constructor<?> constructor2) |
-
compareAnnotations, constructorComplexity
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public static final ConstructorLightFirstComparator INSTANCE-
private ConstructorLightFirstComparator()-
public int compare(Constructor<?> constructor1, - Constructor<?> constructor2)-
Copyright © 2016. All rights reserved.
- - + + + + + + +public class ConstructorLightFirstComparator +extends AbstractConstructorComparator+
+ The priority goes to constructors with the PodamConstructor
+ annotation first, and then to those with less arguments.
+
Modifier and Type | +Field and Description | +
---|---|
static ConstructorLightFirstComparator |
+INSTANCE |
+
Modifier | +Constructor and Description | +
---|---|
private |
+ConstructorLightFirstComparator() |
+
Modifier and Type | +Method and Description | +
---|---|
int |
+compare(Constructor<?> constructor1,
+ Constructor<?> constructor2) |
+
compareAnnotations, constructorComplexity
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public static final ConstructorLightFirstComparator INSTANCE+
private ConstructorLightFirstComparator()+
public int compare(Constructor<?> constructor1, + Constructor<?> constructor2)+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/ManufacturingContext.html b/apidocs/uk/co/jemos/podam/common/ManufacturingContext.html old mode 100644 new mode 100755 index 4169c17e3..6816e05c7 --- a/apidocs/uk/co/jemos/podam/common/ManufacturingContext.html +++ b/apidocs/uk/co/jemos/podam/common/ManufacturingContext.html @@ -1,383 +1,624 @@ - - - - - - -public class ManufacturingContext -extends Object-
Modifier and Type | -Field and Description | -
---|---|
private DataProviderStrategy.Order |
-constructorOrdering
-Constructors sorting order
- |
-
private Map<Class<?>,Integer> |
-pojos
-Map with production counts of objects per type, required
- for loop detection
- |
-
Constructor and Description | -
---|
ManufacturingContext() |
-
Modifier and Type | -Method and Description | -
---|---|
DataProviderStrategy.Order |
-getConstructorOrdering()
-Getter for constructor ordering
- |
-
Map<Class<?>,Integer> |
-getPojos()
-Getter for map with production counts of objects per type
- |
-
void |
-setConstructorOrdering(DataProviderStrategy.Order constructorOrdering)
-Setter for constructor ordering
- |
-
private DataProviderStrategy.Order constructorOrdering-
public DataProviderStrategy.Order getConstructorOrdering()-
public void setConstructorOrdering(DataProviderStrategy.Order constructorOrdering)-
constructorOrdering
- constructor orderingCopyright © 2016. All rights reserved.
- - + + + + + + +public class ManufacturingContext +extends Object+
Modifier and Type | +Field and Description | +
---|---|
private Deque<Map<String,Type>> |
+backupTypeArgsMaps
+Constructors sorting order
+ |
+
private DataProviderStrategy.Order |
+constructorOrdering
+Constructors sorting order
+ |
+
private Map<Class<?>,Integer> |
+pojos
+Map with production counts of objects per type, required
+ for loop detection
+ |
+
private Map<String,Type> |
+typeArgsMap
+Map relating the generic class arguments ("<T, V>" for
+ example) with their actual types
+ |
+
Constructor and Description | +
---|
ManufacturingContext() |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+backupTypeArgsMap(Map<String,Type> typeArgsMap)
+Backups typeArgsMap and replace it with a new one
+ |
+
void |
+cloneTypeArgsMap()
+Clones and backups typeArgsMap
+ |
+
Type[] |
+cloneTypeArgsMap(Class<?> pojoType,
+ ParameterizedType parameterizedPojoType,
+ Type[] genericTypeArgs)
+Clones and backups typeArgsMap and fills it with types for a new POJO
+ |
+
Map<String,Type> |
+createEmptyTypeArgsMap()
+Creates an empty typeArgsMap
+ |
+
static Type[] |
+fillTypeArgsMap(ManufacturingContext manufacturingCtx,
+ Class<?> pojoClass,
+ Type[] genericTypeArgs)
+Fills type agruments map
+ |
+
DataProviderStrategy.Order |
+getConstructorOrdering()
+Getter for constructor ordering
+ |
+
Map<Class<?>,Integer> |
+getPojos()
+Getter for map with production counts of objects per type
+ |
+
boolean |
+isTypeArgsEmpty()
+Checks if current generit type mappings are empty
+ |
+
private void |
+putTypeArg(String typeName,
+ Type type)
+Setter for adding generic type mappings
+ |
+
Type |
+resolveType(String typeName)
+Getter for map generic type mappings
+ |
+
Map<String,Type> |
+restoreTypeArgsMap()
+Restores typeArgsMap from backup
+ |
+
void |
+setConstructorOrdering(DataProviderStrategy.Order constructorOrdering)
+Setter for constructor ordering
+ |
+
private DataProviderStrategy.Order constructorOrdering+
private Map<Class<?>,Integer> pojos+
private Map<String,Type> typeArgsMap+
public DataProviderStrategy.Order getConstructorOrdering()+
public void setConstructorOrdering(DataProviderStrategy.Order constructorOrdering)+
constructorOrdering
- constructor orderingpublic Map<Class<?>,Integer> getPojos()+
public boolean isTypeArgsEmpty()+
public Type resolveType(String typeName)+
typeName
- type generic placeholderpublic Map<String,Type> createEmptyTypeArgsMap()+
public Type[] cloneTypeArgsMap(Class<?> pojoType, + ParameterizedType parameterizedPojoType, + Type[] genericTypeArgs)+
pojoType
- class of a new POJOparameterizedPojoType
- parameterized type of a new POJOgenericTypeArgs
- The generic type arguments for the current generic class
+ instancepublic void cloneTypeArgsMap()+
public void backupTypeArgsMap(Map<String,Type> typeArgsMap)+
typeArgsMap
- relating the generic class arguments ("<T, V>" for
+ example) with their actual typespublic Map<String,Type> restoreTypeArgsMap()+
public static Type[] fillTypeArgsMap(ManufacturingContext manufacturingCtx, + Class<?> pojoClass, + Type[] genericTypeArgs)+
+ This method places required and provided types for object creation into a + map, which will be used for type mapping. +
manufacturingCtx
- manufacturing context with a map to fillpojoClass
- Typed classgenericTypeArgs
- Type arguments provided for a generics object by callerIllegalStateException
- If number of typed parameters doesn't match number of
+ provided generic typesCopyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/MethodComparator.html b/apidocs/uk/co/jemos/podam/common/MethodComparator.html deleted file mode 100644 index 24861d377..000000000 --- a/apidocs/uk/co/jemos/podam/common/MethodComparator.html +++ /dev/null @@ -1,297 +0,0 @@ - - - - - - -public class MethodComparator -extends Object -implements Comparator<Method>-
- The priority goes to constructors with the PodamConstructor
- annotation first, and then to those with more arguments.
-
Constructor and Description | -
---|
MethodComparator() |
-
Modifier and Type | -Method and Description | -
---|---|
int |
-compare(Method method1,
- Method method2) |
-
int |
-methodComplexity(Method method) |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
Copyright © 2015. All rights reserved.
- - diff --git a/apidocs/uk/co/jemos/podam/common/MethodHeavyFirstComparator.html b/apidocs/uk/co/jemos/podam/common/MethodHeavyFirstComparator.html old mode 100644 new mode 100755 index 9b135ddfe..fad6e05af --- a/apidocs/uk/co/jemos/podam/common/MethodHeavyFirstComparator.html +++ b/apidocs/uk/co/jemos/podam/common/MethodHeavyFirstComparator.html @@ -1,346 +1,346 @@ - - - - - - -public class MethodHeavyFirstComparator -extends AbstractMethodComparator-
- The priority goes to constructors with the PodamConstructor
- annotation first, and then to those with more arguments.
-
Modifier and Type | -Field and Description | -
---|---|
static MethodHeavyFirstComparator |
-INSTANCE |
-
Modifier | -Constructor and Description | -
---|---|
private |
-MethodHeavyFirstComparator() |
-
Modifier and Type | -Method and Description | -
---|---|
int |
-compare(Method method1,
- Method method2) |
-
compareAnnotations, methodComplexity
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public static final MethodHeavyFirstComparator INSTANCE-
Copyright © 2016. All rights reserved.
- - + + + + + + +public class MethodHeavyFirstComparator +extends AbstractMethodComparator+
+ The priority goes to constructors with the PodamConstructor
+ annotation first, and then to those with more arguments.
+
Modifier and Type | +Field and Description | +
---|---|
static MethodHeavyFirstComparator |
+INSTANCE |
+
Modifier | +Constructor and Description | +
---|---|
private |
+MethodHeavyFirstComparator() |
+
Modifier and Type | +Method and Description | +
---|---|
int |
+compare(Method method1,
+ Method method2) |
+
compareAnnotations, methodComplexity
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public static final MethodHeavyFirstComparator INSTANCE+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/MethodLightFirstComparator.html b/apidocs/uk/co/jemos/podam/common/MethodLightFirstComparator.html old mode 100644 new mode 100755 index 47b547e88..f35f159f8 --- a/apidocs/uk/co/jemos/podam/common/MethodLightFirstComparator.html +++ b/apidocs/uk/co/jemos/podam/common/MethodLightFirstComparator.html @@ -1,346 +1,346 @@ - - - - - - -public class MethodLightFirstComparator -extends AbstractMethodComparator-
- The priority goes to constructors with the PodamConstructor
- annotation first, and then to those with more arguments.
-
Modifier and Type | -Field and Description | -
---|---|
static MethodLightFirstComparator |
-INSTANCE |
-
Modifier | -Constructor and Description | -
---|---|
private |
-MethodLightFirstComparator() |
-
Modifier and Type | -Method and Description | -
---|---|
int |
-compare(Method method1,
- Method method2) |
-
compareAnnotations, methodComplexity
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public static final MethodLightFirstComparator INSTANCE-
Copyright © 2016. All rights reserved.
- - + + + + + + +public class MethodLightFirstComparator +extends AbstractMethodComparator+
+ The priority goes to constructors with the PodamConstructor
+ annotation first, and then to those with more arguments.
+
Modifier and Type | +Field and Description | +
---|---|
static MethodLightFirstComparator |
+INSTANCE |
+
Modifier | +Constructor and Description | +
---|---|
private |
+MethodLightFirstComparator() |
+
Modifier and Type | +Method and Description | +
---|---|
int |
+compare(Method method1,
+ Method method2) |
+
compareAnnotations, methodComplexity
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public static final MethodLightFirstComparator INSTANCE+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/PodamBooleanValue.html b/apidocs/uk/co/jemos/podam/common/PodamBooleanValue.html old mode 100644 new mode 100755 index 257b82d57..6b44b928d --- a/apidocs/uk/co/jemos/podam/common/PodamBooleanValue.html +++ b/apidocs/uk/co/jemos/podam/common/PodamBooleanValue.html @@ -1,233 +1,234 @@ - - - - - - -@Documented - @Target(value={FIELD,PARAMETER}) - @Retention(value=RUNTIME) -public @interface PodamBooleanValue-
Copyright © 2016. All rights reserved.
- - + + + + + + +@Documented + @PodamAnnotation + @Target(value={FIELD,PARAMETER}) + @Retention(value=RUNTIME) +public @interface PodamBooleanValue+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/PodamByteValue.html b/apidocs/uk/co/jemos/podam/common/PodamByteValue.html old mode 100644 new mode 100755 index 0fe505fad..4afcf2a17 --- a/apidocs/uk/co/jemos/podam/common/PodamByteValue.html +++ b/apidocs/uk/co/jemos/podam/common/PodamByteValue.html @@ -1,329 +1,330 @@ - - - - - - -@Documented - @Target(value={FIELD,PARAMETER}) - @Retention(value=RUNTIME) -public @interface PodamByteValue-
Modifier and Type | -Optional Element and Description | -
---|---|
String |
-comment
-It allows clients to make comments.
- |
-
byte |
-maxValue
-The minimum value for the annotated field.
- |
-
byte |
-minValue
-The minimum value for the annotated field.
- |
-
String |
-numValue
-A precise value for the annotated attribute.
- |
-
public abstract String numValue-
- This attribute defaults to an empty string. -
-
- Please note that the format should be String to allow for null values for
- this annotation attribute. If we set the type to be byte, then to allow
- for null
values we should have set something arbitrary as
- default 0
. If set, the value must be convertible to the type of
- this annotation or a NumberFormatException
will be thrown.
-
- If set, it will take precedence over all other annotation attributes - (e.g. min/max) -
public abstract byte minValue-
public abstract byte maxValue-
Copyright © 2016. All rights reserved.
- - + + + + + + +@Documented + @PodamAnnotation + @Target(value={FIELD,PARAMETER}) + @Retention(value=RUNTIME) +public @interface PodamByteValue+
Modifier and Type | +Optional Element and Description | +
---|---|
String |
+comment
+It allows clients to make comments.
+ |
+
byte |
+maxValue
+The minimum value for the annotated field.
+ |
+
byte |
+minValue
+The minimum value for the annotated field.
+ |
+
String |
+numValue
+A precise value for the annotated attribute.
+ |
+
public abstract String numValue+
+ This attribute defaults to an empty string. +
+
+ Please note that the format should be String to allow for null values for
+ this annotation attribute. If we set the type to be byte, then to allow
+ for null
values we should have set something arbitrary as
+ default 0
. If set, the value must be convertible to the type of
+ this annotation or a NumberFormatException
will be thrown.
+
+ If set, it will take precedence over all other annotation attributes + (e.g. min/max) +
public abstract byte minValue+
public abstract byte maxValue+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/PodamCharValue.html b/apidocs/uk/co/jemos/podam/common/PodamCharValue.html old mode 100644 new mode 100755 index 4ae8597a2..c3a725a27 --- a/apidocs/uk/co/jemos/podam/common/PodamCharValue.html +++ b/apidocs/uk/co/jemos/podam/common/PodamCharValue.html @@ -1,324 +1,325 @@ - - - - - - -@Documented - @Target(value={FIELD,PARAMETER}) - @Retention(value=RUNTIME) -public @interface PodamCharValue-
Modifier and Type | -Optional Element and Description | -
---|---|
char |
-charValue
-A precise char value to assign to the annotated attribute.
- |
-
String |
-comment
-It allows clients to make comments
- |
-
char |
-maxValue
-The minimum value for the annotated field
- |
-
char |
-minValue
-The minimum value for the annotated field
- |
-
public abstract char minValue-
public abstract char maxValue-
public abstract String comment-
public abstract char charValue-
- If set, it will take precedence over all other annotation attributes
- (e.g. min/max). It is assumed that if the value of charValue
is
- the default, the user didn't set it and therefore this value will not
- take precedence over minValue
and maxValue
.
-
- This attribute defaults to an empty char. -
Copyright © 2016. All rights reserved.
- - + + + + + + +@Documented + @PodamAnnotation + @Target(value={FIELD,PARAMETER}) + @Retention(value=RUNTIME) +public @interface PodamCharValue+
Modifier and Type | +Optional Element and Description | +
---|---|
char |
+charValue
+A precise char value to assign to the annotated attribute.
+ |
+
String |
+comment
+It allows clients to make comments
+ |
+
char |
+maxValue
+The minimum value for the annotated field
+ |
+
char |
+minValue
+The minimum value for the annotated field
+ |
+
public abstract char minValue+
public abstract char maxValue+
public abstract String comment+
public abstract char charValue+
+ If set, it will take precedence over all other annotation attributes
+ (e.g. min/max). It is assumed that if the value of charValue
is
+ the default, the user didn't set it and therefore this value will not
+ take precedence over minValue
and maxValue
.
+
+ This attribute defaults to an empty char. +
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/PodamCollection.html b/apidocs/uk/co/jemos/podam/common/PodamCollection.html old mode 100644 new mode 100755 index 81bc48398..945c25ff9 --- a/apidocs/uk/co/jemos/podam/common/PodamCollection.html +++ b/apidocs/uk/co/jemos/podam/common/PodamCollection.html @@ -1,373 +1,374 @@ - - - - - - -@Documented - @Target(value={FIELD,PARAMETER}) - @Retention(value=RUNTIME) -public @interface PodamCollection-
- Please note that this annotation can be used with all types of container - elements, including arrays. -
- -
- The minimum number of elements is
- PodamConstants.DEFAULT_NBR_COLLECTION_ELEMENTS
-
Modifier and Type | -Optional Element and Description | -
---|---|
Class<? extends AttributeStrategy<?>> |
-collectionElementStrategy
-The strategy that will populate the annotated attribute.
- |
-
String |
-comment
-It allows clients to specify a comment on this annotation
- |
-
Class<? extends AttributeStrategy<?>> |
-mapElementStrategy
-The strategy that will populate a map element on an attribute of type
- Map.
- |
-
Class<? extends AttributeStrategy<?>> |
-mapKeyStrategy
-The strategy that will populate a map key on an attribute of type Map.
- |
-
int |
-nbrElements
-The number of elements to create for the collection
- |
-
public abstract int nbrElements-
public abstract Class<? extends AttributeStrategy<?>> collectionElementStrategy-
- The default, in order to make the strategy actually optional is
- type Object. At runtime, only if both the value of this annotation and
- the collection element type are Objects, then the collection will be set
- with type Object
, otherwise the collection element type will win.
-
public abstract Class<? extends AttributeStrategy<?>> mapKeyStrategy-
- The default, in order to make the strategy actually optional is
- type Object. At runtime, only if both the value of this annotation and
- the collection element type are Objects, then the collection will be set
- with type Object
, otherwise the collection element type will win.
-
public abstract Class<? extends AttributeStrategy<?>> mapElementStrategy-
- The default, in order to make the strategy actually optional is
- type Object. At runtime, only if both the value of this annotation and
- the collection element type are Objects, then the collection will be set
- with type Object
, otherwise the collection element type will win.
-
Copyright © 2016. All rights reserved.
- - + + + + + + +@Documented + @PodamAnnotation + @Target(value={FIELD,PARAMETER}) + @Retention(value=RUNTIME) +public @interface PodamCollection+
+ Please note that this annotation can be used with all types of container + elements, including arrays. +
+ +
+ The minimum number of elements is
+ PodamConstants.DEFAULT_NBR_COLLECTION_ELEMENTS
+
Modifier and Type | +Optional Element and Description | +
---|---|
Class<? extends AttributeStrategy<?>> |
+collectionElementStrategy
+The strategy that will populate the annotated attribute.
+ |
+
String |
+comment
+It allows clients to specify a comment on this annotation
+ |
+
Class<? extends AttributeStrategy<?>> |
+mapElementStrategy
+The strategy that will populate a map element on an attribute of type
+ Map.
+ |
+
Class<? extends AttributeStrategy<?>> |
+mapKeyStrategy
+The strategy that will populate a map key on an attribute of type Map.
+ |
+
int |
+nbrElements
+The number of elements to create for the collection
+ |
+
public abstract int nbrElements+
public abstract Class<? extends AttributeStrategy<?>> collectionElementStrategy+
+ The default, in order to make the strategy actually optional is
+ type Object. At runtime, only if both the value of this annotation and
+ the collection element type are Objects, then the collection will be set
+ with type Object
, otherwise the collection element type will win.
+
public abstract Class<? extends AttributeStrategy<?>> mapKeyStrategy+
+ The default, in order to make the strategy actually optional is
+ type Object. At runtime, only if both the value of this annotation and
+ the collection element type are Objects, then the collection will be set
+ with type Object
, otherwise the collection element type will win.
+
public abstract Class<? extends AttributeStrategy<?>> mapElementStrategy+
+ The default, in order to make the strategy actually optional is
+ type Object. At runtime, only if both the value of this annotation and
+ the collection element type are Objects, then the collection will be set
+ with type Object
, otherwise the collection element type will win.
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/PodamConstants.html b/apidocs/uk/co/jemos/podam/common/PodamConstants.html old mode 100644 new mode 100755 index abba640d5..5ebb26c77 --- a/apidocs/uk/co/jemos/podam/common/PodamConstants.html +++ b/apidocs/uk/co/jemos/podam/common/PodamConstants.html @@ -1,409 +1,362 @@ - - - - - - -public final class PodamConstants -extends Object-
Modifier and Type | -Field and Description | -
---|---|
static int |
-DEFAULT_NBR_COLLECTION_ELEMENTS
-The default number of elements for a collection-type element.
- |
-
static Object[] |
-NO_ARGS
-An empty object array.
- |
-
static Type[] |
-NO_TYPES
-An empty array of Types.
- |
-
static String |
-SPRING_ROOT_CONFIG_LOCATION
-The Podam Spring rool configuration file name.
- |
-
static String |
-STR_DEFAULT_ENCODING
-The default encoding for Strings.
- |
-
static int |
-STR_DEFAULT_LENGTH
-The default string length that Podam will assign to an annotated
- attribute
- |
-
static String |
-THE_ANNOTATION_VALUE_STR
-A String used for messages.
- |
-
Modifier | -Constructor and Description | -
---|---|
private |
-PodamConstants()
-Non-instantiable constructor
- |
-
public static final int STR_DEFAULT_LENGTH-
public static final int DEFAULT_NBR_COLLECTION_ELEMENTS-
public static final String STR_DEFAULT_ENCODING-
public static final String SPRING_ROOT_CONFIG_LOCATION-
public static final String THE_ANNOTATION_VALUE_STR-
public static final Type[] NO_TYPES-
public static final Object[] NO_ARGS-
Copyright © 2016. All rights reserved.
- - + + + + + + +public interface PodamConstants
+Modifier and Type | +Field and Description | +
---|---|
static int |
+DEFAULT_NBR_COLLECTION_ELEMENTS
+The default number of elements for a collection-type element.
+ |
+
static Object[] |
+NO_ARGS
+An empty object array.
+ |
+
static Class[] |
+NO_CLASSES
+An empty array of Classes.
+ |
+
static Type[] |
+NO_TYPES
+An empty array of Types.
+ |
+
static String |
+SPRING_ROOT_CONFIG_LOCATION
+The Podam Spring rool configuration file name.
+ |
+
static String |
+STR_DEFAULT_ENCODING
+The default encoding for Strings.
+ |
+
static int |
+STR_DEFAULT_LENGTH
+The default string length that Podam will assign to an annotated
+ attribute
+ |
+
static String |
+THE_ANNOTATION_VALUE_STR
+A String used for messages.
+ |
+
static final int STR_DEFAULT_LENGTH+
static final int DEFAULT_NBR_COLLECTION_ELEMENTS+
static final String STR_DEFAULT_ENCODING+
static final String SPRING_ROOT_CONFIG_LOCATION+
static final String THE_ANNOTATION_VALUE_STR+
static final Class[] NO_CLASSES+
static final Type[] NO_TYPES+
static final Object[] NO_ARGS+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/PodamConstructor.html b/apidocs/uk/co/jemos/podam/common/PodamConstructor.html old mode 100644 new mode 100755 index 38981dadf..c70ddd62d --- a/apidocs/uk/co/jemos/podam/common/PodamConstructor.html +++ b/apidocs/uk/co/jemos/podam/common/PodamConstructor.html @@ -1,238 +1,239 @@ - - - - - - -@Documented - @Target(value={CONSTRUCTOR,METHOD}) - @Retention(value=RUNTIME) -public @interface PodamConstructor-
- This annotation should be used in POJOs with attributes but without setters. - A typical example are immutable classes, where attributes are final and - declared in the constructor and they have getters but not setters. -
Copyright © 2016. All rights reserved.
- - + + + + + + +@Documented + @PodamAnnotation + @Target(value={CONSTRUCTOR,METHOD}) + @Retention(value=RUNTIME) +public @interface PodamConstructor+
+ This annotation should be used in POJOs with attributes but without setters. + A typical example are immutable classes, where attributes are final and + declared in the constructor and they have getters but not setters. +
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/PodamDoubleValue.html b/apidocs/uk/co/jemos/podam/common/PodamDoubleValue.html old mode 100644 new mode 100755 index a3622d1ac..041498d60 --- a/apidocs/uk/co/jemos/podam/common/PodamDoubleValue.html +++ b/apidocs/uk/co/jemos/podam/common/PodamDoubleValue.html @@ -1,331 +1,332 @@ - - - - - - -@Documented - @Target(value={FIELD,PARAMETER}) - @Retention(value=RUNTIME) -public @interface PodamDoubleValue-
Modifier and Type | -Optional Element and Description | -
---|---|
String |
-comment
-It allows clients to make comments
- |
-
double |
-maxValue
-The minimum value for the annotated field
- |
-
double |
-minValue
-The minimum value for the annotated field
- |
-
String |
-numValue
-It returns the precise value to be assigned to the annotated attribute.
- |
-
public abstract double minValue-
public abstract double maxValue-
public abstract String comment-
public abstract String numValue-
- This attribute defaults to an empty string. -
-
- Please note that the format should be String to allow for null values for
- this annotation attribute. If we set the type to the primitive for this
- annotation, then to allow for null
values we should have set
- something arbitrary as default 0
. If set, the value must be
- convertible to the type of this annotation or a
- NumberFormatException
will be thrown.
-
- If set, it will take precedence over all other annotation attributes - (e.g. min/max) -
Copyright © 2016. All rights reserved.
- - + + + + + + +@Documented + @PodamAnnotation + @Target(value={FIELD,PARAMETER}) + @Retention(value=RUNTIME) +public @interface PodamDoubleValue+
Modifier and Type | +Optional Element and Description | +
---|---|
String |
+comment
+It allows clients to make comments
+ |
+
double |
+maxValue
+The minimum value for the annotated field
+ |
+
double |
+minValue
+The minimum value for the annotated field
+ |
+
String |
+numValue
+It returns the precise value to be assigned to the annotated attribute.
+ |
+
public abstract double minValue+
public abstract double maxValue+
public abstract String comment+
public abstract String numValue+
+ This attribute defaults to an empty string. +
+
+ Please note that the format should be String to allow for null values for
+ this annotation attribute. If we set the type to the primitive for this
+ annotation, then to allow for null
values we should have set
+ something arbitrary as default 0
. If set, the value must be
+ convertible to the type of this annotation or a
+ NumberFormatException
will be thrown.
+
+ If set, it will take precedence over all other annotation attributes + (e.g. min/max) +
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/PodamExclude.html b/apidocs/uk/co/jemos/podam/common/PodamExclude.html old mode 100644 new mode 100755 index dab71bd71..7214fe597 --- a/apidocs/uk/co/jemos/podam/common/PodamExclude.html +++ b/apidocs/uk/co/jemos/podam/common/PodamExclude.html @@ -1,238 +1,239 @@ - - - - - - -@Documented - @Target(value=FIELD) - @Retention(value=RUNTIME) -public @interface PodamExclude-
- PODAM will skip POJO attributes annotated with this annotation, thus their - value will not be set. -
Copyright © 2016. All rights reserved.
- - + + + + + + +@Documented + @PodamAnnotation + @Target(value=FIELD) + @Retention(value=RUNTIME) +public @interface PodamExclude+
+ PODAM will skip POJO attributes annotated with this annotation, thus their + value will not be set. +
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/PodamFloatValue.html b/apidocs/uk/co/jemos/podam/common/PodamFloatValue.html old mode 100644 new mode 100755 index 5cc93eba4..3fe1791f0 --- a/apidocs/uk/co/jemos/podam/common/PodamFloatValue.html +++ b/apidocs/uk/co/jemos/podam/common/PodamFloatValue.html @@ -1,331 +1,332 @@ - - - - - - -@Documented - @Target(value={FIELD,PARAMETER}) - @Retention(value=RUNTIME) -public @interface PodamFloatValue-
Modifier and Type | -Optional Element and Description | -
---|---|
String |
-comment
-It allows clients to make comments
- |
-
float |
-maxValue
-The minimum value for the annotated field
- |
-
float |
-minValue
-The minimum value for the annotated field
- |
-
String |
-numValue
-It returns the precise value to be assigned to the annotated attribute.
- |
-
public abstract float minValue-
public abstract float maxValue-
public abstract String comment-
public abstract String numValue-
- This attribute defaults to an empty string. -
-
- Please note that the format should be String to allow for null values for
- this annotation attribute. If we set the type to the primitive for this
- annotation, then to allow for null
values we should have set
- something arbitrary as default 0
. If set, the value must be
- convertible to the type of this annotation or a
- NumberFormatException
will be thrown.
-
- If set, it will take precedence over all other annotation attributes - (e.g. min/max) -
Copyright © 2016. All rights reserved.
- - + + + + + + +@Documented + @PodamAnnotation + @Target(value={FIELD,PARAMETER}) + @Retention(value=RUNTIME) +public @interface PodamFloatValue+
Modifier and Type | +Optional Element and Description | +
---|---|
String |
+comment
+It allows clients to make comments
+ |
+
float |
+maxValue
+The minimum value for the annotated field
+ |
+
float |
+minValue
+The minimum value for the annotated field
+ |
+
String |
+numValue
+It returns the precise value to be assigned to the annotated attribute.
+ |
+
public abstract float minValue+
public abstract float maxValue+
public abstract String comment+
public abstract String numValue+
+ This attribute defaults to an empty string. +
+
+ Please note that the format should be String to allow for null values for
+ this annotation attribute. If we set the type to the primitive for this
+ annotation, then to allow for null
values we should have set
+ something arbitrary as default 0
. If set, the value must be
+ convertible to the type of this annotation or a
+ NumberFormatException
will be thrown.
+
+ If set, it will take precedence over all other annotation attributes + (e.g. min/max) +
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/PodamIntValue.html b/apidocs/uk/co/jemos/podam/common/PodamIntValue.html old mode 100644 new mode 100755 index 9d4151387..7a3178851 --- a/apidocs/uk/co/jemos/podam/common/PodamIntValue.html +++ b/apidocs/uk/co/jemos/podam/common/PodamIntValue.html @@ -1,331 +1,332 @@ - - - - - - -@Documented - @Target(value={FIELD,PARAMETER}) - @Retention(value=RUNTIME) -public @interface PodamIntValue-
Modifier and Type | -Optional Element and Description | -
---|---|
String |
-comment
-It allows clients to make comments
- |
-
int |
-maxValue
-The minimum value for the annotated field
- |
-
int |
-minValue
-The minimum value for the annotated field
- |
-
String |
-numValue
-It returns the precise value to be assigned to the annotated attribute.
- |
-
public abstract int minValue-
public abstract int maxValue-
public abstract String comment-
public abstract String numValue-
- This attribute defaults to an empty string. -
-
- Please note that the format should be String to allow for null values for
- this annotation attribute. If we set the type to the primitive for this
- annotation, then to allow for null
values we should have set
- something arbitrary as default 0
. If set, the value must be
- convertible to the type of this annotation or a
- NumberFormatException
will be thrown.
-
- If set, it will take precedence over all other annotation attributes - (e.g. min/max) -
Copyright © 2016. All rights reserved.
- - + + + + + + +@Documented + @PodamAnnotation + @Target(value={FIELD,PARAMETER}) + @Retention(value=RUNTIME) +public @interface PodamIntValue+
Modifier and Type | +Optional Element and Description | +
---|---|
String |
+comment
+It allows clients to make comments
+ |
+
int |
+maxValue
+The minimum value for the annotated field
+ |
+
int |
+minValue
+The minimum value for the annotated field
+ |
+
String |
+numValue
+It returns the precise value to be assigned to the annotated attribute.
+ |
+
public abstract int minValue+
public abstract int maxValue+
public abstract String comment+
public abstract String numValue+
+ This attribute defaults to an empty string. +
+
+ Please note that the format should be String to allow for null values for
+ this annotation attribute. If we set the type to the primitive for this
+ annotation, then to allow for null
values we should have set
+ something arbitrary as default 0
. If set, the value must be
+ convertible to the type of this annotation or a
+ NumberFormatException
will be thrown.
+
+ If set, it will take precedence over all other annotation attributes + (e.g. min/max) +
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/PodamLongValue.html b/apidocs/uk/co/jemos/podam/common/PodamLongValue.html old mode 100644 new mode 100755 index 8676a127c..919624adf --- a/apidocs/uk/co/jemos/podam/common/PodamLongValue.html +++ b/apidocs/uk/co/jemos/podam/common/PodamLongValue.html @@ -1,331 +1,332 @@ - - - - - - -@Documented - @Target(value={FIELD,PARAMETER}) - @Retention(value=RUNTIME) -public @interface PodamLongValue-
Modifier and Type | -Optional Element and Description | -
---|---|
String |
-comment
-It allows clients to make comments
- |
-
long |
-maxValue
-The minimum value for the annotated field
- |
-
long |
-minValue
-The minimum value for the annotated field
- |
-
String |
-numValue
-It returns the precise value to be assigned to the annotated attribute.
- |
-
public abstract long minValue-
public abstract long maxValue-
public abstract String comment-
public abstract String numValue-
- This attribute defaults to an empty string. -
-
- Please note that the format should be String to allow for null values for
- this annotation attribute. If we set the type to the primitive for this
- annotation, then to allow for null
values we should have set
- something arbitrary as default 0
. If set, the value must be
- convertible to the type of this annotation or a
- NumberFormatException
will be thrown.
-
- If set, it will take precedence over all other annotation attributes - (e.g. min/max) -
Copyright © 2016. All rights reserved.
- - + + + + + + +@Documented + @PodamAnnotation + @Target(value={FIELD,PARAMETER}) + @Retention(value=RUNTIME) +public @interface PodamLongValue+
Modifier and Type | +Optional Element and Description | +
---|---|
String |
+comment
+It allows clients to make comments
+ |
+
long |
+maxValue
+The minimum value for the annotated field
+ |
+
long |
+minValue
+The minimum value for the annotated field
+ |
+
String |
+numValue
+It returns the precise value to be assigned to the annotated attribute.
+ |
+
public abstract long minValue+
public abstract long maxValue+
public abstract String comment+
public abstract String numValue+
+ This attribute defaults to an empty string. +
+
+ Please note that the format should be String to allow for null values for
+ this annotation attribute. If we set the type to the primitive for this
+ annotation, then to allow for null
values we should have set
+ something arbitrary as default 0
. If set, the value must be
+ convertible to the type of this annotation or a
+ NumberFormatException
will be thrown.
+
+ If set, it will take precedence over all other annotation attributes + (e.g. min/max) +
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/PodamShortValue.html b/apidocs/uk/co/jemos/podam/common/PodamShortValue.html old mode 100644 new mode 100755 index 38629e5bb..8e46d6a49 --- a/apidocs/uk/co/jemos/podam/common/PodamShortValue.html +++ b/apidocs/uk/co/jemos/podam/common/PodamShortValue.html @@ -1,334 +1,335 @@ - - - - - - -@Documented - @Target(value={FIELD,PARAMETER}) - @Retention(value=RUNTIME) -public @interface PodamShortValue-
Modifier and Type | -Optional Element and Description | -
---|---|
String |
-comment
-It allows clients to make comments on the annotated attribute.
- |
-
short |
-maxValue
-The maximum value for the annotated field.
- |
-
short |
-minValue
-The minimum value to assign to the annotated attribute.
- |
-
String |
-numValue
-It returns the precise value to be assigned to the annotated attribute.
- |
-
public abstract short minValue-
public abstract short maxValue-
public abstract String comment-
- This attribute defaults to an empty string. -
public abstract String numValue-
- This attribute defaults to an empty string. -
-
- Please note that the format should be String to allow for null values for
- this annotation attribute. If we set the type to the primitive for this
- annotation, then to allow for null
values we should have set
- something arbitrary as default 0
. If set, the value must be
- convertible to the type of this annotation or a
- NumberFormatException
will be thrown.
-
- If set, it will take precedence over all other annotation attributes - (e.g. min/max) -
Copyright © 2016. All rights reserved.
- - + + + + + + +@Documented + @PodamAnnotation + @Target(value={FIELD,PARAMETER}) + @Retention(value=RUNTIME) +public @interface PodamShortValue+
Modifier and Type | +Optional Element and Description | +
---|---|
String |
+comment
+It allows clients to make comments on the annotated attribute.
+ |
+
short |
+maxValue
+The maximum value for the annotated field.
+ |
+
short |
+minValue
+The minimum value to assign to the annotated attribute.
+ |
+
String |
+numValue
+It returns the precise value to be assigned to the annotated attribute.
+ |
+
public abstract short minValue+
public abstract short maxValue+
public abstract String comment+
+ This attribute defaults to an empty string. +
public abstract String numValue+
+ This attribute defaults to an empty string. +
+
+ Please note that the format should be String to allow for null values for
+ this annotation attribute. If we set the type to the primitive for this
+ annotation, then to allow for null
values we should have set
+ something arbitrary as default 0
. If set, the value must be
+ convertible to the type of this annotation or a
+ NumberFormatException
will be thrown.
+
+ If set, it will take precedence over all other annotation attributes + (e.g. min/max) +
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/PodamStrategyValue.html b/apidocs/uk/co/jemos/podam/common/PodamStrategyValue.html old mode 100644 new mode 100755 index 605f7f08a..df91e943b --- a/apidocs/uk/co/jemos/podam/common/PodamStrategyValue.html +++ b/apidocs/uk/co/jemos/podam/common/PodamStrategyValue.html @@ -1,277 +1,278 @@ - - - - - - -@Documented - @Target(value={FIELD,PARAMETER}) - @Retention(value=RUNTIME) -public @interface PodamStrategyValue-
- If specified, this annotation will take precedence over all other annotations - which influence the value of an attribute. In few words, this annotation - dictates law in terms of which value the attribute ultimately will get. -
Modifier and Type | -Required Element and Description | -
---|---|
Class<? extends AttributeStrategy<?>> |
-value
-The strategy that will populate the annotated attribute
- |
-
public abstract Class<? extends AttributeStrategy<?>> value-
Copyright © 2016. All rights reserved.
- - + + + + + + +@Documented + @PodamAnnotation + @Target(value={FIELD,PARAMETER}) + @Retention(value=RUNTIME) +public @interface PodamStrategyValue+
+ If specified, this annotation will take precedence over all other annotations + which influence the value of an attribute. In few words, this annotation + dictates law in terms of which value the attribute ultimately will get. +
Modifier and Type | +Required Element and Description | +
---|---|
Class<? extends AttributeStrategy<?>> |
+value
+The strategy that will populate the annotated attribute
+ |
+
public abstract Class<? extends AttributeStrategy<?>> value+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/PodamStringValue.html b/apidocs/uk/co/jemos/podam/common/PodamStringValue.html old mode 100644 new mode 100755 index 85b75e238..84ff22b66 --- a/apidocs/uk/co/jemos/podam/common/PodamStringValue.html +++ b/apidocs/uk/co/jemos/podam/common/PodamStringValue.html @@ -1,293 +1,294 @@ - - - - - - -@Documented - @Target(value={FIELD,PARAMETER}) - @Retention(value=RUNTIME) -public @interface PodamStringValue-
- The strValue
attribute takes precedence over length
. If the
- former was specified the latter will be ignored.
-
Modifier and Type | -Optional Element and Description | -
---|---|
String |
-comment
-It allows clients to specify a comment on this annotation
- |
-
int |
-length
-The length of the String for the annotated attribute.
- |
-
String |
-strValue
-If specified, it allows clients to specify an exact value for the string
- |
-
public abstract int length-
PodamConstants.STR_DEFAULT_LENGTH
Copyright © 2016. All rights reserved.
- - + + + + + + +@Documented + @PodamAnnotation + @Target(value={FIELD,PARAMETER}) + @Retention(value=RUNTIME) +public @interface PodamStringValue+
+ The strValue
attribute takes precedence over length
. If the
+ former was specified the latter will be ignored.
+
Modifier and Type | +Optional Element and Description | +
---|---|
String |
+comment
+It allows clients to specify a comment on this annotation
+ |
+
int |
+length
+The length of the String for the annotated attribute.
+ |
+
String |
+strValue
+If specified, it allows clients to specify an exact value for the string
+ |
+
public abstract int length+
PodamConstants.STR_DEFAULT_LENGTH
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/class-use/AbstractConstructorComparator.html b/apidocs/uk/co/jemos/podam/common/class-use/AbstractConstructorComparator.html old mode 100644 new mode 100755 index 5b49fdc9a..635f5e381 --- a/apidocs/uk/co/jemos/podam/common/class-use/AbstractConstructorComparator.html +++ b/apidocs/uk/co/jemos/podam/common/class-use/AbstractConstructorComparator.html @@ -1,275 +1,275 @@ - - - - - - -Package | -Description | -
---|---|
uk.co.jemos.podam.api | -
- This package contains PODAM main APIs
- |
-
uk.co.jemos.podam.common | -
- This package contains PODAM common APIs
- |
-
Modifier and Type | -Field and Description | -
---|---|
private AbstractConstructorComparator |
-AbstractRandomDataProviderStrategy.constructorHeavyComparator
-The constructor comparator
- |
-
private AbstractConstructorComparator |
-AbstractRandomDataProviderStrategy.constructorLightComparator
-The constructor comparator
- |
-
Modifier and Type | -Method and Description | -
---|---|
AbstractConstructorComparator |
-AbstractRandomDataProviderStrategy.getConstructorHeavyComparator()
-Getter for constructor heavy comparator.
- |
-
AbstractConstructorComparator |
-RandomDataProviderStrategy.getConstructorHeavyComparator()
-Getter for constructor heavy comparator.
- |
-
AbstractConstructorComparator |
-AbstractRandomDataProviderStrategy.getConstructorLightComparator()
-Getter for constructor light comparator.
- |
-
AbstractConstructorComparator |
-RandomDataProviderStrategy.getConstructorLightComparator()
-Getter for constructor light comparator.
- |
-
Modifier and Type | -Method and Description | -
---|---|
void |
-AbstractRandomDataProviderStrategy.setConstructorHeavyComparator(AbstractConstructorComparator constructorHeavyComparator)
-Setter for constructor heavy comparator.
- |
-
void |
-RandomDataProviderStrategy.setConstructorHeavyComparator(AbstractConstructorComparator constructorHeavyComparator)
-Setter for constructor heavy comparator.
- |
-
void |
-AbstractRandomDataProviderStrategy.setConstructorLightComparator(AbstractConstructorComparator constructorLightComparator)
-Setter for constructor öight comparator.
- |
-
void |
-RandomDataProviderStrategy.setConstructorLightComparator(AbstractConstructorComparator constructorLightComparator)
-Setter for constructor öight comparator.
- |
-
Modifier and Type | -Class and Description | -
---|---|
class |
-ConstructorHeavyFirstComparator
-It provides a comparator to sort the constructor to choose first.
- |
-
class |
-ConstructorLightFirstComparator
-It provides a comparator to sort the constructor to choose first.
- |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Package | +Description | +
---|---|
uk.co.jemos.podam.api | +
+ This package contains PODAM main APIs
+ |
+
uk.co.jemos.podam.common | +
+ This package contains PODAM common APIs
+ |
+
Modifier and Type | +Field and Description | +
---|---|
private AbstractConstructorComparator |
+AbstractRandomDataProviderStrategy.constructorHeavyComparator
+The constructor comparator
+ |
+
private AbstractConstructorComparator |
+AbstractRandomDataProviderStrategy.constructorLightComparator
+The constructor comparator
+ |
+
Modifier and Type | +Method and Description | +
---|---|
AbstractConstructorComparator |
+AbstractRandomDataProviderStrategy.getConstructorHeavyComparator()
+Getter for constructor heavy comparator.
+ |
+
AbstractConstructorComparator |
+RandomDataProviderStrategy.getConstructorHeavyComparator()
+Getter for constructor heavy comparator.
+ |
+
AbstractConstructorComparator |
+AbstractRandomDataProviderStrategy.getConstructorLightComparator()
+Getter for constructor light comparator.
+ |
+
AbstractConstructorComparator |
+RandomDataProviderStrategy.getConstructorLightComparator()
+Getter for constructor light comparator.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+AbstractRandomDataProviderStrategy.setConstructorHeavyComparator(AbstractConstructorComparator constructorHeavyComparator)
+Setter for constructor heavy comparator.
+ |
+
void |
+RandomDataProviderStrategy.setConstructorHeavyComparator(AbstractConstructorComparator constructorHeavyComparator)
+Setter for constructor heavy comparator.
+ |
+
void |
+AbstractRandomDataProviderStrategy.setConstructorLightComparator(AbstractConstructorComparator constructorLightComparator)
+Setter for constructor öight comparator.
+ |
+
void |
+RandomDataProviderStrategy.setConstructorLightComparator(AbstractConstructorComparator constructorLightComparator)
+Setter for constructor öight comparator.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+ConstructorHeavyFirstComparator
+It provides a comparator to sort the constructor to choose first.
+ |
+
class |
+ConstructorLightFirstComparator
+It provides a comparator to sort the constructor to choose first.
+ |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/class-use/AbstractMethodComparator.html b/apidocs/uk/co/jemos/podam/common/class-use/AbstractMethodComparator.html old mode 100644 new mode 100755 index 85c95bd19..57b4311bc --- a/apidocs/uk/co/jemos/podam/common/class-use/AbstractMethodComparator.html +++ b/apidocs/uk/co/jemos/podam/common/class-use/AbstractMethodComparator.html @@ -1,275 +1,275 @@ - - - - - - -Package | -Description | -
---|---|
uk.co.jemos.podam.api | -
- This package contains PODAM main APIs
- |
-
uk.co.jemos.podam.common | -
- This package contains PODAM common APIs
- |
-
Modifier and Type | -Field and Description | -
---|---|
private AbstractMethodComparator |
-AbstractRandomDataProviderStrategy.methodHeavyComparator
-The constructor comparator
- |
-
private AbstractMethodComparator |
-AbstractRandomDataProviderStrategy.methodLightComparator
-The constructor comparator
- |
-
Modifier and Type | -Method and Description | -
---|---|
AbstractMethodComparator |
-AbstractRandomDataProviderStrategy.getMethodHeavyComparator()
-Getter for method heavy comparator.
- |
-
AbstractMethodComparator |
-RandomDataProviderStrategy.getMethodHeavyComparator()
-Getter for method heavy comparator.
- |
-
AbstractMethodComparator |
-AbstractRandomDataProviderStrategy.getMethodLightComparator()
-Getter for method light comparator.
- |
-
AbstractMethodComparator |
-RandomDataProviderStrategy.getMethodLightComparator()
-Getter for method light comparator.
- |
-
Modifier and Type | -Method and Description | -
---|---|
void |
-AbstractRandomDataProviderStrategy.setMethodHeavyComparator(AbstractMethodComparator methodHeavyComparator)
-Setter for method heavy comparator.
- |
-
void |
-RandomDataProviderStrategy.setMethodHeavyComparator(AbstractMethodComparator methodHeavyComparator)
-Setter for method heavy comparator.
- |
-
void |
-AbstractRandomDataProviderStrategy.setMethodLightComparator(AbstractMethodComparator methodLightComparator)
-Setter for method light comparator.
- |
-
void |
-RandomDataProviderStrategy.setMethodLightComparator(AbstractMethodComparator methodLightComparator)
-Setter for method light comparator.
- |
-
Modifier and Type | -Class and Description | -
---|---|
class |
-MethodHeavyFirstComparator
-It provides a comparator to sort the constructor to choose first.
- |
-
class |
-MethodLightFirstComparator
-It provides a comparator to sort the constructor to choose first.
- |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Package | +Description | +
---|---|
uk.co.jemos.podam.api | +
+ This package contains PODAM main APIs
+ |
+
uk.co.jemos.podam.common | +
+ This package contains PODAM common APIs
+ |
+
Modifier and Type | +Field and Description | +
---|---|
private AbstractMethodComparator |
+AbstractRandomDataProviderStrategy.methodHeavyComparator
+The constructor comparator
+ |
+
private AbstractMethodComparator |
+AbstractRandomDataProviderStrategy.methodLightComparator
+The constructor comparator
+ |
+
Modifier and Type | +Method and Description | +
---|---|
AbstractMethodComparator |
+AbstractRandomDataProviderStrategy.getMethodHeavyComparator()
+Getter for method heavy comparator.
+ |
+
AbstractMethodComparator |
+RandomDataProviderStrategy.getMethodHeavyComparator()
+Getter for method heavy comparator.
+ |
+
AbstractMethodComparator |
+AbstractRandomDataProviderStrategy.getMethodLightComparator()
+Getter for method light comparator.
+ |
+
AbstractMethodComparator |
+RandomDataProviderStrategy.getMethodLightComparator()
+Getter for method light comparator.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+AbstractRandomDataProviderStrategy.setMethodHeavyComparator(AbstractMethodComparator methodHeavyComparator)
+Setter for method heavy comparator.
+ |
+
void |
+RandomDataProviderStrategy.setMethodHeavyComparator(AbstractMethodComparator methodHeavyComparator)
+Setter for method heavy comparator.
+ |
+
void |
+AbstractRandomDataProviderStrategy.setMethodLightComparator(AbstractMethodComparator methodLightComparator)
+Setter for method light comparator.
+ |
+
void |
+RandomDataProviderStrategy.setMethodLightComparator(AbstractMethodComparator methodLightComparator)
+Setter for method light comparator.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+MethodHeavyFirstComparator
+It provides a comparator to sort the constructor to choose first.
+ |
+
class |
+MethodLightFirstComparator
+It provides a comparator to sort the constructor to choose first.
+ |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/class-use/AttributeStrategy.html b/apidocs/uk/co/jemos/podam/common/class-use/AttributeStrategy.html old mode 100644 new mode 100755 index 87bb384f8..d67cb66c5 --- a/apidocs/uk/co/jemos/podam/common/class-use/AttributeStrategy.html +++ b/apidocs/uk/co/jemos/podam/common/class-use/AttributeStrategy.html @@ -1,376 +1,402 @@ - - - - - - -Package | -Description | -
---|---|
uk.co.jemos.podam.api | -
- This package contains PODAM main APIs
- |
-
uk.co.jemos.podam.common | -
- This package contains PODAM common APIs
- |
-
uk.co.jemos.podam.typeManufacturers | -
- Contains Type Manufacturers.
- |
-
Modifier and Type | -Class and Description | -
---|---|
class |
-ObjectStrategy
-A default Object strategy, just to provide a default to
-
-PodamCollection.collectionElementStrategy() . |
-
Modifier and Type | -Field and Description | -
---|---|
private AttributeStrategy<?> |
-MapKeyOrElementsArguments.elementStrategy
-The strategy to use to fill the Map key or value element.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private Map<Class<? extends Annotation>,Class<AttributeStrategy<?>>> |
-AbstractRandomDataProviderStrategy.attributeStrategies
-Mapping between annotations and attribute strategies
- |
-
Modifier and Type | -Method and Description | -
---|---|
AttributeStrategy<?> |
-MapKeyOrElementsArguments.getElementStrategy() |
-
Modifier and Type | -Method and Description | -
---|---|
Class<AttributeStrategy<?>> |
-DataProviderStrategy.getStrategyForAnnotation(Class<? extends Annotation> annotationClass)
-Finds attribute strategies for annotations.
- |
-
Class<AttributeStrategy<?>> |
-AbstractRandomDataProviderStrategy.getStrategyForAnnotation(Class<? extends Annotation> annotationClass)
-Finds attribute strategies for annotations.
- |
-
Modifier and Type | -Method and Description | -
---|---|
void |
-MapKeyOrElementsArguments.setElementStrategy(AttributeStrategy<?> elementStrategy) |
-
Modifier and Type | -Method and Description | -
---|---|
RandomDataProviderStrategy |
-AbstractRandomDataProviderStrategy.addOrReplaceAttributeStrategy(Class<? extends Annotation> annotationClass,
- Class<AttributeStrategy<?>> strategyClass)
-Bind an annotation to attribute strategy class.
- |
-
RandomDataProviderStrategy |
-RandomDataProviderStrategy.addOrReplaceAttributeStrategy(Class<? extends Annotation> annotationClass,
- Class<AttributeStrategy<?>> strategyClass)
-Bind an annotation to attribute strategy class.
- |
-
Modifier and Type | -Class and Description | -
---|---|
class |
-BeanValidationStrategy
-This strategy fills attributes and parameters annotated with Java bean
- validation annotations
- |
-
Modifier and Type | -Method and Description | -
---|---|
static AttributeStrategy<?> |
-TypeManufacturerUtil.findAttributeStrategy(DataProviderStrategy strategy,
- List<Annotation> annotations,
- Class<?> attributeType)
-It returns a
-AttributeStrategy if one was specified in
- annotations, or null otherwise. |
-
Modifier and Type | -Method and Description | -
---|---|
static Object |
-TypeManufacturerUtil.returnAttributeDataStrategyValue(Class<?> attributeType,
- AttributeStrategy<?> attributeStrategy)
-It retrieves the value for the
-PodamStrategyValue annotation with
- which the attribute was annotated |
-
Modifier and Type | -Method and Description | -
---|---|
static Integer |
-TypeManufacturerUtil.findCollectionSize(DataProviderStrategy strategy,
- List<Annotation> annotations,
- Class<?> collectionElementType,
- Holder<AttributeStrategy<?>> elementStrategyHolder,
- Holder<AttributeStrategy<?>> keyStrategyHolder)
-Searches for annotation with information about collection/map size
- and filling strategies
- |
-
static Integer |
-TypeManufacturerUtil.findCollectionSize(DataProviderStrategy strategy,
- List<Annotation> annotations,
- Class<?> collectionElementType,
- Holder<AttributeStrategy<?>> elementStrategyHolder,
- Holder<AttributeStrategy<?>> keyStrategyHolder)
-Searches for annotation with information about collection/map size
- and filling strategies
- |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Package | +Description | +
---|---|
uk.co.jemos.podam.api | +
+ This package contains PODAM main APIs
+ |
+
uk.co.jemos.podam.common | +
+ This package contains PODAM common APIs
+ |
+
uk.co.jemos.podam.typeManufacturers | +
+ Contains Type Manufacturers.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+ObjectStrategy
+A default Object strategy, just to provide a default to
+
+PodamCollection.collectionElementStrategy() . |
+
Modifier and Type | +Field and Description | +
---|---|
private AttributeStrategy<?> |
+MapKeyOrElementsArguments.elementStrategy
+The strategy to use to fill the Map key or value element.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
private Map<Class<?>,Map<String,AttributeStrategy<?>>> |
+AbstractRandomDataProviderStrategy.attributeClassStrategies
+Mapping between attributes and attribute strategies
+ |
+
private Map<Class<? extends Annotation>,AttributeStrategy<?>> |
+AbstractRandomDataProviderStrategy.attributeStrategies
+Mapping between annotations and attribute strategies
+ |
+
Modifier and Type | +Method and Description | +
---|---|
AttributeStrategy<?> |
+MapKeyOrElementsArguments.getElementStrategy() |
+
AttributeStrategy<?> |
+AbstractRandomDataProviderStrategy.getStrategyForAnnotation(Class<? extends Annotation> annotationClass)
+Finds attribute strategies for annotations.
+ |
+
AttributeStrategy<?> |
+DataProviderStrategy.getStrategyForAnnotation(Class<? extends Annotation> annotationClass)
+Finds attribute strategies for annotations.
+ |
+
AttributeStrategy<?> |
+AbstractRandomDataProviderStrategy.getStrategyForAttribute(ClassAttribute attribute)
+Finds attribute strategies for attribute.
+ |
+
AttributeStrategy<?> |
+DataProviderStrategy.getStrategyForAttribute(ClassAttribute attribute)
+Finds attribute strategies for attribute.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
RandomDataProviderStrategy |
+AbstractRandomDataProviderStrategy.addOrReplaceAttributeStrategy(Class<?> type,
+ String attributeName,
+ AttributeStrategy<?> attributeStrategy)
+Registers @AttributeStrategy implementation, which will be used to
+ instantiate objects of a specified type.
+ |
+
DataProviderStrategy |
+DataProviderStrategy.addOrReplaceAttributeStrategy(Class<?> type,
+ String attributeName,
+ AttributeStrategy<?> attributeStrategy)
+Registers @AttributeStrategy implementation, which will be used to
+ instantiate objects of a specified type.
+ |
+
RandomDataProviderStrategy |
+AbstractRandomDataProviderStrategy.addOrReplaceAttributeStrategy(Class<? extends Annotation> annotationClass,
+ AttributeStrategy<?> attributeStrategy)
+Bind an annotation to attribute strategy class.
+ |
+
RandomDataProviderStrategy |
+RandomDataProviderStrategy.addOrReplaceAttributeStrategy(Class<? extends Annotation> annotationClass,
+ AttributeStrategy<?> attributeStrategy)
+Bind an annotation to attribute strategy class.
+ |
+
void |
+MapKeyOrElementsArguments.setElementStrategy(AttributeStrategy<?> elementStrategy) |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BeanValidationStrategy
+This strategy fills attributes and parameters annotated with Java bean
+ validation annotations
+ |
+
class |
+EmailStrategy
+This strategy fills Email attributes and parameters annotated with Java bean
+ validation annotations
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static AttributeStrategy<?> |
+TypeManufacturerUtil.findAttributeStrategy(DataProviderStrategy strategy,
+ List<Annotation> annotations,
+ Class<?> attributeType)
+It returns a
+AttributeStrategy if one was specified in
+ annotations, or null otherwise. |
+
Modifier and Type | +Method and Description | +
---|---|
static Object |
+TypeManufacturerUtil.returnAttributeDataStrategyValue(Class<?> attributeType,
+ List<Annotation> annotations,
+ AttributeStrategy<?> attributeStrategy)
+It retrieves the value for the
+PodamStrategyValue annotation with
+ which the attribute was annotated |
+
Modifier and Type | +Method and Description | +
---|---|
static Integer |
+TypeManufacturerUtil.findCollectionSize(DataProviderStrategy strategy,
+ List<Annotation> annotations,
+ Class<?> collectionElementType,
+ Holder<AttributeStrategy<?>> elementStrategyHolder,
+ Holder<AttributeStrategy<?>> keyStrategyHolder)
+Searches for annotation with information about collection/map size
+ and filling strategies
+ |
+
static Integer |
+TypeManufacturerUtil.findCollectionSize(DataProviderStrategy strategy,
+ List<Annotation> annotations,
+ Class<?> collectionElementType,
+ Holder<AttributeStrategy<?>> elementStrategyHolder,
+ Holder<AttributeStrategy<?>> keyStrategyHolder)
+Searches for annotation with information about collection/map size
+ and filling strategies
+ |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/class-use/BeanValidationStrategy.html b/apidocs/uk/co/jemos/podam/common/class-use/BeanValidationStrategy.html old mode 100644 new mode 100755 index 01db2051d..b086cdf32 --- a/apidocs/uk/co/jemos/podam/common/class-use/BeanValidationStrategy.html +++ b/apidocs/uk/co/jemos/podam/common/class-use/BeanValidationStrategy.html @@ -1,127 +1,127 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/class-use/ConstructorAdaptiveComparator.html b/apidocs/uk/co/jemos/podam/common/class-use/ConstructorAdaptiveComparator.html deleted file mode 100644 index be38c833d..000000000 --- a/apidocs/uk/co/jemos/podam/common/class-use/ConstructorAdaptiveComparator.html +++ /dev/null @@ -1,186 +0,0 @@ - - - - - - -Package | -Description | -
---|---|
uk.co.jemos.podam.api | -
- This package contains PODAM main APIs
- |
-
uk.co.jemos.podam.common | -
- This package contains PODAM common APIs
- |
-
Modifier and Type | -Method and Description | -
---|---|
private ConstructorAdaptiveComparator |
-PodamFactoryImpl.findConstructorComparator()
-Finds constructor comparator from current strategy.
- |
-
Modifier and Type | -Field and Description | -
---|---|
static ConstructorAdaptiveComparator |
-ConstructorAdaptiveComparator.INSTANCE |
-
Copyright © 2015. All rights reserved.
- - diff --git a/apidocs/uk/co/jemos/podam/common/class-use/ConstructorHeavyFirstComparator.html b/apidocs/uk/co/jemos/podam/common/class-use/ConstructorHeavyFirstComparator.html old mode 100644 new mode 100755 index 64a71f372..0ace92b5e --- a/apidocs/uk/co/jemos/podam/common/class-use/ConstructorHeavyFirstComparator.html +++ b/apidocs/uk/co/jemos/podam/common/class-use/ConstructorHeavyFirstComparator.html @@ -1,169 +1,169 @@ - - - - - - -Package | -Description | -
---|---|
uk.co.jemos.podam.common | -
- This package contains PODAM common APIs
- |
-
Modifier and Type | -Field and Description | -
---|---|
static ConstructorHeavyFirstComparator |
-ConstructorHeavyFirstComparator.INSTANCE |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Package | +Description | +
---|---|
uk.co.jemos.podam.common | +
+ This package contains PODAM common APIs
+ |
+
Modifier and Type | +Field and Description | +
---|---|
static ConstructorHeavyFirstComparator |
+ConstructorHeavyFirstComparator.INSTANCE |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/class-use/ConstructorLightFirstComparator.html b/apidocs/uk/co/jemos/podam/common/class-use/ConstructorLightFirstComparator.html old mode 100644 new mode 100755 index 8c72f0885..8e6d47e62 --- a/apidocs/uk/co/jemos/podam/common/class-use/ConstructorLightFirstComparator.html +++ b/apidocs/uk/co/jemos/podam/common/class-use/ConstructorLightFirstComparator.html @@ -1,169 +1,169 @@ - - - - - - -Package | -Description | -
---|---|
uk.co.jemos.podam.common | -
- This package contains PODAM common APIs
- |
-
Modifier and Type | -Field and Description | -
---|---|
static ConstructorLightFirstComparator |
-ConstructorLightFirstComparator.INSTANCE |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Package | +Description | +
---|---|
uk.co.jemos.podam.common | +
+ This package contains PODAM common APIs
+ |
+
Modifier and Type | +Field and Description | +
---|---|
static ConstructorLightFirstComparator |
+ConstructorLightFirstComparator.INSTANCE |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/class-use/ManufacturingContext.html b/apidocs/uk/co/jemos/podam/common/class-use/ManufacturingContext.html old mode 100644 new mode 100755 index 0adcd9491..e03ae225d --- a/apidocs/uk/co/jemos/podam/common/class-use/ManufacturingContext.html +++ b/apidocs/uk/co/jemos/podam/common/class-use/ManufacturingContext.html @@ -1,353 +1,564 @@ - - - - - - -Package | -Description | -
---|---|
uk.co.jemos.podam.api | -
- This package contains PODAM main APIs
- |
-
Modifier and Type | -Method and Description | -
---|---|
private <T> T |
-PodamFactoryImpl.doManufacturePojo(Class<T> pojoClass,
- ManufacturingContext manufacturingCtx,
- Type... genericTypeArgs)
-Manufactures and populates the pojo class
- |
-
private void |
-PodamFactoryImpl.fillCollection(ManufacturingContext manufacturingCtx,
- List<Annotation> annotations,
- String attributeName,
- Collection<? super Object> collection,
- Class<?> collectionElementType,
- Type... genericTypeArgs)
-It fills a collection with the required number of elements of the
- required type.
- |
-
private void |
-PodamFactoryImpl.fillMap(MapArguments mapArguments,
- ManufacturingContext manufacturingCtx)
-It fills a Map with the required number of elements of the required type.
- |
-
private Class<?> |
-PodamFactoryImpl.findInheretedCollectionElementType(Collection<Object> collection,
- ManufacturingContext manufacturingCtx,
- AtomicReference<Type[]> elementGenericTypeArgs,
- Map<String,Type> typeArgsMap,
- Type... genericTypeArgs)
-Tries to find collection element type from collection object
- |
-
private MapArguments |
-PodamFactoryImpl.findInheretedMapElementType(Map<Object,Object> map,
- ManufacturingContext manufacturingCtx,
- Map<String,Type> typeArgsMap,
- Type... genericTypeArgs)
-Finds key and element type arguments
- |
-
private Object |
-PodamFactoryImpl.getMapKeyOrElementValue(MapKeyOrElementsArguments keyOrElementsArguments,
- ManufacturingContext manufacturingCtx)
-It fills a Map key or value with the appropriate value, considering
- attribute-level customisation.
- |
-
private Object[] |
-PodamFactoryImpl.getParameterValuesForConstructor(Constructor<?> constructor,
- Class<?> pojoClass,
- ManufacturingContext manufacturingCtx,
- Map<String,Type> typeArgsMap,
- Type... genericTypeArgs)
-Given a constructor it manufactures and returns the parameter values
- required to invoke it
- |
-
private Object[] |
-PodamFactoryImpl.getParameterValuesForMethod(Method method,
- Class<?> pojoClass,
- ManufacturingContext manufacturingCtx,
- Map<String,Type> typeArgsMap,
- Type... genericTypeArgs)
-Given a method it manufactures and returns the parameter values
- required to invoke it
- |
-
private <T> T |
-PodamFactoryImpl.getValueForAbstractType(Class<T> pojoClass,
- AttributeMetadata pojoMetadata,
- ManufacturingContext manufacturingCtx,
- Map<String,Type> typeArgsMap,
- Type[] genericTypeArgs)
-Returns a value for an abstract type or interface if possible.
- |
-
private <T> T |
-PodamFactoryImpl.instantiatePojo(Class<T> pojoClass,
- ManufacturingContext manufacturingCtx,
- Map<String,Type> typeArgsMap,
- Type... genericTypeArgs)
-It creates and returns an instance of the given class if at least one of
- its constructors has been annotated with
-PodamConstructor |
-
private <T> T |
-PodamFactoryImpl.instantiatePojoWithFactory(Class<?> factoryClass,
- Class<T> pojoClass,
- ManufacturingContext manufacturingCtx,
- Map<String,Type> typeArgsMap,
- Type... genericTypeArgs)
-It attempts to create an instance of the given class with a static method
- of the factory
- |
-
private Object |
-PodamFactoryImpl.manufactureAttributeValue(Object pojo,
- ManufacturingContext manufacturingCtx,
- Class<?> attributeType,
- Type genericAttributeType,
- List<Annotation> annotations,
- String attributeName,
- Map<String,Type> typeArgsMap,
- Type... genericTypeArgs)
-It manufactures and returns the value for a POJO attribute.
- |
-
private Object |
-PodamFactoryImpl.manufactureParameterValue(Class<?> pojoClass,
- Class<?> parameterType,
- Type genericType,
- List<Annotation> annotations,
- Map<String,Type> typeArgsMap,
- ManufacturingContext manufacturingCtx,
- Type... genericTypeArgs)
-Manufactures and returns the parameter value for method required to
- invoke it
- |
-
private <T> T |
-PodamFactoryImpl.manufacturePojoInternal(Class<T> pojoClass,
- AttributeMetadata pojoMetadata,
- ManufacturingContext manufacturingCtx,
- Type... genericTypeArgs)
-Generic method which returns an instance of the given class filled with
- values dictated by the strategy
- |
-
private <T> T |
-PodamFactoryImpl.populatePojoInternal(T pojo,
- ManufacturingContext manufacturingCtx,
- Map<String,Type> typeArgsMap,
- Type... genericTypeArgs)
-Fills given class filled with values dictated by the strategy
- |
-
private Object |
-PodamFactoryImpl.resolveArrayElementValue(Object pojo,
- ManufacturingContext manufacturingCtx,
- AttributeMetadata attributeMetadata,
- Map<String,Type> typeArgsMap)
-It returns an Array with the first element set
- |
-
private Collection<? super Object> |
-PodamFactoryImpl.resolveCollectionValueWhenCollectionIsPojoAttribute(Object pojo,
- ManufacturingContext manufacturingCtx,
- AttributeMetadata attributeMetadata,
- Map<String,Type> typeArgsMap)
-It returns a collection of some sort with some data in it.
- |
-
private Map<? super Object,? super Object> |
-PodamFactoryImpl.resolveMapValueWhenMapIsPojoAttribute(Object pojo,
- ManufacturingContext manufacturingCtx,
- AttributeMetadata attributeMetadata,
- Map<String,Type> typeArgsMap)
-It manufactures and returns a Map with at least one element in it
- |
-
private <T> T |
-PodamFactoryImpl.resortToExternalFactory(ManufacturingContext manufacturingCtx,
- String msg,
- Class<T> pojoClass,
- Type... genericTypeArgs)
-Delegates POJO manufacturing to an external factory
- |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Package | +Description | +
---|---|
uk.co.jemos.podam.api | +
+ This package contains PODAM main APIs
+ |
+
uk.co.jemos.podam.common | +
+ This package contains PODAM common APIs
+ |
+
uk.co.jemos.podam.typeManufacturers | +
+ Contains Type Manufacturers.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
private <T> T |
+PodamFactoryImpl.doManufacturePojo(Class<T> pojoClass,
+ ManufacturingContext manufacturingCtx,
+ Type... genericTypeArgs)
+Manufactures and populates the pojo class
+ |
+
private void |
+PodamFactoryImpl.fillArray(Object array,
+ String attributeName,
+ Class<?> elementType,
+ Type genericElementType,
+ List<Annotation> annotations,
+ ManufacturingContext manufacturingCtx)
+It fills an Array with the required number of elements of the required type.
+ |
+
private void |
+PodamFactoryImpl.fillCollection(ManufacturingContext manufacturingCtx,
+ List<Annotation> annotations,
+ String attributeName,
+ Collection<? super Object> collection,
+ Class<?> collectionElementType,
+ Type... genericTypeArgs)
+It fills a collection with the required number of elements of the
+ required type.
+ |
+
private void |
+PodamFactoryImpl.fillMap(MapArguments mapArguments,
+ ManufacturingContext manufacturingCtx)
+It fills a Map with the required number of elements of the required type.
+ |
+
private Class<?> |
+PodamFactoryImpl.findInheretedCollectionElementType(Collection<Object> collection,
+ ManufacturingContext manufacturingCtx,
+ AtomicReference<Type[]> elementGenericTypeArgs,
+ Type... genericTypeArgs)
+Tries to find collection element type from collection object
+ |
+
private MapArguments |
+PodamFactoryImpl.findInheretedMapElementType(Map<Object,Object> map,
+ ManufacturingContext manufacturingCtx,
+ Type... genericTypeArgs)
+Finds key and element type arguments
+ |
+
private Object |
+PodamFactoryImpl.getMapKeyOrElementValue(MapKeyOrElementsArguments keyOrElementsArguments,
+ ManufacturingContext manufacturingCtx)
+It fills a Map key or value with the appropriate value, considering
+ attribute-level customisation.
+ |
+
private Object[] |
+PodamFactoryImpl.getParameterValuesForConstructor(Constructor<?> constructor,
+ Class<?> pojoClass,
+ ManufacturingContext manufacturingCtx,
+ Type... genericTypeArgs)
+Given a constructor it manufactures and returns the parameter values
+ required to invoke it
+ |
+
private Object[] |
+PodamFactoryImpl.getParameterValuesForMethod(Method method,
+ Class<?> pojoClass,
+ ManufacturingContext manufacturingCtx,
+ Type... genericTypeArgs)
+Given a method it manufactures and returns the parameter values
+ required to invoke it
+ |
+
<T> T |
+AbstractRandomDataProviderStrategy.getTypeValue(AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx,
+ Class<T> pojoType)
+Obtains a type value
+ |
+
<T> T |
+DataProviderStrategy.getTypeValue(AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx,
+ Class<T> pojoType)
+Obtains a type value
+ |
+
private <T> T |
+PodamFactoryImpl.getValueForAbstractType(Class<T> pojoClass,
+ AttributeMetadata pojoMetadata,
+ ManufacturingContext manufacturingCtx,
+ Type[] genericTypeArgs)
+Returns a value for an abstract type or interface if possible.
+ |
+
private <T> T |
+PodamFactoryImpl.instantiatePojo(Class<T> pojoClass,
+ ManufacturingContext manufacturingCtx,
+ Type... genericTypeArgs)
+It creates and returns an instance of the given class if at least one of
+ its constructors has been annotated with
+PodamConstructor |
+
private <T> T |
+PodamFactoryImpl.instantiatePojoWithFactory(Class<?> factoryClass,
+ Class<T> pojoClass,
+ ManufacturingContext manufacturingCtx,
+ Type... genericTypeArgs)
+It attempts to create an instance of the given class with a static method
+ of the factory
+ |
+
private Object |
+PodamFactoryImpl.manufactureAttributeValue(Object pojo,
+ ManufacturingContext manufacturingCtx,
+ Class<?> attributeType,
+ Type genericAttributeType,
+ List<Annotation> annotations,
+ String attributeName,
+ Type... genericTypeArgs)
+It manufactures and returns the value for a POJO attribute.
+ |
+
private Object |
+PodamFactoryImpl.manufactureParameterValue(Class<?> pojoClass,
+ String parameterName,
+ Class<?> parameterType,
+ Type genericType,
+ List<Annotation> annotations,
+ ManufacturingContext manufacturingCtx,
+ Type... genericTypeArgs)
+Manufactures and returns the parameter value for method required to
+ invoke it
+ |
+
private <T> T |
+PodamFactoryImpl.manufacturePojoInternal(Class<T> pojoClass,
+ AttributeMetadata pojoMetadata,
+ ManufacturingContext manufacturingCtx,
+ Type... genericTypeArgs)
+Generic method which returns an instance of the given class filled with
+ values dictated by the strategy
+ |
+
private <T> T |
+PodamFactoryImpl.populatePojoInternal(T pojo,
+ List<Annotation> annotations,
+ ManufacturingContext manufacturingCtx,
+ Type... genericTypeArgs)
+Fills given class filled with values dictated by the strategy
+ |
+
private <T> boolean |
+PodamFactoryImpl.populateReadOnlyField(T pojo,
+ ClassAttribute attribute,
+ ManufacturingContext manufacturingCtx,
+ Type... genericTypeArgs)
+Fills a field with a getter
+ |
+
private <T> boolean |
+PodamFactoryImpl.populateReadWriteField(T pojo,
+ ClassAttribute attribute,
+ ManufacturingContext manufacturingCtx)
+Fills a field with a setter
+ |
+
private Object |
+PodamFactoryImpl.resolveArrayElementValue(Object pojo,
+ ManufacturingContext manufacturingCtx,
+ AttributeMetadata attributeMetadata)
+It returns an Array with the first element set
+ |
+
private Collection<? super Object> |
+PodamFactoryImpl.resolveCollectionValueWhenCollectionIsPojoAttribute(Object pojo,
+ ManufacturingContext manufacturingCtx,
+ AttributeMetadata attributeMetadata)
+It returns a collection of some sort with some data in it.
+ |
+
private Map<? super Object,? super Object> |
+PodamFactoryImpl.resolveMapValueWhenMapIsPojoAttribute(Object pojo,
+ ManufacturingContext manufacturingCtx,
+ AttributeMetadata attributeMetadata)
+It manufactures and returns a Map with at least one element in it
+ |
+
private <T> T |
+PodamFactoryImpl.resortToExternalFactory(ManufacturingContext manufacturingCtx,
+ String msg,
+ Class<T> pojoClass,
+ Type... genericTypeArgs)
+Delegates POJO manufacturing to an external factory
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static Type[] |
+ManufacturingContext.fillTypeArgsMap(ManufacturingContext manufacturingCtx,
+ Class<?> pojoClass,
+ Type[] genericTypeArgs)
+Fills type agruments map
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Cloneable |
+ArrayTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx) |
+
Boolean |
+BooleanTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
Byte |
+ByteTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
Character |
+CharTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
Collection<Object> |
+CollectionTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx) |
+
Double |
+DoubleTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
Enum<?> |
+EnumTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
Float |
+FloatTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
Integer |
+IntTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
Long |
+LongTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
Map<Object,Object> |
+MapTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx) |
+
Short |
+ShortTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
String |
+StringTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
T |
+TypeManufacturer.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
Object |
+TypeTypeManufacturerImpl.getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx) |
+
static Type[] |
+TypeManufacturerUtil.mergeActualAndSuppliedGenericTypes(Class<?> attributeType,
+ Type genericAttributeType,
+ Type[] suppliedTypes,
+ ManufacturingContext manufacturingCtx)
+Utility to merge actual types with supplied array of generic type
+ substitutions
+ |
+
static Class<?> |
+TypeManufacturerUtil.resolveGenericParameter(Type paramType,
+ ManufacturingContext manufacturingCtx,
+ AtomicReference<Type[]> methodGenericTypeArgs)
+It resolves generic parameter type
+ |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/class-use/MethodComparator.html b/apidocs/uk/co/jemos/podam/common/class-use/MethodComparator.html deleted file mode 100644 index e45182be4..000000000 --- a/apidocs/uk/co/jemos/podam/common/class-use/MethodComparator.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - -Package | -Description | -
---|---|
uk.co.jemos.podam.api | -
- This package contains PODAM main APIs
- |
-
Modifier and Type | -Field and Description | -
---|---|
private static MethodComparator |
-AbstractRandomDataProviderStrategy.METHOD_COMPARATOR
-The constructor comparator
- |
-
Copyright © 2015. All rights reserved.
- - diff --git a/apidocs/uk/co/jemos/podam/common/class-use/MethodHeavyFirstComparator.html b/apidocs/uk/co/jemos/podam/common/class-use/MethodHeavyFirstComparator.html old mode 100644 new mode 100755 index 5d333e309..8d3f066f2 --- a/apidocs/uk/co/jemos/podam/common/class-use/MethodHeavyFirstComparator.html +++ b/apidocs/uk/co/jemos/podam/common/class-use/MethodHeavyFirstComparator.html @@ -1,169 +1,169 @@ - - - - - - -Package | -Description | -
---|---|
uk.co.jemos.podam.common | -
- This package contains PODAM common APIs
- |
-
Modifier and Type | -Field and Description | -
---|---|
static MethodHeavyFirstComparator |
-MethodHeavyFirstComparator.INSTANCE |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Package | +Description | +
---|---|
uk.co.jemos.podam.common | +
+ This package contains PODAM common APIs
+ |
+
Modifier and Type | +Field and Description | +
---|---|
static MethodHeavyFirstComparator |
+MethodHeavyFirstComparator.INSTANCE |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/class-use/MethodLightFirstComparator.html b/apidocs/uk/co/jemos/podam/common/class-use/MethodLightFirstComparator.html old mode 100644 new mode 100755 index b5ace430a..5db419830 --- a/apidocs/uk/co/jemos/podam/common/class-use/MethodLightFirstComparator.html +++ b/apidocs/uk/co/jemos/podam/common/class-use/MethodLightFirstComparator.html @@ -1,169 +1,169 @@ - - - - - - -Package | -Description | -
---|---|
uk.co.jemos.podam.common | -
- This package contains PODAM common APIs
- |
-
Modifier and Type | -Field and Description | -
---|---|
static MethodLightFirstComparator |
-MethodLightFirstComparator.INSTANCE |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Package | +Description | +
---|---|
uk.co.jemos.podam.common | +
+ This package contains PODAM common APIs
+ |
+
Modifier and Type | +Field and Description | +
---|---|
static MethodLightFirstComparator |
+MethodLightFirstComparator.INSTANCE |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/class-use/PodamBooleanValue.html b/apidocs/uk/co/jemos/podam/common/class-use/PodamBooleanValue.html old mode 100644 new mode 100755 index c1ca437f1..970217942 --- a/apidocs/uk/co/jemos/podam/common/class-use/PodamBooleanValue.html +++ b/apidocs/uk/co/jemos/podam/common/class-use/PodamBooleanValue.html @@ -1,127 +1,127 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/class-use/PodamByteValue.html b/apidocs/uk/co/jemos/podam/common/class-use/PodamByteValue.html old mode 100644 new mode 100755 index 606bdd312..a61aa7adc --- a/apidocs/uk/co/jemos/podam/common/class-use/PodamByteValue.html +++ b/apidocs/uk/co/jemos/podam/common/class-use/PodamByteValue.html @@ -1,127 +1,127 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/class-use/PodamCharValue.html b/apidocs/uk/co/jemos/podam/common/class-use/PodamCharValue.html old mode 100644 new mode 100755 index a6ed0c326..f035dade0 --- a/apidocs/uk/co/jemos/podam/common/class-use/PodamCharValue.html +++ b/apidocs/uk/co/jemos/podam/common/class-use/PodamCharValue.html @@ -1,127 +1,127 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/class-use/PodamCollection.html b/apidocs/uk/co/jemos/podam/common/class-use/PodamCollection.html old mode 100644 new mode 100755 index e5f2f9a76..dfbbe59fd --- a/apidocs/uk/co/jemos/podam/common/class-use/PodamCollection.html +++ b/apidocs/uk/co/jemos/podam/common/class-use/PodamCollection.html @@ -1,127 +1,127 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/class-use/PodamConstants.html b/apidocs/uk/co/jemos/podam/common/class-use/PodamConstants.html old mode 100644 new mode 100755 index 4fd987cc2..f1411f37f --- a/apidocs/uk/co/jemos/podam/common/class-use/PodamConstants.html +++ b/apidocs/uk/co/jemos/podam/common/class-use/PodamConstants.html @@ -1,127 +1,127 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/class-use/PodamConstructor.html b/apidocs/uk/co/jemos/podam/common/class-use/PodamConstructor.html old mode 100644 new mode 100755 index d043a34f4..4331e0f16 --- a/apidocs/uk/co/jemos/podam/common/class-use/PodamConstructor.html +++ b/apidocs/uk/co/jemos/podam/common/class-use/PodamConstructor.html @@ -1,127 +1,127 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/class-use/PodamDoubleValue.html b/apidocs/uk/co/jemos/podam/common/class-use/PodamDoubleValue.html old mode 100644 new mode 100755 index 22406a60d..27951cbb3 --- a/apidocs/uk/co/jemos/podam/common/class-use/PodamDoubleValue.html +++ b/apidocs/uk/co/jemos/podam/common/class-use/PodamDoubleValue.html @@ -1,127 +1,127 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/class-use/PodamExclude.html b/apidocs/uk/co/jemos/podam/common/class-use/PodamExclude.html old mode 100644 new mode 100755 index c811567b4..c71888d5f --- a/apidocs/uk/co/jemos/podam/common/class-use/PodamExclude.html +++ b/apidocs/uk/co/jemos/podam/common/class-use/PodamExclude.html @@ -1,127 +1,127 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/class-use/PodamFloatValue.html b/apidocs/uk/co/jemos/podam/common/class-use/PodamFloatValue.html old mode 100644 new mode 100755 index 1e053df11..81dda0344 --- a/apidocs/uk/co/jemos/podam/common/class-use/PodamFloatValue.html +++ b/apidocs/uk/co/jemos/podam/common/class-use/PodamFloatValue.html @@ -1,127 +1,127 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/class-use/PodamIntValue.html b/apidocs/uk/co/jemos/podam/common/class-use/PodamIntValue.html old mode 100644 new mode 100755 index d4482d89c..95507bfa6 --- a/apidocs/uk/co/jemos/podam/common/class-use/PodamIntValue.html +++ b/apidocs/uk/co/jemos/podam/common/class-use/PodamIntValue.html @@ -1,127 +1,127 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/class-use/PodamLongValue.html b/apidocs/uk/co/jemos/podam/common/class-use/PodamLongValue.html old mode 100644 new mode 100755 index 0083fa25f..e87ad8e51 --- a/apidocs/uk/co/jemos/podam/common/class-use/PodamLongValue.html +++ b/apidocs/uk/co/jemos/podam/common/class-use/PodamLongValue.html @@ -1,127 +1,127 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/class-use/PodamShortValue.html b/apidocs/uk/co/jemos/podam/common/class-use/PodamShortValue.html old mode 100644 new mode 100755 index ca68b6494..54ae0b26f --- a/apidocs/uk/co/jemos/podam/common/class-use/PodamShortValue.html +++ b/apidocs/uk/co/jemos/podam/common/class-use/PodamShortValue.html @@ -1,127 +1,127 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/class-use/PodamStrategyValue.html b/apidocs/uk/co/jemos/podam/common/class-use/PodamStrategyValue.html old mode 100644 new mode 100755 index 5223c36af..f6b759ce2 --- a/apidocs/uk/co/jemos/podam/common/class-use/PodamStrategyValue.html +++ b/apidocs/uk/co/jemos/podam/common/class-use/PodamStrategyValue.html @@ -1,127 +1,127 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/class-use/PodamStringValue.html b/apidocs/uk/co/jemos/podam/common/class-use/PodamStringValue.html old mode 100644 new mode 100755 index cca02f16d..736c84686 --- a/apidocs/uk/co/jemos/podam/common/class-use/PodamStringValue.html +++ b/apidocs/uk/co/jemos/podam/common/class-use/PodamStringValue.html @@ -1,127 +1,127 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/package-frame.html b/apidocs/uk/co/jemos/podam/common/package-frame.html old mode 100644 new mode 100755 index 26be0f9d5..f0cf85d46 --- a/apidocs/uk/co/jemos/podam/common/package-frame.html +++ b/apidocs/uk/co/jemos/podam/common/package-frame.html @@ -1,49 +1,52 @@ - - - - - - -Interface | -Description | -
---|---|
AttributeStrategy<T> | -
- Generic contract for attribute-level data provider strategies.
- |
-
Class | -Description | -
---|---|
AbstractConstructorComparator | -
- It provides a comparator to sort the constructor to choose first.
- |
-
AbstractMethodComparator | -
- It provides a comparator to sort the constructor to choose first.
- |
-
BeanValidationStrategy | -
- This strategy fills attributes and parameters annotated with Java bean
- validation annotations
- |
-
ConstructorHeavyFirstComparator | -
- It provides a comparator to sort the constructor to choose first.
- |
-
ConstructorLightFirstComparator | -
- It provides a comparator to sort the constructor to choose first.
- |
-
ManufacturingContext | -
- Object to hold manufacturing related data
- |
-
MethodHeavyFirstComparator | -
- It provides a comparator to sort the constructor to choose first.
- |
-
MethodLightFirstComparator | -
- It provides a comparator to sort the constructor to choose first.
- |
-
PodamConstants | -
- PODAM constants.
- |
-
Annotation Type | -Description | -
---|---|
PodamBooleanValue | -
- Annotation used to customise a boolean value on the annotated field
- |
-
PodamByteValue | -
- Annotation used to customise min and max values of a byte type attribute or
- constructor parameter.
- |
-
PodamCharValue | -
- Annotation used to customise min and max values of a char type attribute or
- constructor parameter.
- |
-
PodamCollection | -
- Annotation used to customise collection-type elements
- |
-
PodamConstructor | -
- It identifies a constructor to use in order to create an instance of a class.
- |
-
PodamDoubleValue | -
- Annotation used to customise min and max values on a double type attribute or
- constructor parameter.
- |
-
PodamExclude | -
- Annotation which will have PODAM to skip the annotated attribute from
- consideration.
- |
-
PodamFloatValue | -
- Annotation used to customise min and max values on a float type attribute or
- constructor parameter.
- |
-
PodamIntValue | -
- Annotation used to customise min and max values on an integer type attribute
- or constructor parameter.
- |
-
PodamLongValue | -
- Annotation used to customise min and max values on a long type attribute or
- constructor parameter.
- |
-
PodamShortValue | -
- Annotation used to customise min and max values of a short type attribute or
- constructor parameter.
- |
-
PodamStrategyValue | -
- Annotation to drive the value of the annotated attribute.
- |
-
PodamStringValue | -
- Annotation used to customise string type attributes or constructor parameter.
- |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Interface | +Description | +
---|---|
AttributeStrategy<T> | +
+ Generic contract for attribute-level data provider strategies.
+ |
+
PodamConstants | +
+ PODAM constants.
+ |
+
Class | +Description | +
---|---|
AbstractConstructorComparator | +
+ It provides a comparator to sort the constructor to choose first.
+ |
+
AbstractMethodComparator | +
+ It provides a comparator to sort the constructor to choose first.
+ |
+
BeanValidationStrategy | +
+ This strategy fills attributes and parameters annotated with Java bean
+ validation annotations
+ |
+
ConstructorHeavyFirstComparator | +
+ It provides a comparator to sort the constructor to choose first.
+ |
+
ConstructorLightFirstComparator | +
+ It provides a comparator to sort the constructor to choose first.
+ |
+
EmailStrategy | +
+ This strategy fills Email attributes and parameters annotated with Java bean
+ validation annotations
+ |
+
Holder<T> | +
+ Object to pass objects by reference
+ |
+
ManufacturingContext | +
+ Object to hold manufacturing related data
+ |
+
MethodHeavyFirstComparator | +
+ It provides a comparator to sort the constructor to choose first.
+ |
+
MethodLightFirstComparator | +
+ It provides a comparator to sort the constructor to choose first.
+ |
+
Annotation Type | +Description | +
---|---|
PodamAnnotation | +
+ Annotation to mark PODAM annotations.
+ |
+
PodamBooleanValue | +
+ Annotation used to customise a boolean value on the annotated field
+ |
+
PodamByteValue | +
+ Annotation used to customise min and max values of a byte type attribute or
+ constructor parameter.
+ |
+
PodamCharValue | +
+ Annotation used to customise min and max values of a char type attribute or
+ constructor parameter.
+ |
+
PodamCollection | +
+ Annotation used to customise collection-type elements
+ |
+
PodamConstructor | +
+ It identifies a constructor to use in order to create an instance of a class.
+ |
+
PodamDoubleValue | +
+ Annotation used to customise min and max values on a double type attribute or
+ constructor parameter.
+ |
+
PodamExclude | +
+ Annotation which will have PODAM to skip the annotated attribute from
+ consideration.
+ |
+
PodamFloatValue | +
+ Annotation used to customise min and max values on a float type attribute or
+ constructor parameter.
+ |
+
PodamIntValue | +
+ Annotation used to customise min and max values on an integer type attribute
+ or constructor parameter.
+ |
+
PodamLongValue | +
+ Annotation used to customise min and max values on a long type attribute or
+ constructor parameter.
+ |
+
PodamShortValue | +
+ Annotation used to customise min and max values of a short type attribute or
+ constructor parameter.
+ |
+
PodamStrategyValue | +
+ Annotation to drive the value of the annotated attribute.
+ |
+
PodamStringValue | +
+ Annotation used to customise string type attributes or constructor parameter.
+ |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/package-tree.html b/apidocs/uk/co/jemos/podam/common/package-tree.html old mode 100644 new mode 100755 index 40ca680f0..5ddfd8d8b --- a/apidocs/uk/co/jemos/podam/common/package-tree.html +++ b/apidocs/uk/co/jemos/podam/common/package-tree.html @@ -1,174 +1,177 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/common/package-use.html b/apidocs/uk/co/jemos/podam/common/package-use.html old mode 100644 new mode 100755 index aeaedcfe8..13f121e1c --- a/apidocs/uk/co/jemos/podam/common/package-use.html +++ b/apidocs/uk/co/jemos/podam/common/package-use.html @@ -1,255 +1,275 @@ - - - - - - -Package | -Description | -
---|---|
uk.co.jemos.podam.api | -
- This package contains PODAM main APIs
- |
-
uk.co.jemos.podam.common | -
- This package contains PODAM common APIs
- |
-
uk.co.jemos.podam.typeManufacturers | -
- Contains Type Manufacturers.
- |
-
Class and Description | -
---|
AbstractConstructorComparator
- It provides a comparator to sort the constructor to choose first.
- |
-
AbstractMethodComparator
- It provides a comparator to sort the constructor to choose first.
- |
-
AttributeStrategy
- Generic contract for attribute-level data provider strategies.
- |
-
ManufacturingContext
- Object to hold manufacturing related data
- |
-
Class and Description | -
---|
AbstractConstructorComparator
- It provides a comparator to sort the constructor to choose first.
- |
-
AbstractMethodComparator
- It provides a comparator to sort the constructor to choose first.
- |
-
AttributeStrategy
- Generic contract for attribute-level data provider strategies.
- |
-
ConstructorHeavyFirstComparator
- It provides a comparator to sort the constructor to choose first.
- |
-
ConstructorLightFirstComparator
- It provides a comparator to sort the constructor to choose first.
- |
-
MethodHeavyFirstComparator
- It provides a comparator to sort the constructor to choose first.
- |
-
MethodLightFirstComparator
- It provides a comparator to sort the constructor to choose first.
- |
-
Class and Description | -
---|
AttributeStrategy
- Generic contract for attribute-level data provider strategies.
- |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Package | +Description | +
---|---|
uk.co.jemos.podam.api | +
+ This package contains PODAM main APIs
+ |
+
uk.co.jemos.podam.common | +
+ This package contains PODAM common APIs
+ |
+
uk.co.jemos.podam.typeManufacturers | +
+ Contains Type Manufacturers.
+ |
+
Class and Description | +
---|
AbstractConstructorComparator
+ It provides a comparator to sort the constructor to choose first.
+ |
+
AbstractMethodComparator
+ It provides a comparator to sort the constructor to choose first.
+ |
+
AttributeStrategy
+ Generic contract for attribute-level data provider strategies.
+ |
+
ManufacturingContext
+ Object to hold manufacturing related data
+ |
+
Class and Description | +
---|
AbstractConstructorComparator
+ It provides a comparator to sort the constructor to choose first.
+ |
+
AbstractMethodComparator
+ It provides a comparator to sort the constructor to choose first.
+ |
+
AttributeStrategy
+ Generic contract for attribute-level data provider strategies.
+ |
+
ConstructorHeavyFirstComparator
+ It provides a comparator to sort the constructor to choose first.
+ |
+
ConstructorLightFirstComparator
+ It provides a comparator to sort the constructor to choose first.
+ |
+
ManufacturingContext
+ Object to hold manufacturing related data
+ |
+
MethodHeavyFirstComparator
+ It provides a comparator to sort the constructor to choose first.
+ |
+
MethodLightFirstComparator
+ It provides a comparator to sort the constructor to choose first.
+ |
+
PodamAnnotation
+ Annotation to mark PODAM annotations.
+ |
+
Class and Description | +
---|
AttributeStrategy
+ Generic contract for attribute-level data provider strategies.
+ |
+
Holder
+ Object to pass objects by reference
+ |
+
ManufacturingContext
+ Object to hold manufacturing related data
+ |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/exceptions/PodamMockeryException.html b/apidocs/uk/co/jemos/podam/exceptions/PodamMockeryException.html old mode 100644 new mode 100755 index 18f7d1c3e..fb13ba3c3 --- a/apidocs/uk/co/jemos/podam/exceptions/PodamMockeryException.html +++ b/apidocs/uk/co/jemos/podam/exceptions/PodamMockeryException.html @@ -1,344 +1,325 @@ - - - - - - -public class PodamMockeryException -extends RuntimeException-
Modifier and Type | -Field and Description | -
---|---|
private static long |
-serialVersionUID |
-
Constructor and Description | -
---|
PodamMockeryException(String message)
-String constructor.
- |
-
PodamMockeryException(String message,
- Throwable cause)
-Full constructor
- |
-
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
private static final long serialVersionUID-
public PodamMockeryException(String message, - Throwable cause)-
message
- The exception messagecause
- The error which caused this exception to be thrownpublic PodamMockeryException(String message)-
message
- The exception messageCopyright © 2016. All rights reserved.
- - + + + + + + +public class PodamMockeryException +extends RuntimeException+
Modifier and Type | +Field and Description | +
---|---|
private static long |
+serialVersionUID |
+
Constructor and Description | +
---|
PodamMockeryException(String message,
+ Throwable cause)
+Full constructor
+ |
+
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
private static final long serialVersionUID+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/exceptions/class-use/PodamMockeryException.html b/apidocs/uk/co/jemos/podam/exceptions/class-use/PodamMockeryException.html old mode 100644 new mode 100755 index 535a78c95..5fe5b2f29 --- a/apidocs/uk/co/jemos/podam/exceptions/class-use/PodamMockeryException.html +++ b/apidocs/uk/co/jemos/podam/exceptions/class-use/PodamMockeryException.html @@ -1,172 +1,181 @@ - - - - - - -Package | -Description | -
---|---|
uk.co.jemos.podam.common | -
- This package contains PODAM common APIs
- |
-
Modifier and Type | -Method and Description | -
---|---|
Object |
-BeanValidationStrategy.getValue()
-It returns a
-Calendar objects complying with Java bean validation
- annotations. |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Package | +Description | +
---|---|
uk.co.jemos.podam.common | +
+ This package contains PODAM common APIs
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Object |
+BeanValidationStrategy.getValue(Class<?> attrType,
+ List<Annotation> annotations)
+It returns a
+Calendar objects complying with Java bean validation
+ annotations. |
+
String |
+EmailStrategy.getValue(Class<?> attrType,
+ List<Annotation> annotations)
+It returns objects complying with Java bean Email validation
+ annotation.
+ |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/exceptions/package-frame.html b/apidocs/uk/co/jemos/podam/exceptions/package-frame.html old mode 100644 new mode 100755 index 7c89b7d28..f3d21d60b --- a/apidocs/uk/co/jemos/podam/exceptions/package-frame.html +++ b/apidocs/uk/co/jemos/podam/exceptions/package-frame.html @@ -1,21 +1,21 @@ - - - - - - -See: Description
-Exception | -Description | -
---|---|
PodamMockeryException | -
- The exception which occurs while PODAM is filling a POJO.
- |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +See: Description
+Exception | +Description | +
---|---|
PodamMockeryException | +
+ The exception which occurs while PODAM is filling a POJO.
+ |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/exceptions/package-tree.html b/apidocs/uk/co/jemos/podam/exceptions/package-tree.html old mode 100644 new mode 100755 index ba4e55109..72628a48a --- a/apidocs/uk/co/jemos/podam/exceptions/package-tree.html +++ b/apidocs/uk/co/jemos/podam/exceptions/package-tree.html @@ -1,152 +1,152 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/exceptions/package-use.html b/apidocs/uk/co/jemos/podam/exceptions/package-use.html old mode 100644 new mode 100755 index 68b8e419a..d02a8e07d --- a/apidocs/uk/co/jemos/podam/exceptions/package-use.html +++ b/apidocs/uk/co/jemos/podam/exceptions/package-use.html @@ -1,164 +1,164 @@ - - - - - - -Package | -Description | -
---|---|
uk.co.jemos.podam.common | -
- This package contains PODAM common APIs
- |
-
Class and Description | -
---|
PodamMockeryException
- The exception which occurs while PODAM is filling a POJO.
- |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Package | +Description | +
---|---|
uk.co.jemos.podam.common | +
+ This package contains PODAM common APIs
+ |
+
Class and Description | +
---|
PodamMockeryException
+ The exception which occurs while PODAM is filling a POJO.
+ |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/AbstractTypeManufacturer.html b/apidocs/uk/co/jemos/podam/typeManufacturers/AbstractTypeManufacturer.html old mode 100644 new mode 100755 index 02eda564b..2b4077366 --- a/apidocs/uk/co/jemos/podam/typeManufacturers/AbstractTypeManufacturer.html +++ b/apidocs/uk/co/jemos/podam/typeManufacturers/AbstractTypeManufacturer.html @@ -1,306 +1,355 @@ - - - - - - -T
- The type of the value to be manufacturedpublic abstract class AbstractTypeManufacturer<T> -extends Object -implements TypeManufacturer<T>-
Modifier and Type | -Field and Description | -
---|---|
protected static Random |
-RANDOM
-A RANDOM generator
- |
-
Constructor and Description | -
---|
AbstractTypeManufacturer() |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +T
- The type of the value to be manufacturedpublic abstract class AbstractTypeManufacturer<T> +extends Object +implements TypeManufacturer<T>+
Constructor and Description | +
---|
AbstractTypeManufacturer() |
+
Modifier and Type | +Method and Description | +
---|---|
<R> R |
+findElementOfType(Collection<?> collection,
+ Class<R> type) |
+
double |
+getDouble()
+It returns a double value in an interval (0, 1.0)
+ |
+
int |
+getInteger(int bound)
+It returns a int/Integer value in an interval (0, bound).
+ |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getType
public AbstractTypeManufacturer()+
public <R> R findElementOfType(Collection<?> collection, + Class<R> type)+
R
- The type for which should be foundcollection
- collection with elementstype
- a type of which element should be foundpublic int getInteger(int bound)+
bound
- the upper bound (inclusive). Must be positive.public double getDouble()+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/ArrayTypeManufacturerImpl.html b/apidocs/uk/co/jemos/podam/typeManufacturers/ArrayTypeManufacturerImpl.html old mode 100644 new mode 100755 index d388ea2d9..2a4cb8a0c --- a/apidocs/uk/co/jemos/podam/typeManufacturers/ArrayTypeManufacturerImpl.html +++ b/apidocs/uk/co/jemos/podam/typeManufacturers/ArrayTypeManufacturerImpl.html @@ -1,319 +1,311 @@ - - - - - - -public class ArrayTypeManufacturerImpl -extends AbstractTypeManufacturer<Cloneable>-
RANDOM
Constructor and Description | -
---|
ArrayTypeManufacturerImpl() |
-
Modifier and Type | -Method and Description | -
---|---|
Cloneable |
-getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
public ArrayTypeManufacturerImpl()-
public Cloneable getType(DataProviderStrategy strategy, - AttributeMetadata attributeMetadata, - Map<String,Type> genericTypesArgumentsMap)-
TypeManufacturer
strategy
- The DataProviderStrategyattributeMetadata
- The AttributeMetadatagenericTypesArgumentsMap
- map with generic types mapped to actual typesCopyright © 2016. All rights reserved.
- - + + + + + + +public class ArrayTypeManufacturerImpl +extends AbstractTypeManufacturer<Cloneable>+
Constructor and Description | +
---|
ArrayTypeManufacturerImpl() |
+
Modifier and Type | +Method and Description | +
---|---|
Cloneable |
+getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
findElementOfType, getDouble, getInteger
public ArrayTypeManufacturerImpl()+
public Cloneable getType(DataProviderStrategy strategy, + AttributeMetadata attributeMetadata, + ManufacturingContext manufacturingCtx)+
TypeManufacturer
strategy
- The DataProviderStrategyattributeMetadata
- The AttributeMetadatamanufacturingCtx
- pojo manufacturing context with types defintionsCopyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/BooleanTypeManufacturerImpl.html b/apidocs/uk/co/jemos/podam/typeManufacturers/BooleanTypeManufacturerImpl.html old mode 100644 new mode 100755 index 8a28e74a8..69447e4b0 --- a/apidocs/uk/co/jemos/podam/typeManufacturers/BooleanTypeManufacturerImpl.html +++ b/apidocs/uk/co/jemos/podam/typeManufacturers/BooleanTypeManufacturerImpl.html @@ -1,342 +1,334 @@ - - - - - - -public class BooleanTypeManufacturerImpl -extends AbstractTypeManufacturer<Boolean>-
RANDOM
Constructor and Description | -
---|
BooleanTypeManufacturerImpl() |
-
Modifier and Type | -Method and Description | -
---|---|
Boolean |
-getBoolean(AttributeMetadata attributeMetadata)
-It returns a boolean/Boolean value.
- |
-
Boolean |
-getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
public BooleanTypeManufacturerImpl()-
public Boolean getType(DataProviderStrategy strategy, - AttributeMetadata attributeMetadata, - Map<String,Type> genericTypesArgumentsMap)-
strategy
- The DataProviderStrategyattributeMetadata
- The AttributeMetadatagenericTypesArgumentsMap
- map with generic types mapped to actual typespublic Boolean getBoolean(AttributeMetadata attributeMetadata)-
attributeMetadata
- attribute metadata for instance to be fetchedCopyright © 2016. All rights reserved.
- - + + + + + + +public class BooleanTypeManufacturerImpl +extends AbstractTypeManufacturer<Boolean>+
Constructor and Description | +
---|
BooleanTypeManufacturerImpl() |
+
Modifier and Type | +Method and Description | +
---|---|
Boolean |
+getBoolean(AttributeMetadata attributeMetadata)
+It returns a boolean/Boolean value.
+ |
+
Boolean |
+getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
findElementOfType, getDouble, getInteger
public BooleanTypeManufacturerImpl()+
public Boolean getType(DataProviderStrategy strategy, + AttributeMetadata attributeMetadata, + ManufacturingContext manufacturingCtx)+
strategy
- The DataProviderStrategyattributeMetadata
- The AttributeMetadatamanufacturingCtx
- pojo manufacturing context with types defintionspublic Boolean getBoolean(AttributeMetadata attributeMetadata)+
attributeMetadata
- attribute metadata for instance to be fetchedCopyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/ByteTypeManufacturerImpl.html b/apidocs/uk/co/jemos/podam/typeManufacturers/ByteTypeManufacturerImpl.html old mode 100644 new mode 100755 index 497a6677b..01338ea32 --- a/apidocs/uk/co/jemos/podam/typeManufacturers/ByteTypeManufacturerImpl.html +++ b/apidocs/uk/co/jemos/podam/typeManufacturers/ByteTypeManufacturerImpl.html @@ -1,401 +1,362 @@ - - - - - - -public class ByteTypeManufacturerImpl -extends AbstractTypeManufacturer<Byte>-
Modifier and Type | -Field and Description | -
---|---|
private static org.slf4j.Logger |
-LOG
-The application logger
- |
-
RANDOM
Constructor and Description | -
---|
ByteTypeManufacturerImpl() |
-
Modifier and Type | -Method and Description | -
---|---|
Byte |
-getByte(AttributeMetadata attributeMetadata)
-It returns a byte/Byte value.
- |
-
Byte |
-getByteInRange(byte minValue,
- byte maxValue,
- AttributeMetadata attributeMetadata)
-It returns a byte/Byte within min and max value (included).
- |
-
Byte |
-getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
private static final org.slf4j.Logger LOG-
public ByteTypeManufacturerImpl()-
public Byte getType(DataProviderStrategy strategy, - AttributeMetadata attributeMetadata, - Map<String,Type> genericTypesArgumentsMap)-
strategy
- The DataProviderStrategyattributeMetadata
- The AttributeMetadatagenericTypesArgumentsMap
- map with generic types mapped to actual typespublic Byte getByte(AttributeMetadata attributeMetadata)-
attributeMetadata
- attribute metadata for instance to be fetchedpublic Byte getByteInRange(byte minValue, - byte maxValue, - AttributeMetadata attributeMetadata)-
minValue
- The minimum value for the returned valuemaxValue
- The maximum value for the returned valueattributeMetadata
- attribute metadata for instance to be fetchedCopyright © 2016. All rights reserved.
- - + + + + + + +public class ByteTypeManufacturerImpl +extends AbstractTypeManufacturer<Byte>+
Constructor and Description | +
---|
ByteTypeManufacturerImpl() |
+
Modifier and Type | +Method and Description | +
---|---|
Byte |
+getByte(AttributeMetadata attributeMetadata)
+It returns a byte/Byte value.
+ |
+
Byte |
+getByteInRange(byte minValue,
+ byte maxValue,
+ AttributeMetadata attributeMetadata)
+It returns a byte/Byte within min and max value (included).
+ |
+
Byte |
+getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
findElementOfType, getDouble, getInteger
public ByteTypeManufacturerImpl()+
public Byte getType(DataProviderStrategy strategy, + AttributeMetadata attributeMetadata, + ManufacturingContext manufacturingCtx)+
strategy
- The DataProviderStrategyattributeMetadata
- The AttributeMetadatamanufacturingCtx
- pojo manufacturing context with types defintionspublic Byte getByte(AttributeMetadata attributeMetadata)+
attributeMetadata
- attribute metadata for instance to be fetchedpublic Byte getByteInRange(byte minValue, + byte maxValue, + AttributeMetadata attributeMetadata)+
minValue
- The minimum value for the returned valuemaxValue
- The maximum value for the returned valueattributeMetadata
- attribute metadata for instance to be fetchedCopyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/CharTypeManufacturerImpl.html b/apidocs/uk/co/jemos/podam/typeManufacturers/CharTypeManufacturerImpl.html old mode 100644 new mode 100755 index 9d75c79d6..548a1ad2a --- a/apidocs/uk/co/jemos/podam/typeManufacturers/CharTypeManufacturerImpl.html +++ b/apidocs/uk/co/jemos/podam/typeManufacturers/CharTypeManufacturerImpl.html @@ -1,370 +1,362 @@ - - - - - - -public class CharTypeManufacturerImpl -extends AbstractTypeManufacturer<Character>-
RANDOM
Constructor and Description | -
---|
CharTypeManufacturerImpl() |
-
Modifier and Type | -Method and Description | -
---|---|
Character |
-getCharacter(AttributeMetadata attributeMetadata)
-It returns a char/Character value.
- |
-
Character |
-getCharacterInRange(char minValue,
- char maxValue,
- AttributeMetadata attributeMetadata)
-It returns a char/Character value between min and max value (included).
- |
-
Character |
-getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
public CharTypeManufacturerImpl()-
public Character getType(DataProviderStrategy strategy, - AttributeMetadata attributeMetadata, - Map<String,Type> genericTypesArgumentsMap)-
strategy
- The DataProviderStrategyattributeMetadata
- The AttributeMetadatagenericTypesArgumentsMap
- map with generic types mapped to actual typespublic Character getCharacter(AttributeMetadata attributeMetadata)-
attributeMetadata
- attribute metadata for instance to be fetchedpublic Character getCharacterInRange(char minValue, - char maxValue, - AttributeMetadata attributeMetadata)-
minValue
- The minimum value for the returned valuemaxValue
- The maximum value for the returned valueattributeMetadata
- attribute metadata for instance to be fetchedCopyright © 2016. All rights reserved.
- - + + + + + + +public class CharTypeManufacturerImpl +extends AbstractTypeManufacturer<Character>+
Constructor and Description | +
---|
CharTypeManufacturerImpl() |
+
Modifier and Type | +Method and Description | +
---|---|
Character |
+getCharacter(AttributeMetadata attributeMetadata)
+It returns a char/Character value.
+ |
+
Character |
+getCharacterInRange(char minValue,
+ char maxValue,
+ AttributeMetadata attributeMetadata)
+It returns a char/Character value between min and max value (included).
+ |
+
Character |
+getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
findElementOfType, getDouble, getInteger
public CharTypeManufacturerImpl()+
public Character getType(DataProviderStrategy strategy, + AttributeMetadata attributeMetadata, + ManufacturingContext manufacturingCtx)+
strategy
- The DataProviderStrategyattributeMetadata
- The AttributeMetadatamanufacturingCtx
- pojo manufacturing context with types defintionspublic Character getCharacter(AttributeMetadata attributeMetadata)+
attributeMetadata
- attribute metadata for instance to be fetchedpublic Character getCharacterInRange(char minValue, + char maxValue, + AttributeMetadata attributeMetadata)+
minValue
- The minimum value for the returned valuemaxValue
- The maximum value for the returned valueattributeMetadata
- attribute metadata for instance to be fetchedCopyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/CollectionTypeManufacturerImpl.html b/apidocs/uk/co/jemos/podam/typeManufacturers/CollectionTypeManufacturerImpl.html old mode 100644 new mode 100755 index 2cd3336a7..74bb37e7a --- a/apidocs/uk/co/jemos/podam/typeManufacturers/CollectionTypeManufacturerImpl.html +++ b/apidocs/uk/co/jemos/podam/typeManufacturers/CollectionTypeManufacturerImpl.html @@ -1,319 +1,311 @@ - - - - - - -public class CollectionTypeManufacturerImpl -extends AbstractTypeManufacturer<Collection<Object>>-
RANDOM
Constructor and Description | -
---|
CollectionTypeManufacturerImpl() |
-
Modifier and Type | -Method and Description | -
---|---|
Collection<Object> |
-getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
public CollectionTypeManufacturerImpl()-
public Collection<Object> getType(DataProviderStrategy strategy, - AttributeMetadata attributeMetadata, - Map<String,Type> genericTypesArgumentsMap)-
TypeManufacturer
strategy
- The DataProviderStrategyattributeMetadata
- The AttributeMetadatagenericTypesArgumentsMap
- map with generic types mapped to actual typesCopyright © 2016. All rights reserved.
- - + + + + + + +public class CollectionTypeManufacturerImpl +extends AbstractTypeManufacturer<Collection<Object>>+
Constructor and Description | +
---|
CollectionTypeManufacturerImpl() |
+
Modifier and Type | +Method and Description | +
---|---|
Collection<Object> |
+getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
findElementOfType, getDouble, getInteger
public CollectionTypeManufacturerImpl()+
public Collection<Object> getType(DataProviderStrategy strategy, + AttributeMetadata attributeMetadata, + ManufacturingContext manufacturingCtx)+
TypeManufacturer
strategy
- The DataProviderStrategyattributeMetadata
- The AttributeMetadatamanufacturingCtx
- pojo manufacturing context with types defintionsCopyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/DoubleTypeManufacturerImpl.html b/apidocs/uk/co/jemos/podam/typeManufacturers/DoubleTypeManufacturerImpl.html old mode 100644 new mode 100755 index 653b437b2..fb1b07b19 --- a/apidocs/uk/co/jemos/podam/typeManufacturers/DoubleTypeManufacturerImpl.html +++ b/apidocs/uk/co/jemos/podam/typeManufacturers/DoubleTypeManufacturerImpl.html @@ -1,401 +1,362 @@ - - - - - - -public class DoubleTypeManufacturerImpl -extends AbstractTypeManufacturer<Double>-
Modifier and Type | -Field and Description | -
---|---|
private static org.slf4j.Logger |
-LOG
-The application logger
- |
-
RANDOM
Constructor and Description | -
---|
DoubleTypeManufacturerImpl() |
-
Modifier and Type | -Method and Description | -
---|---|
Double |
-getDouble(AttributeMetadata attributeMetadata)
-It returns a double/Double value
- |
-
Double |
-getDoubleInRange(double minValue,
- double maxValue,
- AttributeMetadata attributeMetadata)
-It returns a double/Double value between min and max value (included).
- |
-
Double |
-getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
private static final org.slf4j.Logger LOG-
public DoubleTypeManufacturerImpl()-
public Double getType(DataProviderStrategy strategy, - AttributeMetadata attributeMetadata, - Map<String,Type> genericTypesArgumentsMap)-
strategy
- The DataProviderStrategyattributeMetadata
- The AttributeMetadatagenericTypesArgumentsMap
- map with generic types mapped to actual typespublic Double getDouble(AttributeMetadata attributeMetadata)-
attributeMetadata
- attribute metadata for instance to be fetchedpublic Double getDoubleInRange(double minValue, - double maxValue, - AttributeMetadata attributeMetadata)-
minValue
- The minimum value for the returned valuemaxValue
- The maximum value for the returned valueattributeMetadata
- attribute metadata for instance to be fetchedCopyright © 2016. All rights reserved.
- - + + + + + + +public class DoubleTypeManufacturerImpl +extends AbstractTypeManufacturer<Double>+
Constructor and Description | +
---|
DoubleTypeManufacturerImpl() |
+
Modifier and Type | +Method and Description | +
---|---|
Double |
+getDouble(AttributeMetadata attributeMetadata)
+It returns a double/Double value
+ |
+
Double |
+getDoubleInRange(double minValue,
+ double maxValue,
+ AttributeMetadata attributeMetadata)
+It returns a double/Double value between min and max value (included).
+ |
+
Double |
+getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
findElementOfType, getDouble, getInteger
public DoubleTypeManufacturerImpl()+
public Double getType(DataProviderStrategy strategy, + AttributeMetadata attributeMetadata, + ManufacturingContext manufacturingCtx)+
strategy
- The DataProviderStrategyattributeMetadata
- The AttributeMetadatamanufacturingCtx
- pojo manufacturing context with types defintionspublic Double getDouble(AttributeMetadata attributeMetadata)+
attributeMetadata
- attribute metadata for instance to be fetchedpublic Double getDoubleInRange(double minValue, + double maxValue, + AttributeMetadata attributeMetadata)+
minValue
- The minimum value for the returned valuemaxValue
- The maximum value for the returned valueattributeMetadata
- attribute metadata for instance to be fetchedCopyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/EnumTypeManufacturerImpl.html b/apidocs/uk/co/jemos/podam/typeManufacturers/EnumTypeManufacturerImpl.html old mode 100644 new mode 100755 index 06a1b9179..945f2c998 --- a/apidocs/uk/co/jemos/podam/typeManufacturers/EnumTypeManufacturerImpl.html +++ b/apidocs/uk/co/jemos/podam/typeManufacturers/EnumTypeManufacturerImpl.html @@ -1,320 +1,312 @@ - - - - - - -public class EnumTypeManufacturerImpl -extends AbstractTypeManufacturer<Enum<?>>-
RANDOM
Constructor and Description | -
---|
EnumTypeManufacturerImpl() |
-
Modifier and Type | -Method and Description | -
---|---|
Enum<?> |
-getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
public EnumTypeManufacturerImpl()-
public Enum<?> getType(DataProviderStrategy strategy, - AttributeMetadata attributeMetadata, - Map<String,Type> genericTypesArgumentsMap)-
strategy
- The DataProviderStrategyattributeMetadata
- The AttributeMetadatagenericTypesArgumentsMap
- map with generic types mapped to actual typesCopyright © 2016. All rights reserved.
- - + + + + + + +public class EnumTypeManufacturerImpl +extends AbstractTypeManufacturer<Enum<?>>+
Constructor and Description | +
---|
EnumTypeManufacturerImpl() |
+
Modifier and Type | +Method and Description | +
---|---|
Enum<?> |
+getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
findElementOfType, getDouble, getInteger
public EnumTypeManufacturerImpl()+
public Enum<?> getType(DataProviderStrategy strategy, + AttributeMetadata attributeMetadata, + ManufacturingContext manufacturingCtx)+
strategy
- The DataProviderStrategyattributeMetadata
- The AttributeMetadatamanufacturingCtx
- pojo manufacturing context with types defintionsCopyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/FloatTypeManufacturerImpl.html b/apidocs/uk/co/jemos/podam/typeManufacturers/FloatTypeManufacturerImpl.html old mode 100644 new mode 100755 index ceeab7251..2e8ac9a58 --- a/apidocs/uk/co/jemos/podam/typeManufacturers/FloatTypeManufacturerImpl.html +++ b/apidocs/uk/co/jemos/podam/typeManufacturers/FloatTypeManufacturerImpl.html @@ -1,401 +1,362 @@ - - - - - - -public class FloatTypeManufacturerImpl -extends AbstractTypeManufacturer<Float>-
Modifier and Type | -Field and Description | -
---|---|
private static org.slf4j.Logger |
-LOG
-The application logger
- |
-
RANDOM
Constructor and Description | -
---|
FloatTypeManufacturerImpl() |
-
Modifier and Type | -Method and Description | -
---|---|
Float |
-getFloat(AttributeMetadata attributeMetadata)
-It returns a float/Float value.
- |
-
Float |
-getFloatInRange(float minValue,
- float maxValue,
- AttributeMetadata attributeMetadata)
-It returns a float/Float value between min and max value (included).
- |
-
Float |
-getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
private static final org.slf4j.Logger LOG-
public FloatTypeManufacturerImpl()-
public Float getType(DataProviderStrategy strategy, - AttributeMetadata attributeMetadata, - Map<String,Type> genericTypesArgumentsMap)-
strategy
- The DataProviderStrategyattributeMetadata
- The AttributeMetadatagenericTypesArgumentsMap
- map with generic types mapped to actual typespublic Float getFloat(AttributeMetadata attributeMetadata)-
attributeMetadata
- attribute metadata for instance to be fetchedpublic Float getFloatInRange(float minValue, - float maxValue, - AttributeMetadata attributeMetadata)-
minValue
- The minimum value for the returned valuemaxValue
- The maximum value for the returned valueattributeMetadata
- attribute metadata for instance to be fetchedCopyright © 2016. All rights reserved.
- - + + + + + + +public class FloatTypeManufacturerImpl +extends AbstractTypeManufacturer<Float>+
Constructor and Description | +
---|
FloatTypeManufacturerImpl() |
+
Modifier and Type | +Method and Description | +
---|---|
Float |
+getFloat(AttributeMetadata attributeMetadata)
+It returns a float/Float value.
+ |
+
Float |
+getFloatInRange(float minValue,
+ float maxValue,
+ AttributeMetadata attributeMetadata)
+It returns a float/Float value between min and max value (included).
+ |
+
Float |
+getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
findElementOfType, getDouble, getInteger
public FloatTypeManufacturerImpl()+
public Float getType(DataProviderStrategy strategy, + AttributeMetadata attributeMetadata, + ManufacturingContext manufacturingCtx)+
strategy
- The DataProviderStrategyattributeMetadata
- The AttributeMetadatamanufacturingCtx
- pojo manufacturing context with types defintionspublic Float getFloat(AttributeMetadata attributeMetadata)+
attributeMetadata
- attribute metadata for instance to be fetchedpublic Float getFloatInRange(float minValue, + float maxValue, + AttributeMetadata attributeMetadata)+
minValue
- The minimum value for the returned valuemaxValue
- The maximum value for the returned valueattributeMetadata
- attribute metadata for instance to be fetchedCopyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/GenericTypeManufacturerImpl.html b/apidocs/uk/co/jemos/podam/typeManufacturers/GenericTypeManufacturerImpl.html deleted file mode 100644 index 1ca498d70..000000000 --- a/apidocs/uk/co/jemos/podam/typeManufacturers/GenericTypeManufacturerImpl.html +++ /dev/null @@ -1,352 +0,0 @@ - - - - - - -public class GenericTypeManufacturerImpl -extends AbstractTypeManufacturer<Object>-
Modifier and Type | -Field and Description | -
---|---|
private static org.slf4j.Logger |
-LOG
-The application logger
- |
-
RANDOM
Constructor and Description | -
---|
GenericTypeManufacturerImpl() |
-
Modifier and Type | -Method and Description | -
---|---|
Object |
-getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
private static final org.slf4j.Logger LOG-
public GenericTypeManufacturerImpl()-
public Object getType(DataProviderStrategy strategy, - AttributeMetadata attributeMetadata, - Map<String,Type> genericTypesArgumentsMap)-
TypeManufacturer
strategy
- The DataProviderStrategyattributeMetadata
- The AttributeMetadatagenericTypesArgumentsMap
- map with generic types mapped to actual typesCopyright © 2016. All rights reserved.
- - diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/IntTypeManufacturerImpl.html b/apidocs/uk/co/jemos/podam/typeManufacturers/IntTypeManufacturerImpl.html old mode 100644 new mode 100755 index 20a458dce..2e709b500 --- a/apidocs/uk/co/jemos/podam/typeManufacturers/IntTypeManufacturerImpl.html +++ b/apidocs/uk/co/jemos/podam/typeManufacturers/IntTypeManufacturerImpl.html @@ -1,401 +1,362 @@ - - - - - - -public class IntTypeManufacturerImpl -extends AbstractTypeManufacturer<Integer>-
Modifier and Type | -Field and Description | -
---|---|
private static org.slf4j.Logger |
-LOG
-The application logger
- |
-
RANDOM
Constructor and Description | -
---|
IntTypeManufacturerImpl() |
-
Modifier and Type | -Method and Description | -
---|---|
Integer |
-getInteger(AttributeMetadata attributeMetadata)
-It returns an int/Integer value.
- |
-
int |
-getIntegerInRange(int minValue,
- int maxValue,
- AttributeMetadata attributeMetadata)
-It returns an int/Integer value between min and max value (included).
- |
-
Integer |
-getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
private static final org.slf4j.Logger LOG-
public IntTypeManufacturerImpl()-
public Integer getType(DataProviderStrategy strategy, - AttributeMetadata attributeMetadata, - Map<String,Type> genericTypesArgumentsMap)-
strategy
- The DataProviderStrategyattributeMetadata
- The AttributeMetadatagenericTypesArgumentsMap
- map with generic types mapped to actual typespublic Integer getInteger(AttributeMetadata attributeMetadata)-
attributeMetadata
- attribute metadata for instance to be fetchedpublic int getIntegerInRange(int minValue, - int maxValue, - AttributeMetadata attributeMetadata)-
minValue
- The minimum value for the returned valuemaxValue
- The maximum value for the returned valueattributeMetadata
- attribute metadata for instance to be fetchedCopyright © 2016. All rights reserved.
- - + + + + + + +public class IntTypeManufacturerImpl +extends AbstractTypeManufacturer<Integer>+
Constructor and Description | +
---|
IntTypeManufacturerImpl() |
+
Modifier and Type | +Method and Description | +
---|---|
Integer |
+getInteger(AttributeMetadata attributeMetadata)
+It returns an int/Integer value.
+ |
+
int |
+getIntegerInRange(int minValue,
+ int maxValue,
+ AttributeMetadata attributeMetadata)
+It returns an int/Integer value between min and max value (included).
+ |
+
Integer |
+getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
findElementOfType, getDouble, getInteger
public IntTypeManufacturerImpl()+
public Integer getType(DataProviderStrategy strategy, + AttributeMetadata attributeMetadata, + ManufacturingContext manufacturingCtx)+
strategy
- The DataProviderStrategyattributeMetadata
- The AttributeMetadatamanufacturingCtx
- pojo manufacturing context with types defintionspublic Integer getInteger(AttributeMetadata attributeMetadata)+
attributeMetadata
- attribute metadata for instance to be fetchedpublic int getIntegerInRange(int minValue, + int maxValue, + AttributeMetadata attributeMetadata)+
minValue
- The minimum value for the returned valuemaxValue
- The maximum value for the returned valueattributeMetadata
- attribute metadata for instance to be fetchedCopyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/LongTypeManufacturerImpl.html b/apidocs/uk/co/jemos/podam/typeManufacturers/LongTypeManufacturerImpl.html old mode 100644 new mode 100755 index eee880c5a..29f8db706 --- a/apidocs/uk/co/jemos/podam/typeManufacturers/LongTypeManufacturerImpl.html +++ b/apidocs/uk/co/jemos/podam/typeManufacturers/LongTypeManufacturerImpl.html @@ -1,401 +1,362 @@ - - - - - - -public class LongTypeManufacturerImpl -extends AbstractTypeManufacturer<Long>-
Modifier and Type | -Field and Description | -
---|---|
private static org.slf4j.Logger |
-LOG
-The application logger
- |
-
RANDOM
Constructor and Description | -
---|
LongTypeManufacturerImpl() |
-
Modifier and Type | -Method and Description | -
---|---|
Long |
-getLong(AttributeMetadata attributeMetadata)
-It returns a long/Long value.
- |
-
Long |
-getLongInRange(long minValue,
- long maxValue,
- AttributeMetadata attributeMetadata)
-It returns a long/Long value between min and max value (included).
- |
-
Long |
-getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
private static final org.slf4j.Logger LOG-
public LongTypeManufacturerImpl()-
public Long getType(DataProviderStrategy strategy, - AttributeMetadata attributeMetadata, - Map<String,Type> genericTypesArgumentsMap)-
strategy
- The DataProviderStrategyattributeMetadata
- The AttributeMetadatagenericTypesArgumentsMap
- map with generic types mapped to actual typespublic Long getLong(AttributeMetadata attributeMetadata)-
attributeMetadata
- attribute metadata for instance to be fetchedpublic Long getLongInRange(long minValue, - long maxValue, - AttributeMetadata attributeMetadata)-
minValue
- The minimum value for the returned valuemaxValue
- The maximum value for the returned valueattributeMetadata
- attribute metadata for instance to be fetchedCopyright © 2016. All rights reserved.
- - + + + + + + +public class LongTypeManufacturerImpl +extends AbstractTypeManufacturer<Long>+
Constructor and Description | +
---|
LongTypeManufacturerImpl() |
+
Modifier and Type | +Method and Description | +
---|---|
Long |
+getLong(AttributeMetadata attributeMetadata)
+It returns a long/Long value.
+ |
+
Long |
+getLongInRange(long minValue,
+ long maxValue,
+ AttributeMetadata attributeMetadata)
+It returns a long/Long value between min and max value (included).
+ |
+
Long |
+getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
findElementOfType, getDouble, getInteger
public LongTypeManufacturerImpl()+
public Long getType(DataProviderStrategy strategy, + AttributeMetadata attributeMetadata, + ManufacturingContext manufacturingCtx)+
strategy
- The DataProviderStrategyattributeMetadata
- The AttributeMetadatamanufacturingCtx
- pojo manufacturing context with types defintionspublic Long getLong(AttributeMetadata attributeMetadata)+
attributeMetadata
- attribute metadata for instance to be fetchedpublic Long getLongInRange(long minValue, + long maxValue, + AttributeMetadata attributeMetadata)+
minValue
- The minimum value for the returned valuemaxValue
- The maximum value for the returned valueattributeMetadata
- attribute metadata for instance to be fetchedCopyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/MapTypeManufacturerImpl.html b/apidocs/uk/co/jemos/podam/typeManufacturers/MapTypeManufacturerImpl.html old mode 100644 new mode 100755 index a62295a1b..7dcde0b1e --- a/apidocs/uk/co/jemos/podam/typeManufacturers/MapTypeManufacturerImpl.html +++ b/apidocs/uk/co/jemos/podam/typeManufacturers/MapTypeManufacturerImpl.html @@ -1,319 +1,311 @@ - - - - - - -public class MapTypeManufacturerImpl -extends AbstractTypeManufacturer<Map<Object,Object>>-
RANDOM
Constructor and Description | -
---|
MapTypeManufacturerImpl() |
-
Modifier and Type | -Method and Description | -
---|---|
Map<Object,Object> |
-getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
public MapTypeManufacturerImpl()-
public Map<Object,Object> getType(DataProviderStrategy strategy, - AttributeMetadata attributeMetadata, - Map<String,Type> genericTypesArgumentsMap)-
TypeManufacturer
strategy
- The DataProviderStrategyattributeMetadata
- The AttributeMetadatagenericTypesArgumentsMap
- map with generic types mapped to actual typesCopyright © 2016. All rights reserved.
- - + + + + + + +public class MapTypeManufacturerImpl +extends AbstractTypeManufacturer<Map<Object,Object>>+
Constructor and Description | +
---|
MapTypeManufacturerImpl() |
+
Modifier and Type | +Method and Description | +
---|---|
Map<Object,Object> |
+getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
findElementOfType, getDouble, getInteger
public MapTypeManufacturerImpl()+
public Map<Object,Object> getType(DataProviderStrategy strategy, + AttributeMetadata attributeMetadata, + ManufacturingContext manufacturingCtx)+
TypeManufacturer
strategy
- The DataProviderStrategyattributeMetadata
- The AttributeMetadatamanufacturingCtx
- pojo manufacturing context with types defintionsCopyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/ShortTypeManufacturerImpl.html b/apidocs/uk/co/jemos/podam/typeManufacturers/ShortTypeManufacturerImpl.html old mode 100644 new mode 100755 index ad8823c29..c0e3d77b0 --- a/apidocs/uk/co/jemos/podam/typeManufacturers/ShortTypeManufacturerImpl.html +++ b/apidocs/uk/co/jemos/podam/typeManufacturers/ShortTypeManufacturerImpl.html @@ -1,401 +1,362 @@ - - - - - - -public class ShortTypeManufacturerImpl -extends AbstractTypeManufacturer<Short>-
Modifier and Type | -Field and Description | -
---|---|
private static org.slf4j.Logger |
-LOG
-The application logger
- |
-
RANDOM
Constructor and Description | -
---|
ShortTypeManufacturerImpl() |
-
Modifier and Type | -Method and Description | -
---|---|
Short |
-getShort(AttributeMetadata attributeMetadata)
-It returns a short/Short value.
- |
-
Short |
-getShortInRange(short minValue,
- short maxValue,
- AttributeMetadata attributeMetadata)
-It returns a short/Short value between min and max value (included).
- |
-
Short |
-getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
private static final org.slf4j.Logger LOG-
public ShortTypeManufacturerImpl()-
public Short getType(DataProviderStrategy strategy, - AttributeMetadata attributeMetadata, - Map<String,Type> genericTypesArgumentsMap)-
strategy
- The DataProviderStrategyattributeMetadata
- The AttributeMetadatagenericTypesArgumentsMap
- map with generic types mapped to actual typespublic Short getShort(AttributeMetadata attributeMetadata)-
attributeMetadata
- attribute metadata for instance to be fetchedpublic Short getShortInRange(short minValue, - short maxValue, - AttributeMetadata attributeMetadata)-
minValue
- The minimum value for the returned valuemaxValue
- The maximum value for the returned valueattributeMetadata
- attribute metadata for instance to be fetchedCopyright © 2016. All rights reserved.
- - + + + + + + +public class ShortTypeManufacturerImpl +extends AbstractTypeManufacturer<Short>+
Constructor and Description | +
---|
ShortTypeManufacturerImpl() |
+
Modifier and Type | +Method and Description | +
---|---|
Short |
+getShort(AttributeMetadata attributeMetadata)
+It returns a short/Short value.
+ |
+
Short |
+getShortInRange(short minValue,
+ short maxValue,
+ AttributeMetadata attributeMetadata)
+It returns a short/Short value between min and max value (included).
+ |
+
Short |
+getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
findElementOfType, getDouble, getInteger
public ShortTypeManufacturerImpl()+
public Short getType(DataProviderStrategy strategy, + AttributeMetadata attributeMetadata, + ManufacturingContext manufacturingCtx)+
strategy
- The DataProviderStrategyattributeMetadata
- The AttributeMetadatamanufacturingCtx
- pojo manufacturing context with types defintionspublic Short getShort(AttributeMetadata attributeMetadata)+
attributeMetadata
- attribute metadata for instance to be fetchedpublic Short getShortInRange(short minValue, + short maxValue, + AttributeMetadata attributeMetadata)+
minValue
- The minimum value for the returned valuemaxValue
- The maximum value for the returned valueattributeMetadata
- attribute metadata for instance to be fetchedCopyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/StringTypeManufacturerImpl.html b/apidocs/uk/co/jemos/podam/typeManufacturers/StringTypeManufacturerImpl.html old mode 100644 new mode 100755 index dc3e847f2..b75db4777 --- a/apidocs/uk/co/jemos/podam/typeManufacturers/StringTypeManufacturerImpl.html +++ b/apidocs/uk/co/jemos/podam/typeManufacturers/StringTypeManufacturerImpl.html @@ -1,367 +1,359 @@ - - - - - - -public class StringTypeManufacturerImpl -extends AbstractTypeManufacturer<String>-
RANDOM
Constructor and Description | -
---|
StringTypeManufacturerImpl() |
-
Modifier and Type | -Method and Description | -
---|---|
String |
-getStringOfLength(int length,
- AttributeMetadata attributeMetadata)
-It returns a String of
-length characters. |
-
String |
-getStringValue(AttributeMetadata attributeMetadata)
-It returns a string value
- |
-
String |
-getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
public StringTypeManufacturerImpl()-
public String getType(DataProviderStrategy strategy, - AttributeMetadata attributeMetadata, - Map<String,Type> genericTypesArgumentsMap)-
strategy
- The DataProviderStrategyattributeMetadata
- The AttributeMetadatagenericTypesArgumentsMap
- map with generic types mapped to actual typespublic String getStringValue(AttributeMetadata attributeMetadata)-
attributeMetadata
- attribute metadata for instance to be fetchedpublic String getStringOfLength(int length, - AttributeMetadata attributeMetadata)-
length
characters.length
- The number of characters required in the returned StringattributeMetadata
- attribute metadata for instance to be fetchedlength
charactersCopyright © 2016. All rights reserved.
- - + + + + + + +public class StringTypeManufacturerImpl +extends AbstractTypeManufacturer<String>+
Constructor and Description | +
---|
StringTypeManufacturerImpl() |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+getStringOfLength(int length,
+ AttributeMetadata attributeMetadata)
+It returns a String of
+length characters. |
+
String |
+getStringValue(AttributeMetadata attributeMetadata)
+It returns a string value
+ |
+
String |
+getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
findElementOfType, getDouble, getInteger
public StringTypeManufacturerImpl()+
public String getType(DataProviderStrategy strategy, + AttributeMetadata attributeMetadata, + ManufacturingContext manufacturingCtx)+
strategy
- The DataProviderStrategyattributeMetadata
- The AttributeMetadatamanufacturingCtx
- pojo manufacturing context with types defintionspublic String getStringValue(AttributeMetadata attributeMetadata)+
attributeMetadata
- attribute metadata for instance to be fetchedpublic String getStringOfLength(int length, + AttributeMetadata attributeMetadata)+
length
characters.length
- The number of characters required in the returned StringattributeMetadata
- attribute metadata for instance to be fetchedlength
charactersCopyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/TypeManufacturer.html b/apidocs/uk/co/jemos/podam/typeManufacturers/TypeManufacturer.html old mode 100644 new mode 100755 index 580a506b5..13a2bc8c2 --- a/apidocs/uk/co/jemos/podam/typeManufacturers/TypeManufacturer.html +++ b/apidocs/uk/co/jemos/podam/typeManufacturers/TypeManufacturer.html @@ -1,253 +1,253 @@ - - - - - - -T
- The type of the value to be manufacturedpublic interface TypeManufacturer<T>
-Modifier and Type | -Method and Description | -
---|---|
T |
-getType(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
T getType(DataProviderStrategy strategy, - AttributeMetadata attributeMetadata, - Map<String,Type> genericTypesArgumentsMap)-
strategy
- The DataProviderStrategyattributeMetadata
- The AttributeMetadatagenericTypesArgumentsMap
- map with generic types mapped to actual typesCopyright © 2016. All rights reserved.
- - + + + + + + +T
- The type of the value to be manufacturedpublic interface TypeManufacturer<T>
+Modifier and Type | +Method and Description | +
---|---|
T |
+getType(DataProviderStrategy strategy,
+ AttributeMetadata attributeMetadata,
+ ManufacturingContext manufacturingCtx)
+Returns a type value conforming to the annotations and the AttributeMetadata provided.
+ |
+
T getType(DataProviderStrategy strategy, + AttributeMetadata attributeMetadata, + ManufacturingContext manufacturingCtx)+
strategy
- The DataProviderStrategyattributeMetadata
- The AttributeMetadatamanufacturingCtx
- pojo manufacturing context with types defintionsCopyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/TypeManufacturerParamsWrapper.html b/apidocs/uk/co/jemos/podam/typeManufacturers/TypeManufacturerParamsWrapper.html deleted file mode 100644 index 689ad9c1f..000000000 --- a/apidocs/uk/co/jemos/podam/typeManufacturers/TypeManufacturerParamsWrapper.html +++ /dev/null @@ -1,415 +0,0 @@ - - - - - - -public class TypeManufacturerParamsWrapper -extends Object-
Modifier and Type | -Field and Description | -
---|---|
private AttributeMetadata |
-attributeMetadata
-The AttributeMetadata.
- |
-
private DataProviderStrategy |
-dataProviderStrategy
-The Data DataProviderStrategy.
- |
-
private Map<String,Type> |
-typeArgumentsMap
-The Map of type arguments
- |
-
Constructor and Description | -
---|
TypeManufacturerParamsWrapper(DataProviderStrategy dataProviderStrategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> typeArgumentsMap)
-Full constructor.
- |
-
Modifier and Type | -Method and Description | -
---|---|
AttributeMetadata |
-getAttributeMetadata() |
-
DataProviderStrategy |
-getDataProviderStrategy() |
-
Map<String,Type> |
-getTypeArgumentsMap()
-Returns the type arguments map.
- |
-
String |
-toString() |
-
private final DataProviderStrategy dataProviderStrategy-
private final AttributeMetadata attributeMetadata-
public TypeManufacturerParamsWrapper(DataProviderStrategy dataProviderStrategy, - AttributeMetadata attributeMetadata, - Map<String,Type> typeArgumentsMap)-
dataProviderStrategy
- The DataProviderStrategyattributeMetadata
- The AttributeMetadatatypeArgumentsMap
- map with generic types mapped to actual typespublic DataProviderStrategy getDataProviderStrategy()-
public AttributeMetadata getAttributeMetadata()-
public Map<String,Type> getTypeArgumentsMap()-
Copyright © 2016. All rights reserved.
- - diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/TypeManufacturerParamsWrapperForGenericTypes.html b/apidocs/uk/co/jemos/podam/typeManufacturers/TypeManufacturerParamsWrapperForGenericTypes.html deleted file mode 100644 index 6270912e4..000000000 --- a/apidocs/uk/co/jemos/podam/typeManufacturers/TypeManufacturerParamsWrapperForGenericTypes.html +++ /dev/null @@ -1,391 +0,0 @@ - - - - - - -public class TypeManufacturerParamsWrapperForGenericTypes -extends TypeManufacturerParamsWrapper-
Modifier and Type | -Field and Description | -
---|---|
private Type |
-attributeGenericType
-The attribute generic type
- |
-
private Map<String,Type> |
-typeArgumentsMap
-The Map of type arguments
- |
-
Constructor and Description | -
---|
TypeManufacturerParamsWrapperForGenericTypes(DataProviderStrategy dataProviderStrategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> typeArgumentsMap,
- Type attributeGenericType)
-Full constructor.
- |
-
Modifier and Type | -Method and Description | -
---|---|
Type |
-getAttributeGenericType()
-Returns the attribute generic type.
- |
-
Map<String,Type> |
-getTypeArgumentsMap()
-Returns the type arguments map.
- |
-
getAttributeMetadata, getDataProviderStrategy, toString
private final Type attributeGenericType-
public TypeManufacturerParamsWrapperForGenericTypes(DataProviderStrategy dataProviderStrategy, - AttributeMetadata attributeMetadata, - Map<String,Type> typeArgumentsMap, - Type attributeGenericType)-
dataProviderStrategy
- The DataProviderStrategyattributeMetadata
- The AttributeMetadatatypeArgumentsMap
- The map of type argumentsattributeGenericType
- The attribute generic typepublic Map<String,Type> getTypeArgumentsMap()-
public Type getAttributeGenericType()-
Copyright © 2016. All rights reserved.
- - diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/TypeManufacturerUtil.html b/apidocs/uk/co/jemos/podam/typeManufacturers/TypeManufacturerUtil.html old mode 100644 new mode 100755 index 3e3493677..e19ca5414 --- a/apidocs/uk/co/jemos/podam/typeManufacturers/TypeManufacturerUtil.html +++ b/apidocs/uk/co/jemos/podam/typeManufacturers/TypeManufacturerUtil.html @@ -1,525 +1,523 @@ - - - - - - -public final class TypeManufacturerUtil -extends Object-
Modifier and Type | -Field and Description | -
---|---|
private static org.slf4j.Logger |
-LOG
-The application logger
- |
-
Modifier | -Constructor and Description | -
---|---|
private |
-TypeManufacturerUtil()
-Non instantiable.
- |
-
Modifier and Type | -Method and Description | -
---|---|
static Type[] |
-fillTypeArgMap(Map<String,Type> typeArgsMap,
- Class<?> pojoClass,
- Type[] genericTypeArgs)
-Fills type agruments map
- |
-
static AttributeStrategy<?> |
-findAttributeStrategy(DataProviderStrategy strategy,
- List<Annotation> annotations,
- Class<?> attributeType)
-It returns a
-AttributeStrategy if one was specified in
- annotations, or null otherwise. |
-
static Integer |
-findCollectionSize(DataProviderStrategy strategy,
- List<Annotation> annotations,
- Class<?> collectionElementType,
- Holder<AttributeStrategy<?>> elementStrategyHolder,
- Holder<AttributeStrategy<?>> keyStrategyHolder)
-Searches for annotation with information about collection/map size
- and filling strategies
- |
-
static Type[] |
-mergeActualAndSuppliedGenericTypes(Class<?> attributeType,
- Type genericAttributeType,
- Type[] suppliedTypes,
- Map<String,Type> typeArgsMap)
-Utility to merge actual types with supplied array of generic type
- substitutions
- |
-
static Class<?> |
-resolveGenericParameter(Type paramType,
- Map<String,Type> typeArgsMap,
- AtomicReference<Type[]> methodGenericTypeArgs)
-It resolves generic parameter type
- |
-
static Object |
-returnAttributeDataStrategyValue(Class<?> attributeType,
- AttributeStrategy<?> attributeStrategy)
-It retrieves the value for the
-PodamStrategyValue annotation with
- which the attribute was annotated |
-
private static final org.slf4j.Logger LOG-
private TypeManufacturerUtil()-
public static AttributeStrategy<?> findAttributeStrategy(DataProviderStrategy strategy, - List<Annotation> annotations, - Class<?> attributeType) - throws InstantiationException, - IllegalAccessException-
AttributeStrategy
if one was specified in
- annotations, or null
otherwise.strategy
- The data provider strategyannotations
- The list of annotationsattributeType
- Type of attribute expected to be returnedAttributeStrategy
, if PodamStrategyValue
or bean
- validation constraint annotation was found among annotationsIllegalAccessException
- if attribute strategy cannot be instantiatedInstantiationException
- if attribute strategy cannot be instantiatedpublic static Type[] fillTypeArgMap(Map<String,Type> typeArgsMap, - Class<?> pojoClass, - Type[] genericTypeArgs)-
- This method places required and provided types for object creation into a - map, which will be used for type mapping. -
typeArgsMap
- a map to fillpojoClass
- Typed classgenericTypeArgs
- Type arguments provided for a generics object by callerIllegalStateException
- If number of typed parameters doesn't match number of
- provided generic typespublic static Integer findCollectionSize(DataProviderStrategy strategy, - List<Annotation> annotations, - Class<?> collectionElementType, - Holder<AttributeStrategy<?>> elementStrategyHolder, - Holder<AttributeStrategy<?>> keyStrategyHolder) - throws InstantiationException, - IllegalAccessException-
strategy
- a data provider strategyannotations
- a list of annotations to inspectcollectionElementType
- a collection element typeelementStrategyHolder
- a holder to pass found element strategy back to the caller,
- can be nullkeyStrategyHolder
- a holder to pass found key strategy back to the caller,
- can be nullInstantiationException
- A strategy cannot be instantiatedIllegalAccessException
- A strategy cannot be instantiatedpublic static Type[] mergeActualAndSuppliedGenericTypes(Class<?> attributeType, - Type genericAttributeType, - Type[] suppliedTypes, - Map<String,Type> typeArgsMap)-
attributeType
- actual type of objectgenericAttributeType
- generic type of objectsuppliedTypes
- an array of supplied types for generic type substitutiontypeArgsMap
- a map relating the generic class arguments ("<T, V>" for
- example) with their actual typespublic static Class<?> resolveGenericParameter(Type paramType, - Map<String,Type> typeArgsMap, - AtomicReference<Type[]> methodGenericTypeArgs)-
paramType
- The generic parameter typetypeArgsMap
- A map of resolved typesmethodGenericTypeArgs
- Return value posible generic types of the generic parameter
- typepublic static Object returnAttributeDataStrategyValue(Class<?> attributeType, - AttributeStrategy<?> attributeStrategy) - throws IllegalArgumentException-
PodamStrategyValue
annotation with
- which the attribute was annotatedattributeType
- The attribute type, used for type checkingattributeStrategy
- The AttributeStrategy
to usePodamStrategyValue
annotation with
- which the attribute was annotatedIllegalArgumentException
- If the type of the data strategy defined for the
- PodamStrategyValue
annotation is not assignable to
- the annotated attribute. This de facto guarantees type
- safety.Copyright © 2016. All rights reserved.
- - + + + + + + +public abstract class TypeManufacturerUtil +extends Object+
Modifier and Type | +Field and Description | +
---|---|
private static org.slf4j.Logger |
+LOG
+The application logger
+ |
+
Constructor and Description | +
---|
TypeManufacturerUtil() |
+
Modifier and Type | +Method and Description | +
---|---|
static AttributeStrategy<?> |
+findAttributeStrategy(DataProviderStrategy strategy,
+ List<Annotation> annotations,
+ Class<?> attributeType)
+It returns a
+AttributeStrategy if one was specified in
+ annotations, or null otherwise. |
+
static Integer |
+findCollectionSize(DataProviderStrategy strategy,
+ List<Annotation> annotations,
+ Class<?> collectionElementType,
+ Holder<AttributeStrategy<?>> elementStrategyHolder,
+ Holder<AttributeStrategy<?>> keyStrategyHolder)
+Searches for annotation with information about collection/map size
+ and filling strategies
+ |
+
static Method[] |
+findSuitableConstructors(Class<?> factoryClass,
+ Class<?> pojoClass)
+Finds suitable static constructors for POJO instantiation
+ |
+
static Type[] |
+mergeActualAndSuppliedGenericTypes(Class<?> attributeType,
+ Type genericAttributeType,
+ Type[] suppliedTypes,
+ ManufacturingContext manufacturingCtx)
+Utility to merge actual types with supplied array of generic type
+ substitutions
+ |
+
static Class<?> |
+resolveGenericParameter(Type paramType,
+ ManufacturingContext manufacturingCtx,
+ AtomicReference<Type[]> methodGenericTypeArgs)
+It resolves generic parameter type
+ |
+
static Object |
+returnAttributeDataStrategyValue(Class<?> attributeType,
+ List<Annotation> annotations,
+ AttributeStrategy<?> attributeStrategy)
+It retrieves the value for the
+PodamStrategyValue annotation with
+ which the attribute was annotated |
+
private static final org.slf4j.Logger LOG+
public static AttributeStrategy<?> findAttributeStrategy(DataProviderStrategy strategy, + List<Annotation> annotations, + Class<?> attributeType) + throws InstantiationException, + IllegalAccessException, + SecurityException, + IllegalArgumentException, + InvocationTargetException+
AttributeStrategy
if one was specified in
+ annotations, or null
otherwise.strategy
- The data provider strategyannotations
- The list of annotations, irrelevant annotations will be removedattributeType
- Type of attribute expected to be returnedAttributeStrategy
, if PodamStrategyValue
or bean
+ validation constraint annotation was found among annotationsIllegalAccessException
- if attribute strategy cannot be instantiatedInstantiationException
- if attribute strategy cannot be instantiatedSecurityException
- if access security is violatedInvocationTargetException
- if invocation failedIllegalArgumentException
- if illegal argument provided to a constructorpublic static Method[] findSuitableConstructors(Class<?> factoryClass, + Class<?> pojoClass)+
+ This method places required and provided types for object creation into a + map, which will be used for type mapping. +
factoryClass
- Factory class to produce the POJOpojoClass
- Typed classpublic static Integer findCollectionSize(DataProviderStrategy strategy, + List<Annotation> annotations, + Class<?> collectionElementType, + Holder<AttributeStrategy<?>> elementStrategyHolder, + Holder<AttributeStrategy<?>> keyStrategyHolder) + throws InstantiationException, + IllegalAccessException+
strategy
- a data provider strategyannotations
- a list of annotations to inspectcollectionElementType
- a collection element typeelementStrategyHolder
- a holder to pass found element strategy back to the caller,
+ can be nullkeyStrategyHolder
- a holder to pass found key strategy back to the caller,
+ can be nullInstantiationException
- A strategy cannot be instantiatedIllegalAccessException
- A strategy cannot be instantiatedpublic static Type[] mergeActualAndSuppliedGenericTypes(Class<?> attributeType, + Type genericAttributeType, + Type[] suppliedTypes, + ManufacturingContext manufacturingCtx)+
attributeType
- actual type of objectgenericAttributeType
- generic type of objectsuppliedTypes
- an array of supplied types for generic type substitutionmanufacturingCtx
- a context with a map relating the generic class arguments ("<T, V>" for
+ example) with their actual typespublic static Class<?> resolveGenericParameter(Type paramType, + ManufacturingContext manufacturingCtx, + AtomicReference<Type[]> methodGenericTypeArgs)+
paramType
- The generic parameter typemanufacturingCtx
- A manufacturing context with a map of resolved typesmethodGenericTypeArgs
- Return value posible generic types of the generic parameter
+ typepublic static Object returnAttributeDataStrategyValue(Class<?> attributeType, + List<Annotation> annotations, + AttributeStrategy<?> attributeStrategy) + throws IllegalArgumentException+
PodamStrategyValue
annotation with
+ which the attribute was annotatedattributeType
- The attribute type, used for type checkingannotations
- Annotations attached to the attributeattributeStrategy
- The AttributeStrategy
to usePodamStrategyValue
annotation with
+ which the attribute was annotatedIllegalArgumentException
- If the type of the data strategy defined for the
+ PodamStrategyValue
annotation is not assignable to
+ the annotated attribute. This de facto guarantees type
+ safety.Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/TypeMultiplexer.html b/apidocs/uk/co/jemos/podam/typeManufacturers/TypeMultiplexer.html deleted file mode 100644 index f6e89d71d..000000000 --- a/apidocs/uk/co/jemos/podam/typeManufacturers/TypeMultiplexer.html +++ /dev/null @@ -1,279 +0,0 @@ - - - - - - -public interface TypeMultiplexer
-Modifier and Type | -Method and Description | -
---|---|
Object |
-getTypeValue(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap,
- Class<?> pojoType)
-Obtains a type value
- |
-
Object |
-getValueForType(TypeManufacturerParamsWrapper payload,
- Class<?> pojoType)
-Obtains a type value
- |
-
Object getTypeValue(DataProviderStrategy strategy, - AttributeMetadata attributeMetadata, - Map<String,Type> genericTypesArgumentsMap, - Class<?> pojoType)-
strategy
- The Data Provider strategyattributeMetadata
- The AttributeMetadata informationgenericTypesArgumentsMap
- The generic attribute type argument typespojoType
- The class of the requested typeObject getValueForType(TypeManufacturerParamsWrapper payload, - Class<?> pojoType)-
payload
- The package with data about type to manufacturepojoType
- The class of the requested type @return The type valueCopyright © 2016. All rights reserved.
- - diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/TypeMultiplexerImpl.html b/apidocs/uk/co/jemos/podam/typeManufacturers/TypeMultiplexerImpl.html deleted file mode 100644 index 961f061c8..000000000 --- a/apidocs/uk/co/jemos/podam/typeManufacturers/TypeMultiplexerImpl.html +++ /dev/null @@ -1,369 +0,0 @@ - - - - - - -public class TypeMultiplexerImpl -extends Object -implements TypeMultiplexer-
Modifier and Type | -Field and Description | -
---|---|
private ConcurrentHashMap<Class<?>,TypeManufacturer> |
-manufacturers |
-
Constructor and Description | -
---|
TypeMultiplexerImpl() |
-
Modifier and Type | -Method and Description | -
---|---|
Object |
-getTypeValue(DataProviderStrategy strategy,
- AttributeMetadata attributeMetadata,
- Map<String,Type> genericTypesArgumentsMap,
- Class<?> pojoType)
-Obtains a type value
- |
-
Object |
-getValueForType(TypeManufacturerParamsWrapper payload,
- Class<?> pojoType)
-Obtains a type value
- |
-
private ConcurrentHashMap<Class<?>,TypeManufacturer> manufacturers-
public Object getTypeValue(DataProviderStrategy strategy, - AttributeMetadata attributeMetadata, - Map<String,Type> genericTypesArgumentsMap, - Class<?> pojoType)-
getTypeValue
in interface TypeMultiplexer
strategy
- The Data Provider strategyattributeMetadata
- The AttributeMetadata informationgenericTypesArgumentsMap
- The generic attribute type argument typespojoType
- The class of the requested typepublic Object getValueForType(TypeManufacturerParamsWrapper payload, - Class<?> pojoType)-
getValueForType
in interface TypeMultiplexer
payload
- The package with data about type to manufacturepojoType
- The class of the requested type @return The type valueCopyright © 2016. All rights reserved.
- - diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/AbstractTypeManufacturer.html b/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/AbstractTypeManufacturer.html old mode 100644 new mode 100755 index 4c99d9f0c..437ecfd7d --- a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/AbstractTypeManufacturer.html +++ b/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/AbstractTypeManufacturer.html @@ -1,249 +1,249 @@ - - - - - - -Package | -Description | -
---|---|
uk.co.jemos.podam.typeManufacturers | -
- Contains Type Manufacturers.
- |
-
Modifier and Type | -Class and Description | -
---|---|
class |
-ArrayTypeManufacturerImpl
-Default collection type manufacturer.
- |
-
class |
-BooleanTypeManufacturerImpl
-Default boolean type manufacturer.
- |
-
class |
-ByteTypeManufacturerImpl
-Default byte type manufacturer.
- |
-
class |
-CharTypeManufacturerImpl
-Default character type manufacturer.
- |
-
class |
-CollectionTypeManufacturerImpl
-Default collection type manufacturer.
- |
-
class |
-DoubleTypeManufacturerImpl
-Default double type manufacturer.
- |
-
class |
-EnumTypeManufacturerImpl
-Default Enum type manufacturer.
- |
-
class |
-FloatTypeManufacturerImpl
-Default float type manufacturer.
- |
-
class |
-GenericTypeManufacturerImpl
-Default byte type manufacturer.
- |
-
class |
-IntTypeManufacturerImpl
-Default int type manufacturer.
- |
-
class |
-LongTypeManufacturerImpl
-Default int type manufacturer.
- |
-
class |
-MapTypeManufacturerImpl
-Default collection type manufacturer.
- |
-
class |
-ShortTypeManufacturerImpl
-Default short type manufacturer.
- |
-
class |
-StringTypeManufacturerImpl
-Default String type manufacturer.
- |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Package | +Description | +
---|---|
uk.co.jemos.podam.typeManufacturers | +
+ Contains Type Manufacturers.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+ArrayTypeManufacturerImpl
+Default array type manufacturer.
+ |
+
class |
+BooleanTypeManufacturerImpl
+Default boolean type manufacturer.
+ |
+
class |
+ByteTypeManufacturerImpl
+Default byte type manufacturer.
+ |
+
class |
+CharTypeManufacturerImpl
+Default character type manufacturer.
+ |
+
class |
+CollectionTypeManufacturerImpl
+Default collection type manufacturer.
+ |
+
class |
+DoubleTypeManufacturerImpl
+Default double type manufacturer.
+ |
+
class |
+EnumTypeManufacturerImpl
+Default Enum type manufacturer.
+ |
+
class |
+FloatTypeManufacturerImpl
+Default float type manufacturer.
+ |
+
class |
+IntTypeManufacturerImpl
+Default int type manufacturer.
+ |
+
class |
+LongTypeManufacturerImpl
+Default long type manufacturer.
+ |
+
class |
+MapTypeManufacturerImpl
+Default map type manufacturer.
+ |
+
class |
+ShortTypeManufacturerImpl
+Default short type manufacturer.
+ |
+
class |
+StringTypeManufacturerImpl
+Default String type manufacturer.
+ |
+
class |
+TypeTypeManufacturerImpl
+Default generic type type manufacturer.
+ |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/ArrayTypeManufacturerImpl.html b/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/ArrayTypeManufacturerImpl.html old mode 100644 new mode 100755 index eaeadbdc5..287672bf1 --- a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/ArrayTypeManufacturerImpl.html +++ b/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/ArrayTypeManufacturerImpl.html @@ -1,127 +1,127 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/BooleanTypeManufacturerImpl.html b/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/BooleanTypeManufacturerImpl.html old mode 100644 new mode 100755 index be68e7a77..b0739e016 --- a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/BooleanTypeManufacturerImpl.html +++ b/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/BooleanTypeManufacturerImpl.html @@ -1,127 +1,127 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/ByteTypeManufacturerImpl.html b/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/ByteTypeManufacturerImpl.html old mode 100644 new mode 100755 index 682226e02..d17dee3e9 --- a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/ByteTypeManufacturerImpl.html +++ b/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/ByteTypeManufacturerImpl.html @@ -1,127 +1,127 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/CharTypeManufacturerImpl.html b/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/CharTypeManufacturerImpl.html old mode 100644 new mode 100755 index 1ea1564ea..2aa2b827f --- a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/CharTypeManufacturerImpl.html +++ b/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/CharTypeManufacturerImpl.html @@ -1,127 +1,127 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/CollectionTypeManufacturerImpl.html b/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/CollectionTypeManufacturerImpl.html old mode 100644 new mode 100755 index 9a8f41230..6b2190e03 --- a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/CollectionTypeManufacturerImpl.html +++ b/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/CollectionTypeManufacturerImpl.html @@ -1,127 +1,127 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/DoubleTypeManufacturerImpl.html b/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/DoubleTypeManufacturerImpl.html old mode 100644 new mode 100755 index d7fb564c2..307027e70 --- a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/DoubleTypeManufacturerImpl.html +++ b/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/DoubleTypeManufacturerImpl.html @@ -1,127 +1,127 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/EnumTypeManufacturerImpl.html b/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/EnumTypeManufacturerImpl.html old mode 100644 new mode 100755 index 8dc982268..8db7f5e06 --- a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/EnumTypeManufacturerImpl.html +++ b/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/EnumTypeManufacturerImpl.html @@ -1,127 +1,127 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/FloatTypeManufacturerImpl.html b/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/FloatTypeManufacturerImpl.html old mode 100644 new mode 100755 index b9484c70b..f32b81fd7 --- a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/FloatTypeManufacturerImpl.html +++ b/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/FloatTypeManufacturerImpl.html @@ -1,127 +1,127 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/GenericTypeManufacturerImpl.html b/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/GenericTypeManufacturerImpl.html deleted file mode 100644 index 2e2ece842..000000000 --- a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/GenericTypeManufacturerImpl.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/IntTypeManufacturerImpl.html b/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/IntTypeManufacturerImpl.html old mode 100644 new mode 100755 index e212677d3..fe6dc3890 --- a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/IntTypeManufacturerImpl.html +++ b/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/IntTypeManufacturerImpl.html @@ -1,127 +1,127 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/LongTypeManufacturerImpl.html b/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/LongTypeManufacturerImpl.html old mode 100644 new mode 100755 index aef9f822d..c81bfe1f2 --- a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/LongTypeManufacturerImpl.html +++ b/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/LongTypeManufacturerImpl.html @@ -1,127 +1,127 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/MapTypeManufacturerImpl.html b/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/MapTypeManufacturerImpl.html old mode 100644 new mode 100755 index 2ef3517a0..10db2555a --- a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/MapTypeManufacturerImpl.html +++ b/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/MapTypeManufacturerImpl.html @@ -1,127 +1,127 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/ShortTypeManufacturerImpl.html b/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/ShortTypeManufacturerImpl.html old mode 100644 new mode 100755 index 305962a27..d636b7f07 --- a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/ShortTypeManufacturerImpl.html +++ b/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/ShortTypeManufacturerImpl.html @@ -1,127 +1,127 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/StringTypeManufacturerImpl.html b/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/StringTypeManufacturerImpl.html old mode 100644 new mode 100755 index 40d86429f..ccfab7e82 --- a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/StringTypeManufacturerImpl.html +++ b/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/StringTypeManufacturerImpl.html @@ -1,127 +1,127 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/TypeManufacturer.html b/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/TypeManufacturer.html old mode 100644 new mode 100755 index af61c2b57..d22df66b8 --- a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/TypeManufacturer.html +++ b/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/TypeManufacturer.html @@ -1,306 +1,306 @@ - - - - - - -Package | -Description | -
---|---|
uk.co.jemos.podam.api | -
- This package contains PODAM main APIs
- |
-
uk.co.jemos.podam.typeManufacturers | -
- Contains Type Manufacturers.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private ConcurrentHashMap<Class<?>,TypeManufacturer<?>> |
-AbstractRandomDataProviderStrategy.typeManufacturers
-A mapping between types and their registered manufacturers
- |
-
Modifier and Type | -Method and Description | -
---|---|
<T> DataProviderStrategy |
-DataProviderStrategy.addOrReplaceTypeManufacturer(Class<? extends T> type,
- TypeManufacturer<T> typeManufacturer)
-Registers @TypeManufacturer implementation, which will be used to
- instantiate objects of a specified type.
- |
-
<T> DataProviderStrategy |
-AbstractRandomDataProviderStrategy.addOrReplaceTypeManufacturer(Class<? extends T> type,
- TypeManufacturer<T> typeManufacturer)
-Registers @TypeManufacturer implementation, which will be used to
- instantiate objects of a specified type.
- |
-
Modifier and Type | -Class and Description | -
---|---|
class |
-AbstractTypeManufacturer<T>
-Parent of all type manufacturer.
- |
-
class |
-ArrayTypeManufacturerImpl
-Default collection type manufacturer.
- |
-
class |
-BooleanTypeManufacturerImpl
-Default boolean type manufacturer.
- |
-
class |
-ByteTypeManufacturerImpl
-Default byte type manufacturer.
- |
-
class |
-CharTypeManufacturerImpl
-Default character type manufacturer.
- |
-
class |
-CollectionTypeManufacturerImpl
-Default collection type manufacturer.
- |
-
class |
-DoubleTypeManufacturerImpl
-Default double type manufacturer.
- |
-
class |
-EnumTypeManufacturerImpl
-Default Enum type manufacturer.
- |
-
class |
-FloatTypeManufacturerImpl
-Default float type manufacturer.
- |
-
class |
-GenericTypeManufacturerImpl
-Default byte type manufacturer.
- |
-
class |
-IntTypeManufacturerImpl
-Default int type manufacturer.
- |
-
class |
-LongTypeManufacturerImpl
-Default int type manufacturer.
- |
-
class |
-MapTypeManufacturerImpl
-Default collection type manufacturer.
- |
-
class |
-ShortTypeManufacturerImpl
-Default short type manufacturer.
- |
-
class |
-StringTypeManufacturerImpl
-Default String type manufacturer.
- |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Package | +Description | +
---|---|
uk.co.jemos.podam.api | +
+ This package contains PODAM main APIs
+ |
+
uk.co.jemos.podam.typeManufacturers | +
+ Contains Type Manufacturers.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
private ConcurrentHashMap<Class<?>,TypeManufacturer<?>> |
+AbstractRandomDataProviderStrategy.typeManufacturers
+A mapping between types and their registered manufacturers
+ |
+
Modifier and Type | +Method and Description | +
---|---|
<T> DataProviderStrategy |
+AbstractRandomDataProviderStrategy.addOrReplaceTypeManufacturer(Class<? extends T> type,
+ TypeManufacturer<T> typeManufacturer)
+Registers @TypeManufacturer implementation, which will be used to
+ instantiate objects of a specified type.
+ |
+
<T> DataProviderStrategy |
+DataProviderStrategy.addOrReplaceTypeManufacturer(Class<? extends T> type,
+ TypeManufacturer<T> typeManufacturer)
+Registers @TypeManufacturer implementation, which will be used to
+ instantiate objects of a specified type.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+AbstractTypeManufacturer<T>
+Parent of all type manufacturer.
+ |
+
class |
+ArrayTypeManufacturerImpl
+Default array type manufacturer.
+ |
+
class |
+BooleanTypeManufacturerImpl
+Default boolean type manufacturer.
+ |
+
class |
+ByteTypeManufacturerImpl
+Default byte type manufacturer.
+ |
+
class |
+CharTypeManufacturerImpl
+Default character type manufacturer.
+ |
+
class |
+CollectionTypeManufacturerImpl
+Default collection type manufacturer.
+ |
+
class |
+DoubleTypeManufacturerImpl
+Default double type manufacturer.
+ |
+
class |
+EnumTypeManufacturerImpl
+Default Enum type manufacturer.
+ |
+
class |
+FloatTypeManufacturerImpl
+Default float type manufacturer.
+ |
+
class |
+IntTypeManufacturerImpl
+Default int type manufacturer.
+ |
+
class |
+LongTypeManufacturerImpl
+Default long type manufacturer.
+ |
+
class |
+MapTypeManufacturerImpl
+Default map type manufacturer.
+ |
+
class |
+ShortTypeManufacturerImpl
+Default short type manufacturer.
+ |
+
class |
+StringTypeManufacturerImpl
+Default String type manufacturer.
+ |
+
class |
+TypeTypeManufacturerImpl
+Default generic type type manufacturer.
+ |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/TypeManufacturerParamsWrapper.html b/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/TypeManufacturerParamsWrapper.html deleted file mode 100644 index 5a1ff9fbf..000000000 --- a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/TypeManufacturerParamsWrapper.html +++ /dev/null @@ -1,264 +0,0 @@ - - - - - - -Package | -Description | -
---|---|
uk.co.jemos.podam.typeManufacturers | -
- Contains Type Manufacturers.
- |
-
Modifier and Type | -Method and Description | -
---|---|
<T extends TypeManufacturerParamsWrapper> |
-TypeManufacturer.getType(T wrapper)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
<T extends TypeManufacturerParamsWrapper> |
-GenericTypeManufacturerImpl.getType(T wrapper) |
-
Modifier and Type | -Method and Description | -
---|---|
protected void |
-AbstractTypeManufacturer.checkWrapperIsValid(TypeManufacturerParamsWrapper wrapper)
-Checks that the given wrapper is valid.
- |
-
String |
-StringTypeManufacturerImpl.getType(TypeManufacturerParamsWrapper wrapper)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
Short |
-ShortTypeManufacturerImpl.getType(TypeManufacturerParamsWrapper wrapper)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
Long |
-LongTypeManufacturerImpl.getType(TypeManufacturerParamsWrapper wrapper)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
Integer |
-IntTypeManufacturerImpl.getType(TypeManufacturerParamsWrapper wrapper)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
Float |
-FloatTypeManufacturerImpl.getType(TypeManufacturerParamsWrapper wrapper)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
Object |
-EnumTypeManufacturerImpl.getType(TypeManufacturerParamsWrapper wrapper)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
Double |
-DoubleTypeManufacturerImpl.getType(TypeManufacturerParamsWrapper wrapper)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
Character |
-CharTypeManufacturerImpl.getType(TypeManufacturerParamsWrapper wrapper)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
Byte |
-ByteTypeManufacturerImpl.getType(TypeManufacturerParamsWrapper wrapper)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
Boolean |
-BooleanTypeManufacturerImpl.getType(TypeManufacturerParamsWrapper wrapper)
-Returns a type value conforming to the annotations and the AttributeMetadata provided.
- |
-
Object |
-TypeMultiplexerImpl.getValueForType(TypeManufacturerParamsWrapper payload,
- Class<?> pojoType)
-Obtains a type value
- |
-
Object |
-TypeMultiplexer.getValueForType(TypeManufacturerParamsWrapper payload,
- Class<?> pojoType)
-Obtains a type value
- |
-
Copyright © 2016. All rights reserved.
- - diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/TypeManufacturerParamsWrapperForGenericTypes.html b/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/TypeManufacturerParamsWrapperForGenericTypes.html deleted file mode 100644 index bbef7198b..000000000 --- a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/TypeManufacturerParamsWrapperForGenericTypes.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/TypeManufacturerUtil.html b/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/TypeManufacturerUtil.html old mode 100644 new mode 100755 index e3dc2f4ed..541113fb8 --- a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/TypeManufacturerUtil.html +++ b/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/TypeManufacturerUtil.html @@ -1,127 +1,127 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/TypeMultiplexer.html b/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/TypeMultiplexer.html deleted file mode 100644 index 08c75a3f1..000000000 --- a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/TypeMultiplexer.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - - -Package | -Description | -
---|---|
uk.co.jemos.podam.api | -
- This package contains PODAM main APIs
- |
-
uk.co.jemos.podam.typeManufacturers | -
- Contains Type Manufacturers.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private TypeMultiplexer |
-PodamFactoryImpl.typeMultiplexer
-Type multiplexer mapping types to @TypeManufacturer
- |
-
Modifier and Type | -Class and Description | -
---|---|
class |
-TypeMultiplexerImpl
-Implementation of the type multiplexer
- |
-
Copyright © 2016. All rights reserved.
- - diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/TypeMultiplexerImpl.html b/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/TypeMultiplexerImpl.html deleted file mode 100644 index 546a03271..000000000 --- a/apidocs/uk/co/jemos/podam/typeManufacturers/class-use/TypeMultiplexerImpl.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/package-frame.html b/apidocs/uk/co/jemos/podam/typeManufacturers/package-frame.html old mode 100644 new mode 100755 index 07da6c537..2def009e1 --- a/apidocs/uk/co/jemos/podam/typeManufacturers/package-frame.html +++ b/apidocs/uk/co/jemos/podam/typeManufacturers/package-frame.html @@ -1,40 +1,40 @@ - - - - - - -Interface | -Description | -
---|---|
TypeManufacturer<T> | -
- Interface for a type manufacturer
- Created by tedonema on 17/05/2015.
- |
-
Class | -Description | -
---|---|
AbstractTypeManufacturer<T> | -
- Parent of all type manufacturer.
- |
-
ArrayTypeManufacturerImpl | -
- Default collection type manufacturer.
- |
-
BooleanTypeManufacturerImpl | -
- Default boolean type manufacturer.
- |
-
ByteTypeManufacturerImpl | -
- Default byte type manufacturer.
- |
-
CharTypeManufacturerImpl | -
- Default character type manufacturer.
- |
-
CollectionTypeManufacturerImpl | -
- Default collection type manufacturer.
- |
-
DoubleTypeManufacturerImpl | -
- Default double type manufacturer.
- |
-
EnumTypeManufacturerImpl | -
- Default Enum type manufacturer.
- |
-
FloatTypeManufacturerImpl | -
- Default float type manufacturer.
- |
-
GenericTypeManufacturerImpl | -
- Default byte type manufacturer.
- |
-
IntTypeManufacturerImpl | -
- Default int type manufacturer.
- |
-
LongTypeManufacturerImpl | -
- Default int type manufacturer.
- |
-
MapTypeManufacturerImpl | -
- Default collection type manufacturer.
- |
-
ShortTypeManufacturerImpl | -
- Default short type manufacturer.
- |
-
StringTypeManufacturerImpl | -
- Default String type manufacturer.
- |
-
TypeManufacturerUtil | -
- Type Manufacturer utility class.
- |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Interface | +Description | +
---|---|
TypeManufacturer<T> | +
+ Interface for a type manufacturer
+ Created by tedonema on 17/05/2015.
+ |
+
Class | +Description | +
---|---|
AbstractTypeManufacturer<T> | +
+ Parent of all type manufacturer.
+ |
+
ArrayTypeManufacturerImpl | +
+ Default array type manufacturer.
+ |
+
BooleanTypeManufacturerImpl | +
+ Default boolean type manufacturer.
+ |
+
ByteTypeManufacturerImpl | +
+ Default byte type manufacturer.
+ |
+
CharTypeManufacturerImpl | +
+ Default character type manufacturer.
+ |
+
CollectionTypeManufacturerImpl | +
+ Default collection type manufacturer.
+ |
+
DoubleTypeManufacturerImpl | +
+ Default double type manufacturer.
+ |
+
EnumTypeManufacturerImpl | +
+ Default Enum type manufacturer.
+ |
+
FloatTypeManufacturerImpl | +
+ Default float type manufacturer.
+ |
+
IntTypeManufacturerImpl | +
+ Default int type manufacturer.
+ |
+
LongTypeManufacturerImpl | +
+ Default long type manufacturer.
+ |
+
MapTypeManufacturerImpl | +
+ Default map type manufacturer.
+ |
+
ShortTypeManufacturerImpl | +
+ Default short type manufacturer.
+ |
+
StringTypeManufacturerImpl | +
+ Default String type manufacturer.
+ |
+
TypeManufacturerUtil | +
+ Type Manufacturer utility class.
+ |
+
TypeTypeManufacturerImpl | +
+ Default generic type type manufacturer.
+ |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/package-tree.html b/apidocs/uk/co/jemos/podam/typeManufacturers/package-tree.html old mode 100644 new mode 100755 index c1146b1f6..c22cdaaac --- a/apidocs/uk/co/jemos/podam/typeManufacturers/package-tree.html +++ b/apidocs/uk/co/jemos/podam/typeManufacturers/package-tree.html @@ -1,162 +1,162 @@ - - - - - - -Copyright © 2016. All rights reserved.
- - + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/apidocs/uk/co/jemos/podam/typeManufacturers/package-use.html b/apidocs/uk/co/jemos/podam/typeManufacturers/package-use.html old mode 100644 new mode 100755 index dbf31963c..8cb829c83 --- a/apidocs/uk/co/jemos/podam/typeManufacturers/package-use.html +++ b/apidocs/uk/co/jemos/podam/typeManufacturers/package-use.html @@ -1,194 +1,194 @@ - - - - - - -Package | -Description | -
---|---|
uk.co.jemos.podam.api | -
- This package contains PODAM main APIs
- |
-
uk.co.jemos.podam.typeManufacturers | -
- Contains Type Manufacturers.
- |
-
Class and Description | -
---|
TypeManufacturer
- Interface for a type manufacturer
- Created by tedonema on 17/05/2015.
- |
-
Class and Description | -
---|
AbstractTypeManufacturer
- Parent of all type manufacturer.
- |
-
TypeManufacturer
- Interface for a type manufacturer
- Created by tedonema on 17/05/2015.
- |
-
Copyright © 2016. All rights reserved.
- - + + + + + + +Package | +Description | +
---|---|
uk.co.jemos.podam.api | +
+ This package contains PODAM main APIs
+ |
+
uk.co.jemos.podam.typeManufacturers | +
+ Contains Type Manufacturers.
+ |
+
Class and Description | +
---|
TypeManufacturer
+ Interface for a type manufacturer
+ Created by tedonema on 17/05/2015.
+ |
+
Class and Description | +
---|
AbstractTypeManufacturer
+ Parent of all type manufacturer.
+ |
+
TypeManufacturer
+ Interface for a type manufacturer
+ Created by tedonema on 17/05/2015.
+ |
+
Copyright © 2023. All rights reserved.
+ +