
public class OCanonicalRelationship extends ORelationship
direction, foreignEntity, parentEntity| Constructor and Description |
|---|
OCanonicalRelationship(OEntity foreignEntity,
OEntity parentEntity) |
OCanonicalRelationship(OEntity foreignEntity,
OEntity parentEntity,
OForeignKey foreignKey,
OPrimaryKey primaryKey) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
OForeignKey |
getForeignKey() |
List<OAttribute> |
getFromColumns() |
OPrimaryKey |
getPrimaryKey() |
List<OAttribute> |
getToColumns() |
void |
setForeignKey(OForeignKey foreignKey) |
void |
setPrimaryKey(OPrimaryKey primaryKey) |
String |
toString() |
getDirection, getForeignEntity, getParentEntity, hashCode, setDirection, setForeignEntity, setParentEntitypublic OCanonicalRelationship(OEntity foreignEntity, OEntity parentEntity, OForeignKey foreignKey, OPrimaryKey primaryKey)
public List<OAttribute> getFromColumns()
getFromColumns in class ORelationshippublic List<OAttribute> getToColumns()
getToColumns in class ORelationshippublic OForeignKey getForeignKey()
public void setForeignKey(OForeignKey foreignKey)
public OPrimaryKey getPrimaryKey()
public void setPrimaryKey(OPrimaryKey primaryKey)
Copyright © 2015–2022 OrientDB. All rights reserved.