public class EntityRelationshipDef extends SchemaPart implements Cloneable, SchemaProblemsSupplier
internalId, internalName, log, TIMESTAMP_FORMATSERIALIZED_CLASS_NAME, TYPEXML_SERIALIZED_CLASS_NAME| Constructor and Description |
|---|
EntityRelationshipDef() |
EntityRelationshipDef(String name) |
getSchemaName, getSchemaPartContainerName, getSchemaPartContainerTypeaddExceptionProperties, assertValid, assertValid, exception, exception, exception, getInternalId, getInternalName, resetInternalIdfinalize, getClass, notify, notifyAll, wait, wait, waitgetSchemaProblems, getSchemaProblemsfromArrayValue, fromArrayValue, fromArrayValue, fromJson, fromJson, newInstanceFromRecord, newInstanceFromRecord, toArrayValue, toJson, toJson, toJson, toRecordnewInstanceFromJsonforEachGrandChildElement, fromXml, fromXml, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getChildElement, getChildElements, newInstanceFromXml, newInstanceFromXml, setAttribute, toXml, toXml, toXml, toXml, toXml, writeXml, writeXmladdExceptionProperties, contributeExceptionProperties, contributeExceptionPropertiespublic EntityRelationshipDef()
public EntityRelationshipDef(String name)
public void getSchemaProblems(List<SchemaProblem> problems, boolean includeChildren)
getSchemaProblems in interface SchemaProblemsSupplierpublic EntityRelationshipDef clone()
clone in class FoundationObjectpublic void generateJavaCode(JavaCodeBuilder code)
generateJavaCode in interface JavaCodeGeneratorpublic SchemaDef getSchemaDef()
getSchemaDef in class SchemaPartprotected EntityRelationshipDef setSchemaDef(SchemaDef schemaDef)
public SchemaPart getSchemaPartContainer()
getSchemaPartContainer in class SchemaPartpublic SchemaPartType getSchemaPartType()
getSchemaPartType in class SchemaPartpublic String getSchemaPartName()
getSchemaPartName in class SchemaPartpublic String getName()
public EntityRelationshipDef setName(String name)
public String getQualifiedName()
public String getDescription()
public EntityRelationshipDef setDescription(String description)
public RelationshipCardinality getCardinality()
public EntityRelationshipDef setCardinality(RelationshipCardinality cardinality)
public String getPrimaryEntityName()
public EntityRelationshipDef setPrimaryEntityName(String primaryEntityName)
public EntityDef getPrimaryEntity()
public String getForeignEntityName()
public EntityRelationshipDef setForeignEntityName(String foreignEntityName)
public EntityDef getForeignEntity()
public boolean containsForeignKeyFieldName(String name)
public EntityRelationshipDef setForeignKeyFieldNames(List<String> foreignKeyFieldNames)
public EntityRelationshipDef setForeignKeyFieldNames(String... foreignKeyFieldNames)
public EntityRelationshipDef addForeignKeyFieldNames(String foreignKeyFieldName)
public ForeignKeyAction getOnUpdateAction()
public EntityRelationshipDef setOnUpdateAction(ForeignKeyAction onUpdateAction)
public ForeignKeyAction getOnDeleteAction()
public EntityRelationshipDef setOnDeleteAction(ForeignKeyAction onDeleteAction)
public int indexOfForeignKeyFieldName(String name)
public Attributes getAttributes()
public EntityRelationshipDef setAttributes(Attributes attributes)
public Tags getTags()
public EntityRelationshipDef setTags(Tags tags)
public Element toXmlElement(Document document)
toXmlElement in interface XmlSerializablepublic EntityRelationshipDef fromXmlElement(Element entityRelationShipDefElement)
fromXmlElement in interface XmlSerializablepublic Record toRecord()
toRecord in interface RecordSerializabletoRecord in class Beanpublic EntityRelationshipDef fromRecord(Record source)
RecordSerializablethis (for fluid API call chaining).
For fluid API call chaining, the overridden method should change the declared return type to its class.fromRecord in interface RecordSerializablefromRecord in class BeanCopyright (c) 2006-2025 North Concepts Inc. All Rights Reserved.