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, setParentEntity
public OCanonicalRelationship(OEntity foreignEntity, OEntity parentEntity, OForeignKey foreignKey, OPrimaryKey primaryKey)
public List<OAttribute> getFromColumns()
getFromColumns
in class ORelationship
public List<OAttribute> getToColumns()
getToColumns
in class ORelationship
public OForeignKey getForeignKey()
public void setForeignKey(OForeignKey foreignKey)
public OPrimaryKey getPrimaryKey()
public void setPrimaryKey(OPrimaryKey primaryKey)
Copyright © 2015–2022 OrientDB. All rights reserved.