public class ToOne
extends java.lang.Object
Type | Property and Description |
---|---|
boolean |
isUseFk |
Constructor and Description |
---|
ToOne(Schema schema,
Entity sourceEntity,
Entity targetEntity,
Property[] fkProperties,
boolean useFkProperty) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkUseEquals(PropertyType propertyType) |
Property[] |
getFkProperties() |
java.lang.String |
getName() |
java.lang.String[] |
getResolvedKeyJavaType() |
boolean[] |
getResolvedKeyUseEquals() |
Entity |
getSourceEntity() |
Entity |
getTargetEntity() |
boolean |
isUseFkProperty() |
void |
setName(java.lang.String name)
Sets the name of the relation, which is used as the property name in the entity (the source entity owning the
to-many relationship).
|
java.lang.String |
toString() |
public Entity getSourceEntity()
public Entity getTargetEntity()
public Property[] getFkProperties()
public java.lang.String[] getResolvedKeyJavaType()
public boolean[] getResolvedKeyUseEquals()
public java.lang.String getName()
public void setName(java.lang.String name)
public boolean isUseFkProperty()
protected boolean checkUseEquals(PropertyType propertyType)
public java.lang.String toString()
toString
in class java.lang.Object
Available under the GPLv3 - Copyright © 2011-2015 greenrobot.de. All Rights Reserved.