Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.objectstyle.cayenne.project
Class NamedObjectFactory.DbEntityFactory  view NamedObjectFactory.DbEntityFactory download NamedObjectFactory.DbEntityFactory.java

java.lang.Object
  extended byorg.objectstyle.cayenne.project.NamedObjectFactory
      extended byorg.objectstyle.cayenne.project.NamedObjectFactory.DbEntityFactory
Direct Known Subclasses:
NamedObjectFactory.DerivedDbEntityFactory
Enclosing class:
NamedObjectFactory

static class NamedObjectFactory.DbEntityFactory
extends NamedObjectFactory


Nested Class Summary
 
Nested classes inherited from class org.objectstyle.cayenne.project.NamedObjectFactory
NamedObjectFactory.DataDomainFactory, NamedObjectFactory.DataMapFactory, NamedObjectFactory.DataNodeFactory, NamedObjectFactory.DbAttributeFactory, NamedObjectFactory.DbEntityFactory, NamedObjectFactory.DbRelationshipFactory, NamedObjectFactory.DerivedDbAttributeFactory, NamedObjectFactory.DerivedDbEntityFactory, NamedObjectFactory.ObjAttributeFactory, NamedObjectFactory.ObjEntityFactory, NamedObjectFactory.ObjRelationshipFactory, NamedObjectFactory.ProcedureFactory, NamedObjectFactory.ProcedureParameterFactory
 
Field Summary
 
Fields inherited from class org.objectstyle.cayenne.project.NamedObjectFactory
 
Constructor Summary
(package private) NamedObjectFactory.DbEntityFactory()
           
 
Method Summary
protected  java.lang.Object create(java.lang.String name, java.lang.Object namingContext)
          Internal factory method.
protected  boolean isNameInUse(java.lang.String name, java.lang.Object namingContext)
          Checks if the name is already taken by another sibling in the same context.
protected  java.lang.String nameBase()
          Returns a base default name, like "UntitledEntity", etc.
 
Methods inherited from class org.objectstyle.cayenne.project.NamedObjectFactory
createName, createObject, createRelationship, makeName, makeObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamedObjectFactory.DbEntityFactory

NamedObjectFactory.DbEntityFactory()
Method Detail

nameBase

protected java.lang.String nameBase()
Description copied from class: NamedObjectFactory
Returns a base default name, like "UntitledEntity", etc.

Specified by:
nameBase in class NamedObjectFactory

create

protected java.lang.Object create(java.lang.String name,
                                  java.lang.Object namingContext)
Description copied from class: NamedObjectFactory
Internal factory method. Invoked after the name is figured out.

Specified by:
create in class NamedObjectFactory

isNameInUse

protected boolean isNameInUse(java.lang.String name,
                              java.lang.Object namingContext)
Description copied from class: NamedObjectFactory
Checks if the name is already taken by another sibling in the same context.

Specified by:
isNameInUse in class NamedObjectFactory