EOModeler Class Reference

Inherits com::webobjects::appserver::WOComponent.

Collaboration diagram for EOModeler:

Collaboration graph
[legend]

List of all members.

Public Member Functions

WOComponent addAttribute ()
EOAttribute addAttributeNamed (EOEntity entity, String name, EOAttribute prototype)
void addBackRelationship (EOEntity selectedEntity, EOEntity targetEntity, EOAttribute foreignAttribute, boolean isToMany, boolean addBack)
WOComponent addBackToManyRelationship ()
WOComponent addBackToOneRelationship ()
WOComponent addEntity ()
EOEntity addEntityWithName (EOModel model, String entityName)
WOComponent addFlattenedManyToManyRelationship ()
EOEntity addFlattenedManyToManyRelationship (EOEntity selectedEntity, EOEntity targetEntity)
EORelationship addFlattenedRelationshipWithNamePathToEntity (String name, String path, EOEntity entity)
WOComponent addManyToManyRelationship ()
EOEntity addManyToManyRelationship (EOEntity selectedEntity, EOEntity targetEntity)
void addRelationship (EOAttribute foreignAttribute, boolean isToMany, boolean addBack)
void addRelationship (EOEntity selectedEntity, EOEntity targetEntity, EOAttribute foreignAttribute, boolean isToMany, boolean addBack)
WOComponent addToManyRelationship ()
WOComponent addToManyWithBackRelationship ()
WOComponent addToOneRelationship ()
WOComponent addToOneWithBackRelationship ()
boolean attributeHasRelationships ()
boolean attributeIsClassProperty ()
boolean attributeIsPrimaryKey ()
String attributeName ()
EOAttribute attributePrototype ()
NSArray attributesUsedInRelationships ()
void awake ()
String entityName ()
 EOModeler (WOContext context)
String modelPath ()
boolean relationshipIsClassProperty ()
boolean relationshipIsToMany ()
String relationshipName ()
WOComponent removeAttribute ()
WOComponent removeEntity ()
WOComponent removeRelationship ()
WOComponent selectDestinationEntity ()
String selectedEntityString ()
WOComponent selectEntity ()
void setAttributeIsClassProperty (boolean value)
void setAttributeName (String value)
void setAttributePrototype (EOAttribute value)
void setEntityName (String name)
void setModelPath (String value)
void setRelationshipIsClassProperty (boolean value)
void setRelationshipIsToMany (boolean value)
void setRelationshipName (String value)
WOComponent update ()
void updateClassProperties (EOEntity entity, Object o, boolean add)

Public Attributes

EOAttribute attribute
NSArray attributesUsedInRelationships
EOEntity destinationEntity
EOEntity entity
String entityName = "NewEntity"
EOModel model
EOModelGroup modelGroup
EOAttribute prototype
EOEntity prototypes
EORelationship relationship
EOEntity selectedEntity
boolean showTableNames = false
String sql
EOEntity subEntity
EOEntity targetEntity

Protected Attributes

String modelPath

Static Private Attributes

static final Logger log = Logger.getLogger(EOModeler.class)


Detailed Description

Class for Component EOModeler.

sample sample binding explanation

ak on Fri Jul 26 2002 DevStudio


Constructor & Destructor Documentation

EOModeler ( WOContext  context  ) 

Public constructor.

Parameters:
context the context


Member Function Documentation

WOComponent addAttribute (  ) 

EOAttribute addAttributeNamed ( EOEntity  entity,
String  name,
EOAttribute  prototype 
)

void addBackRelationship ( EOEntity  selectedEntity,
EOEntity  targetEntity,
EOAttribute  foreignAttribute,
boolean  isToMany,
boolean  addBack 
)

WOComponent addBackToManyRelationship (  ) 

WOComponent addBackToOneRelationship (  ) 

WOComponent addEntity (  ) 

EOEntity addEntityWithName ( EOModel  model,
String  entityName 
)

WOComponent addFlattenedManyToManyRelationship (  ) 

EOEntity addFlattenedManyToManyRelationship ( EOEntity  selectedEntity,
EOEntity  targetEntity 
)

EORelationship addFlattenedRelationshipWithNamePathToEntity ( String  name,
String  path,
EOEntity  entity 
)

WOComponent addManyToManyRelationship (  ) 

EOEntity addManyToManyRelationship ( EOEntity  selectedEntity,
EOEntity  targetEntity 
)

void addRelationship ( EOAttribute  foreignAttribute,
boolean  isToMany,
boolean  addBack 
)

void addRelationship ( EOEntity  selectedEntity,
EOEntity  targetEntity,
EOAttribute  foreignAttribute,
boolean  isToMany,
boolean  addBack 
)

WOComponent addToManyRelationship (  ) 

WOComponent addToManyWithBackRelationship (  ) 

WOComponent addToOneRelationship (  ) 

WOComponent addToOneWithBackRelationship (  ) 

boolean attributeHasRelationships (  ) 

boolean attributeIsClassProperty (  ) 

boolean attributeIsPrimaryKey (  ) 

String attributeName (  ) 

EOAttribute attributePrototype (  ) 

void awake (  ) 

String entityName (  ) 

String modelPath (  ) 

boolean relationshipIsClassProperty (  ) 

boolean relationshipIsToMany (  ) 

String relationshipName (  ) 

WOComponent removeAttribute (  ) 

WOComponent removeEntity (  ) 

WOComponent removeRelationship (  ) 

WOComponent selectDestinationEntity (  ) 

String selectedEntityString (  ) 

WOComponent selectEntity (  ) 

void setAttributeIsClassProperty ( boolean  value  ) 

void setAttributeName ( String  value  ) 

void setAttributePrototype ( EOAttribute  value  ) 

void setEntityName ( String  name  ) 

void setModelPath ( String  value  ) 

void setRelationshipIsClassProperty ( boolean  value  ) 

void setRelationshipIsToMany ( boolean  value  ) 

void setRelationshipName ( String  value  ) 

WOComponent update (  ) 

void updateClassProperties ( EOEntity  entity,
Object  o,
boolean  add 
)


Member Data Documentation

EOAttribute attribute

EOEntity entity

String entityName = "NewEntity"

final Logger log = Logger.getLogger(EOModeler.class) [static, private]

logging support

EOModel model

EOModelGroup modelGroup

String modelPath [protected]

EOAttribute prototype

EOEntity prototypes

EORelationship relationship

EOEntity selectedEntity

boolean showTableNames = false

EOEntity subEntity

EOEntity targetEntity


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:42:29 2012 for Project Wonder by  doxygen 1.5.8