public class OneToMany extends Object implements Value
| Constructor and Description |
|---|
OneToMany(MetadataBuildingContext buildingContext,
PersistentClass owner) |
OneToMany(MetadataImplementor metadata,
PersistentClass owner)
Deprecated.
Use
OneToMany(MetadataBuildingContext, PersistentClass) instead. |
@Deprecated public OneToMany(MetadataImplementor metadata, PersistentClass owner) throws MappingException
OneToMany(MetadataBuildingContext, PersistentClass) instead.MappingExceptionpublic OneToMany(MetadataBuildingContext buildingContext, PersistentClass owner) throws MappingException
MappingExceptionpublic ServiceRegistry getServiceRegistry()
getServiceRegistry in interface Valuepublic PersistentClass getAssociatedClass()
public void setAssociatedClass(PersistentClass associatedClass)
public void createForeignKey()
createForeignKey in interface Valuepublic Iterator<Selectable> getColumnIterator()
getColumnIterator in interface Valuepublic int getColumnSpan()
getColumnSpan in interface Valuepublic FetchMode getFetchMode()
getFetchMode in interface Valuepublic Table getTable()
public boolean isNullable()
isNullable in interface Valuepublic boolean isSimpleValue()
isSimpleValue in interface Valuepublic boolean isAlternateUniqueKey()
isAlternateUniqueKey in interface Valuepublic boolean hasFormula()
hasFormula in interface Valuepublic boolean isValid(Mapping mapping) throws MappingException
isValid in interface ValueMappingExceptionpublic String getReferencedEntityName()
public void setReferencedEntityName(String referencedEntityName)
public void setTypeUsingReflection(String className, String propertyName)
setTypeUsingReflection in interface Valuepublic Object accept(ValueVisitor visitor)
public boolean isSame(OneToMany other)
public boolean[] getColumnInsertability()
getColumnInsertability in interface Valuepublic boolean[] getColumnUpdateability()
getColumnUpdateability in interface Valuepublic boolean isIgnoreNotFound()
public void setIgnoreNotFound(boolean ignoreNotFound)
Copyright © 2001-2022 Red Hat, Inc. All Rights Reserved.