Package | Description |
---|---|
org.apache.torque.generator.control |
This package implements the torque generator Controller .
|
org.apache.torque.generator.source.transform |
This package contains the definition of source transformers
and some implementations.
|
org.apache.torque.generator.source.transform.model |
This package provides the ability to create a typed source model.
|
Modifier and Type | Method and Description |
---|---|
Object |
Controller.transformSource(Object sourceRoot,
List<SourceTransformerDefinition> transformerDefinitions,
ControllerState controllerState)
Applies all transformer definitions to the current source.
|
Modifier and Type | Method and Description |
---|---|
protected static Object |
SourceElementToModelTransformer.getInstance(String className,
UnitConfiguration unitConfiguration)
Creates an instance of a class.
|
Object |
AttributeTransformer.transform(Object toTransform,
ControllerState controllerState)
Adds attributes to the sourceElement according to the
transformDefinition.
|
SourceElement |
BeanPropertyMethodNameTransformer.transform(Object rootObject,
ControllerState controllerState)
Fills the target attribute according to the settings.
|
SourceElement |
CopyAttributeTransformer.transform(Object rootObject,
ControllerState controllerState)
Fills the target attribute according to the settings.
|
SourceElement |
GetterSetterNameTransformer.transform(Object rootObject,
ControllerState controllerState)
Fills the target attributes according to the settings.
|
SourceElement |
LoadAdditionalSourceTransformer.transform(Object rootObject,
ControllerState controllerState)
Loads the additional source into the current source graph.
|
Object |
LoadAllSourceFilesTransformer.transform(Object rootObject,
ControllerState controllerState)
Loads the additional source into the current source graph.
|
Object |
SourceElementToModelTransformer.transform(Object modelRoot,
ControllerState controllerState) |
abstract Object |
SourceTargetAttributeTransformer.transform(Object toTransformRoot,
ControllerState controllerState)
Performs the transformation.
|
Object |
SourceTransformer.transform(Object modelRoot,
ControllerState controllerState)
Transforms one source root into another source root.
|
Constructor and Description |
---|
AttributeTransformer(Reader transformDefinition)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
NoSuchPropertyException
Indicates that an attempt was made to access a property which does not exist.
|
class |
PropertyNotReadableException
Indicates that an attempt was made to read a property which is not readable.
|
class |
PropertyNotWriteableException
Indicates that an attempt was made to write a property which is not
writeable.
|
Modifier and Type | Method and Description |
---|---|
Object |
PropertyAccess.getProperty()
Returns the value of the property.
|
void |
PropertyAccess.setProperty(Object value)
Sets the property on the target object to a given value.
|
void |
PropertyAccess.setPropertyStrict(Object value)
Sets the property on the target object to a given value.
|
Constructor and Description |
---|
PropertyAccess(Object target,
String propertyName)
Constructs a reflection access to a property of an object.
|
PropertyAccess(Object target,
String propertyName,
List<String> prefixList,
List<String> suffixList)
Constructs a reflection access to a property of an object.
|
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.