org.hydrateframework.ejb.schema
Class Family
java.lang.Object
org.hydrateframework.gen.schema.SchemaElementBase
org.hydrateframework.gen.schema.Family
org.hydrateframework.ejb.schema.Family
- All Implemented Interfaces:
- SchemaElement
public class Family
- extends Family
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 |
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 |
Family
public Family()
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.