org.springframework.datastore.mapping.types
Class ToOne<T>
java.lang.Object
org.springframework.datastore.mapping.AbstractPersistentProperty
org.springframework.datastore.mapping.types.Association<T>
org.springframework.datastore.mapping.types.ToOne<T>
- All Implemented Interfaces:
- PersistentProperty
- Direct Known Subclasses:
- ManyToOne, OneToOne
public abstract class ToOne<T>
- extends Association<T>
- Since:
- 1.1
Methods inherited from class org.springframework.datastore.mapping.types.Association |
doesCascade, getAssociatedEntity, getCascadeOperations, getFetchStrategy, getInverseSide, getReferencedPropertyName, isBidirectional, isList, isOwningSide, setAssociatedEntity, setFetchStrategy, setOwningSide, setReferencedPropertyName, toString |
ToOne
public ToOne(PersistentEntity owner,
MappingContext context,
PropertyDescriptor descriptor)
ToOne
public ToOne(PersistentEntity owner,
MappingContext context,
String name,
Class type)
setForeignKeyInChild
public void setForeignKeyInChild(boolean foreignKeyInChild)
isForeignKeyInChild
public boolean isForeignKeyInChild()