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.MappingException
public OneToMany(MetadataBuildingContext buildingContext, PersistentClass owner) throws MappingException
MappingException
public ServiceRegistry getServiceRegistry()
getServiceRegistry
in interface Value
public PersistentClass getAssociatedClass()
public void setAssociatedClass(PersistentClass associatedClass)
public void createForeignKey()
createForeignKey
in interface Value
public Iterator<Selectable> getColumnIterator()
getColumnIterator
in interface Value
public int getColumnSpan()
getColumnSpan
in interface Value
public FetchMode getFetchMode()
getFetchMode
in interface Value
public Table getTable()
public boolean isNullable()
isNullable
in interface Value
public boolean isSimpleValue()
isSimpleValue
in interface Value
public boolean isAlternateUniqueKey()
isAlternateUniqueKey
in interface Value
public boolean hasFormula()
hasFormula
in interface Value
public boolean isValid(Mapping mapping) throws MappingException
isValid
in interface Value
MappingException
public String getReferencedEntityName()
public void setReferencedEntityName(String referencedEntityName)
public void setTypeUsingReflection(String className, String propertyName)
setTypeUsingReflection
in interface Value
public Object accept(ValueVisitor visitor)
public boolean isSame(OneToMany other)
public boolean[] getColumnInsertability()
getColumnInsertability
in interface Value
public boolean[] getColumnUpdateability()
getColumnUpdateability
in interface Value
public boolean isIgnoreNotFound()
public void setIgnoreNotFound(boolean ignoreNotFound)
Copyright © 2019 JBoss by Red Hat. All rights reserved.