org.hydrateframework.ejb.schema
Class Family

java.lang.Object
  extended by org.hydrateframework.gen.schema.SchemaElementBase
      extended by org.hydrateframework.gen.schema.Family
          extended by org.hydrateframework.ejb.schema.Family
All Implemented Interfaces:
SchemaElement

public class Family
extends Family


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.hydrateframework.gen.schema.SchemaElement
SchemaElement.HighlightType
 
Field Summary
 
Fields inherited from class org.hydrateframework.gen.schema.Family
classDefs, comment, name, namespace, relationships, revision, tablespace, types, url
 
Fields inherited from class org.hydrateframework.gen.schema.SchemaElementBase
ATTR_MANDATORY, ATTR_MANDATORYNOOVR, ATTR_NOOVR, ATTR_OPTIONAL, ATTR_OPTIONALNOOVR, BOOL_FALSE, BOOL_NOT, BOOL_NOTSET, BOOL_TRUE, NAME, valid
 
Constructor Summary
Family()
           
 
Method Summary
 void addClassDef(ClassDef def)
           
 void addRelationship(Relationship rel)
           
 java.lang.Class getAttributeClass()
           
 java.lang.Class getClassDefClass()
           
 java.lang.Class getEnumerationClass()
           
 java.lang.String getFQJavaName()
           
 java.lang.Class getKeyClass()
           
 boolean readFromURL(java.net.URL url)
          Read a family definition from a file.
 void setJavaPackageName(java.lang.String nm)
           
 
Methods inherited from class org.hydrateframework.gen.schema.Family
addClassDef, addEnumeration, addType, findClassDef, findRelationship, findType, findXMLSchema, getClassDefs, getComment, getComparatorClass, getDataService, getDefaultTablespace, getEnumerations, getFamilyElementName, getHighlightType, getIncludedFamilies, getIncludedIn, getInUseClassDefs, getJavaDir, getJavaName, getJavaPackageName, getMethodClass, getName, getNamingPolicy, getNextDefPosition, getOverrides, getProperty, getRelationshipClass, getRelationships, getRevision, getTypes, getURL, getXMLSchemaClass, getXMLSchemaElementClass, getXMLSchemas, isValid, notifyUpdate, override, readFromXmlDoc, readTypes, reloadFile, resolve, setIncludedIn, setName, setProperties, setURL, shouldWrite, toString, toSummary, writeToXmlDoc
 
Methods inherited from class org.hydrateframework.gen.schema.SchemaElementBase
addBoolAttribute, addEnumAttribute, addIntAttribute, addListAttribute, addStringAttribute, isValidIdentifier, newElement, printAttrWarning, printWarning, readBoolAttribute, readEnumAttribute, readIntAttribute, readListAttribute, readStringAttribute, refEquals, supersedes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Family

public Family()
Method Detail

setJavaPackageName

public void setJavaPackageName(java.lang.String nm)

addRelationship

public void addRelationship(Relationship rel)

addClassDef

public void addClassDef(ClassDef def)

getClassDefClass

public java.lang.Class getClassDefClass()
Overrides:
getClassDefClass in class Family

getEnumerationClass

public java.lang.Class getEnumerationClass()
Overrides:
getEnumerationClass in class Family

getAttributeClass

public java.lang.Class getAttributeClass()
Overrides:
getAttributeClass in class Family

getKeyClass

public java.lang.Class getKeyClass()
Overrides:
getKeyClass in class Family

getFQJavaName

public java.lang.String getFQJavaName()

readFromURL

public boolean readFromURL(java.net.URL url)
Read a family definition from a file. This method may be called recursively to load included families. is at the top of the stack, the file it was included from is next, etc.

Overrides:
readFromURL in class Family
Parameters:
file - the file to read
Returns:


Copyright © 2000 The Hydrate Project. All Rights Reserved.