Package org.apache.juneau.bean.swagger
Class SwaggerCopyUtils
java.lang.Object
org.apache.juneau.commons.utils.CopyUtils
org.apache.juneau.bean.swagger.SwaggerCopyUtils
Copy utilities for the Swagger 2.0 bean module.
Extends CopyUtils so that a single static-import-on-demand of this class
(
See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ContactNull-safe copy: returns a deep copy of the specified value, ornull if the value isnull .static ExternalDocumentationcopyOf(ExternalDocumentation value) Null-safe copy: returns a deep copy of the specified value, ornull if the value isnull .static InfoNull-safe copy: returns a deep copy of the specified value, ornull if the value isnull .static ItemsNull-safe copy: returns a deep copy of the specified value, ornull if the value isnull .static LicenseNull-safe copy: returns a deep copy of the specified value, ornull if the value isnull .static SchemaInfocopyOf(SchemaInfo value) Null-safe copy: returns a deep copy of the specified value, ornull if the value isnull .static XmlNull-safe copy: returns a deep copy of the specified value, ornull if the value isnull .
-
Constructor Details
-
SwaggerCopyUtils
protected SwaggerCopyUtils()Constructor.
-
-
Method Details
-
copyOf
Null-safe copy: returns a deep copy of the specified value, ornull if the value isnull .- Parameters:
value- The value to copy. Can benull (returnsnull ).- Returns:
- A copy of the value, or
null if the value wasnull .
-
copyOf
Null-safe copy: returns a deep copy of the specified value, ornull if the value isnull .- Parameters:
value- The value to copy. Can benull (returnsnull ).- Returns:
- A copy of the value, or
null if the value wasnull .
-
copyOf
Null-safe copy: returns a deep copy of the specified value, ornull if the value isnull .- Parameters:
value- The value to copy. Can benull (returnsnull ).- Returns:
- A copy of the value, or
null if the value wasnull .
-
copyOf
Null-safe copy: returns a deep copy of the specified value, ornull if the value isnull .- Parameters:
value- The value to copy. Can benull (returnsnull ).- Returns:
- A copy of the value, or
null if the value wasnull .
-
copyOf
Null-safe copy: returns a deep copy of the specified value, ornull if the value isnull .- Parameters:
value- The value to copy. Can benull (returnsnull ).- Returns:
- A copy of the value, or
null if the value wasnull .
-
copyOf
Null-safe copy: returns a deep copy of the specified value, ornull if the value isnull .- Parameters:
value- The value to copy. Can benull (returnsnull ).- Returns:
- A copy of the value, or
null if the value wasnull .
-
copyOf
Null-safe copy: returns a deep copy of the specified value, ornull if the value isnull .- Parameters:
value- The value to copy. Can benull (returnsnull ).- Returns:
- A copy of the value, or
null if the value wasnull .
-