<$comment
EO Template for use by "eogenerator" based upon MiscMerge engine.
You may customize this file to modify the templates generated
by this tool.  See the MiscMerge documentation for a description
of the parsing language.  The engine gets passed this file and an
EOEntity to process, so the methods used must be ones that an
EOEntity can respond to.

BE SURE NOT TO INCLUDE DATES IN THIS FILE.  Since the "eogenerator"
tool tries to compare the newly generated file with the old file,
adding dates to this file will guarantee the old file gets
overridden by the new file, forcing a recompilation of your EO.$>
// <$GEN_PREFIX$><$clientClassNameWithoutPackage$>.java
// 
// Created by eogenerator
// DO NOT EDIT.  Make changes to <$clientClassNameWithoutPackage$>.java instead.

<$foreach package clientClassPackage do$>package <$package$>;

<$endforeach do
$>
import com.webobjects.foundation.*;
import com.webobjects.eocontrol.*;
import java.math.BigDecimal;
import java.util.*;

public abstract class <$GEN_PREFIX$><$clientClassNameWithoutPackage$> extends <$javaParentClientClassName$> {

    public <$GEN_PREFIX$><$clientClassNameWithoutPackage$>() {
        super();
    }
<$foreach attribute clientClassAttributes.@sortedNameArray do$>
    public <$attribute.javaValueClassName$> <$attribute.name$>() {
        return (<$attribute.javaValueClassName$>)storedValueForKey("<$attribute.name$>");
    }

    public void set<$attribute.name.initialCapitalString$>(<$attribute.javaValueClassName$> aValue) {
        takeStoredValueForKey(aValue, "<$attribute.name$>");
    }
<$endforeach do
$><$foreach ToOneRelationship clientClassToOneRelationships.@sortedNameArray do$>
    public <$ToOneRelationship.destinationEntity.referenceClientClassName$> <$ToOneRelationship.name$>() {
        return (<$ToOneRelationship.destinationEntity.referenceClientClassName$>)storedValueForKey("<$ToOneRelationship.name$>");
    }

    public void set<$ToOneRelationship.name.initialCapitalString$>(<$ToOneRelationship.destinationEntity.referenceClientClassName$> aValue) {
        takeStoredValueForKey(aValue, "<$ToOneRelationship.name$>");
    }
<$endforeach do
$><$foreach ToManyRelationship clientClassToManyRelationships.@sortedNameArray do$>
    public NSArray <$ToManyRelationship.name$>() {
        return (NSArray)storedValueForKey("<$ToManyRelationship.name$>");
    }

    public void set<$ToManyRelationship.name.initialCapitalString$>(NSArray aValue) {
        takeStoredValueForKey(aValue, "<$ToManyRelationship.name$>");
    }

    public void addTo<$ToManyRelationship.name.initialCapitalString$>(<$ToManyRelationship.destinationEntity.referenceClientClassName$> object) {
        includeObjectIntoPropertyWithKey(object, "<$ToManyRelationship.name$>");
    }

    public void removeFrom<$ToManyRelationship.name.initialCapitalString$>(<$ToManyRelationship.destinationEntity.referenceClientClassName$> object) {
        excludeObjectFromPropertyWithKey(object, "<$ToManyRelationship.name$>");
    }
<$endforeach do$>}