Methods Summary |
---|
public java.lang.Object | accept(PersistentClassVisitor mv)
return mv.accept(this);
|
public KeyValue | getKey()
return key;
|
public java.util.Iterator | getReferenceablePropertyIterator()
return getPropertyIterator();
|
public Table | getTable()
return table;
|
public void | setKey(KeyValue key)
this.key = key;
|
public void | setTable(Table table)
this.table=table;
getSuperclass().addSubclassTable(table);
|
public void | validate(org.hibernate.engine.Mapping mapping)
super.validate(mapping);
if ( key!=null && !key.isValid(mapping) ) {
throw new MappingException(
"subclass key mapping has wrong number of columns: " +
getEntityName() +
" type: " +
key.getType().getName()
);
}
|