📄 reflectedcollectionproperty.java
字号:
package net.sf.hibernate.tool.class2hbm;/** * @version 1.x * @author <a href="mailto:doug.currie@alum.mit.edu">e</a> */class ReflectedCollectionProperty extends ReflectedProperty { /** * Constructor for ReflectedListProperty. * @param name * @param type */ ReflectedCollectionProperty(String name, Class type, MapGenerator map) { super(name, type, map, "bag"); } protected void getXMLinArray( int level, StringBuffer buf ) { this.buf = buf; emitSubCollectionStr(level, name); } protected void getXMLinComposite( int level, StringBuffer buf ) { this.buf = buf; emitCollectionInCompositeStr(level); } protected void getXML( int level, StringBuffer buf ) { this.buf = buf; if( comment != null ) { emitPCommentStr(level, comment, name, type.getName()); } emitCollectionStrL(level, "bag", name, true); emitCollectionStrK(level+1, "uid"); emitCollectionStrET(level+1, "elm", "string"); emitCollectionStrR(level, "bag"); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -