Transfer version 1.1

transfer.com.dynamic.definition
Class PropertyWriter

WEB-INF.cftags.component
        extended by transfer.com.dynamic.definition.AbstractBaseWriter
            extended by transfer.com.dynamic.definition.PropertyWriter

public class PropertyWriter
extends AbstractBaseWriter

Writes out the property definitions


Constructor Summary
init(ObjectManager objectManager)
          Constructor
 
Method Summary
private void writeCompositeKeyGetter(DefinitionBuffer buffer, CompositeKey compositekey)
          writes the coposite key getter
private void writeGetIsNull(DefinitionBuffer buffer, Property property)
          Writes the get()IsNull on the object
private void writeGetter(DefinitionBuffer buffer, Property property)
          Writes the getter for a property
 void writePrimaryKey(DefinitionBuffer buffer, Object object)
          Writes the ID property getter and setters
 void writeProperties(DefinitionBuffer buffer, Object object)
          Writes out the properties to the definition
private void writeSetNull(DefinitionBuffer buffer, Property property)
          Writes the set()Null on the object
private void writeSetter(DefinitionBuffer buffer, Property property)
          Writes the setter for a property
 
Methods inherited from class transfer.com.dynamic.definition.AbstractBaseWriter
getObjectManager, q, setObjectManager, throw
 
Methods inherited from class WEB-INF.cftags.component
 

Constructor Detail

init

public init(ObjectManager objectManager)
Constructor

Parameters:
objectManager - The Object Manager
Method Detail

writeCompositeKeyGetter

private void writeCompositeKeyGetter(DefinitionBuffer buffer, CompositeKey compositekey)
writes the coposite key getter

Parameters:
buffer - The Buffer that the defintion file is being set in
compositekey - the composite key meta

writeGetIsNull

private void writeGetIsNull(DefinitionBuffer buffer, Property property)
Writes the get()IsNull on the object

Parameters:
buffer - The Buffer that the defintion file is being set in
property - The property to write the getIsnull for for

writeGetter

private void writeGetter(DefinitionBuffer buffer, Property property)
Writes the getter for a property

Parameters:
buffer - The Buffer that the defintion file is being set in
property - The property to write the getter for

writePrimaryKey

public void writePrimaryKey(DefinitionBuffer buffer, Object object)
Writes the ID property getter and setters

Parameters:
buffer - The Buffer that the defintion file is being set in
object - BO of the Object

writeProperties

public void writeProperties(DefinitionBuffer buffer, Object object)
Writes out the properties to the definition

Parameters:
buffer - The Buffer that the defintion file is being set in
object - BO of the Object

writeSetNull

private void writeSetNull(DefinitionBuffer buffer, Property property)
Writes the set()Null on the object

Parameters:
buffer - The Buffer that the defintion file is being set in
property - The property to write the null for for

writeSetter

private void writeSetter(DefinitionBuffer buffer, Property property)
Writes the setter for a property

Parameters:
buffer - The Buffer that the defintion file is being set in
property - The property to write the getter for

Transfer version 1.1