Methods Summary |
---|
public java.lang.Object | accept(PersistentClassVisitor mv)
return mv.accept(this);
|
public void | addJoin(Join j)
super.addJoin(j);
getSuperclass().addSubclassJoin(j);
|
public void | addProperty(Property p)
super.addProperty(p);
getSuperclass().addSubclassProperty(p);
|
protected void | addSubclassJoin(Join j)
super.addSubclassJoin(j);
getSuperclass().addSubclassJoin(j);
|
protected void | addSubclassProperty(Property p)
super.addSubclassProperty(p);
getSuperclass().addSubclassProperty(p);
|
protected void | addSubclassTable(Table table)
super.addSubclassTable(table);
getSuperclass().addSubclassTable(table);
|
public void | createForeignKey()
if ( !isJoinedSubclass() ) {
throw new AssertionFailure( "not a joined-subclass" );
}
getKey().createForeignKeyOfEntity( getSuperclass().getEntityName() );
|
public java.lang.String | getCacheConcurrencyStrategy()
return getSuperclass().getCacheConcurrencyStrategy();
|
public Value | getDiscriminator()
return getSuperclass().getDiscriminator();
|
public java.lang.Class | getEntityPersisterClass()
if (classPersisterClass==null) {
return getSuperclass().getEntityPersisterClass();
}
else {
return classPersisterClass;
}
|
public java.util.Map | getFilterMap()
return getSuperclass().getFilterMap();
|
public KeyValue | getIdentifier()
return getSuperclass().getIdentifier();
|
public Component | getIdentifierMapper()
return superclass.getIdentifierMapper();
|
public Property | getIdentifierProperty()
return getSuperclass().getIdentifierProperty();
|
public java.util.Iterator | getJoinClosureIterator()
return new JoinedIterator(
getSuperclass().getJoinClosureIterator(),
super.getJoinClosureIterator()
);
|
public int | getJoinClosureSpan()
return getSuperclass().getJoinClosureSpan() + super.getJoinClosureSpan();
|
public KeyValue | getKey()
return getSuperclass().getIdentifier();
|
public java.util.Iterator | getKeyClosureIterator()
return new JoinedIterator(
getSuperclass().getKeyClosureIterator(),
new SingletonIterator( getKey() )
);
|
public int | getOptimisticLockMode()
return superclass.getOptimisticLockMode();
|
public java.util.Iterator | getPropertyClosureIterator()
return new JoinedIterator(
getSuperclass().getPropertyClosureIterator(),
getPropertyIterator()
);
|
public int | getPropertyClosureSpan()
return getSuperclass().getPropertyClosureSpan() + super.getPropertyClosureSpan();
|
public RootClass | getRootClass()
return getSuperclass().getRootClass();
|
public Table | getRootTable()
return getSuperclass().getRootTable();
|
public int | getSubclassId()
return subclassId;
|
public PersistentClass | getSuperclass()
return superclass;
|
public java.util.Set | getSynchronizedTables()
HashSet result = new HashSet();
result.addAll(synchronizedTables);
result.addAll( getSuperclass().getSynchronizedTables() );
return result;
|
public Table | getTable()
return getSuperclass().getTable();
|
public java.util.Iterator | getTableClosureIterator()
return new JoinedIterator(
getSuperclass().getTableClosureIterator(),
new SingletonIterator( getTable() )
);
|
public java.lang.String | getTuplizerImplClassName(org.hibernate.EntityMode mode)
String impl = super.getTuplizerImplClassName( mode );
if ( impl == null ) {
impl = getSuperclass().getTuplizerImplClassName( mode );
}
return impl;
|
public java.util.Map | getTuplizerMap()
Map specificTuplizerDefs = super.getTuplizerMap();
Map superclassTuplizerDefs = getSuperclass().getTuplizerMap();
if ( specificTuplizerDefs == null && superclassTuplizerDefs == null ) {
return null;
}
else {
Map combined = new HashMap();
if ( superclassTuplizerDefs != null ) {
combined.putAll( superclassTuplizerDefs );
}
if ( specificTuplizerDefs != null ) {
combined.putAll( specificTuplizerDefs );
}
return java.util.Collections.unmodifiableMap( combined );
}
|
public Property | getVersion()
return getSuperclass().getVersion();
|
public java.lang.String | getWhere()
return getSuperclass().getWhere();
|
public boolean | hasEmbeddedIdentifier()
return getSuperclass().hasEmbeddedIdentifier();
|
public boolean | hasIdentifierProperty()
return getSuperclass().hasIdentifierProperty();
|
public boolean | hasSubselectLoadableCollections()
return super.hasSubselectLoadableCollections() ||
getSuperclass().hasSubselectLoadableCollections();
|
public boolean | isClassOrSuperclassJoin(Join join)
return super.isClassOrSuperclassJoin(join) || getSuperclass().isClassOrSuperclassJoin(join);
|
public boolean | isClassOrSuperclassTable(Table table)
return super.isClassOrSuperclassTable(table) || getSuperclass().isClassOrSuperclassTable(table);
|
public boolean | isDiscriminatorInsertable()
return getSuperclass().isDiscriminatorInsertable();
|
public boolean | isExplicitPolymorphism()
return getSuperclass().isExplicitPolymorphism();
|
public boolean | isForceDiscriminator()
return getSuperclass().isForceDiscriminator();
|
public boolean | isInherited()
return true;
|
public boolean | isJoinedSubclass()
return getTable()!=getRootTable();
|
public boolean | isLazyPropertiesCacheable()
return getSuperclass().isLazyPropertiesCacheable();
|
public boolean | isMutable()
return getSuperclass().isMutable();
|
public boolean | isPolymorphic()
return true;
|
public boolean | isVersioned()
return getSuperclass().isVersioned();
|
int | nextSubclassId()
return getSuperclass().nextSubclassId();
|
public void | setEntityPersisterClass(java.lang.Class classPersisterClass)
this.classPersisterClass = classPersisterClass;
|
public void | setSuperclass(PersistentClass superclass)
this.superclass = superclass;
|