Class ClassTransformation
java.lang.Object
com.broadleafcommerce.common.extension.ltw.ClassTransformation
Configuration related to a unit of work for one or more
ClassTransformationInjector
instances. The class referred to in the template field is reviewed for information interesting to
the injector, and the injector will use that information to redefine the target class. For
example, This can be something simple like copying all field annotations to the same named fields
in the target class.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanFully qualified name of the target class that will receive class information sourced from the template class.Fully qualified name of the template class containing the class information to source for transformation of the target class.inthashCode()booleanWhether annotations should be transformed during redefinition.voidFully qualified name of the target class that will receive class information sourced from the template class.voidsetTemplate(String template) Fully qualified name of the template class containing the class information to source for transformation of the target class.voidsetTransformAnnotations(boolean transformAnnotations) Whether annotations should be transformed during redefinition.toString()
-
Constructor Details
-
ClassTransformation
public ClassTransformation()
-
-
Method Details
-
getTemplate
Fully qualified name of the template class containing the class information to source for transformation of the target class. -
getTarget
Fully qualified name of the target class that will receive class information sourced from the template class. -
isTransformAnnotations
public boolean isTransformAnnotations()Whether annotations should be transformed during redefinition. Generally relates to work performed byAnnotationClassTransformationInjector. -
setTemplate
Fully qualified name of the template class containing the class information to source for transformation of the target class. -
setTarget
Fully qualified name of the target class that will receive class information sourced from the template class. -
setTransformAnnotations
public void setTransformAnnotations(boolean transformAnnotations) Whether annotations should be transformed during redefinition. Generally relates to work performed byAnnotationClassTransformationInjector. -
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-