public abstract class org.hibernate.mapping.IndexedCollection extends org.hibernate.mapping.Collection
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.hibernate.mapping.IndexedCollection
super_class: org.hibernate.mapping.Collection
{
public static final java.lang.String DEFAULT_INDEX_COLUMN_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "idx"
private org.hibernate.mapping.Value index;
descriptor: Lorg/hibernate/mapping/Value;
flags: (0x0002) ACC_PRIVATE
private java.lang.String indexNodeName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.hibernate.cfg.Mappings, org.hibernate.mapping.PersistentClass);
descriptor: (Lorg/hibernate/cfg/Mappings;Lorg/hibernate/mapping/PersistentClass;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.hibernate.mapping.Collection.<init>:(Lorg/hibernate/cfg/Mappings;Lorg/hibernate/mapping/PersistentClass;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/mapping/IndexedCollection;
0 2 1 mappings Lorg/hibernate/cfg/Mappings;
0 2 2 owner Lorg/hibernate/mapping/PersistentClass;
MethodParameters:
Name Flags
mappings
owner
public org.hibernate.mapping.Value getIndex();
descriptor: ()Lorg/hibernate/mapping/Value;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.mapping.IndexedCollection.index:Lorg/hibernate/mapping/Value;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/mapping/IndexedCollection;
public void setIndex(org.hibernate.mapping.Value);
descriptor: (Lorg/hibernate/mapping/Value;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.hibernate.mapping.IndexedCollection.index:Lorg/hibernate/mapping/Value;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/mapping/IndexedCollection;
0 2 1 index Lorg/hibernate/mapping/Value;
MethodParameters:
Name Flags
index
public final boolean isIndexed();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/mapping/IndexedCollection;
void createPrimaryKey();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual org.hibernate.mapping.IndexedCollection.isOneToMany:()Z
ifne 13
1: new org.hibernate.mapping.PrimaryKey
dup
invokespecial org.hibernate.mapping.PrimaryKey.<init>:()V
astore 1
start local 1 2: aload 1
aload 0
invokevirtual org.hibernate.mapping.IndexedCollection.getKey:()Lorg/hibernate/mapping/KeyValue;
invokeinterface org.hibernate.mapping.KeyValue.getColumnIterator:()Ljava/util/Iterator;
invokevirtual org.hibernate.mapping.PrimaryKey.addColumns:(Ljava/util/Iterator;)V
3: iconst_0
istore 2
start local 2 4: aload 0
invokevirtual org.hibernate.mapping.IndexedCollection.getIndex:()Lorg/hibernate/mapping/Value;
invokeinterface org.hibernate.mapping.Value.getColumnIterator:()Ljava/util/Iterator;
astore 3
start local 3 5: goto 7
6: StackMap locals: org.hibernate.mapping.PrimaryKey int java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.mapping.Selectable
invokeinterface org.hibernate.mapping.Selectable.isFormula:()Z
ifeq 7
iconst_1
istore 2
7: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
8: iload 2
ifeq 11
9: aload 1
aload 0
invokevirtual org.hibernate.mapping.IndexedCollection.getElement:()Lorg/hibernate/mapping/Value;
invokeinterface org.hibernate.mapping.Value.getColumnIterator:()Ljava/util/Iterator;
invokevirtual org.hibernate.mapping.PrimaryKey.addColumns:(Ljava/util/Iterator;)V
10: goto 12
11: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual org.hibernate.mapping.IndexedCollection.getIndex:()Lorg/hibernate/mapping/Value;
invokeinterface org.hibernate.mapping.Value.getColumnIterator:()Ljava/util/Iterator;
invokevirtual org.hibernate.mapping.PrimaryKey.addColumns:(Ljava/util/Iterator;)V
12: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.hibernate.mapping.IndexedCollection.getCollectionTable:()Lorg/hibernate/mapping/Table;
aload 1
invokevirtual org.hibernate.mapping.Table.setPrimaryKey:(Lorg/hibernate/mapping/PrimaryKey;)V
end local 3 end local 2 end local 1 13: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/hibernate/mapping/IndexedCollection;
2 13 1 pk Lorg/hibernate/mapping/PrimaryKey;
4 13 2 isFormula Z
5 13 3 iter Ljava/util/Iterator;
public void validate(org.hibernate.engine.spi.Mapping);
descriptor: (Lorg/hibernate/engine/spi/Mapping;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.hibernate.mapping.Collection.validate:(Lorg/hibernate/engine/spi/Mapping;)V
1: aload 0
invokevirtual org.hibernate.mapping.IndexedCollection.getIndex:()Lorg/hibernate/mapping/Value;
aload 1
invokeinterface org.hibernate.mapping.Value.isValid:(Lorg/hibernate/engine/spi/Mapping;)Z
ifne 9
2: new org.hibernate.MappingException
dup
3: new java.lang.StringBuilder
dup
ldc "collection index mapping has wrong number of columns: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
4: aload 0
invokevirtual org.hibernate.mapping.IndexedCollection.getRole:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: ldc " type: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: aload 0
invokevirtual org.hibernate.mapping.IndexedCollection.getIndex:()Lorg/hibernate/mapping/Value;
invokeinterface org.hibernate.mapping.Value.getType:()Lorg/hibernate/type/Type;
invokeinterface org.hibernate.type.Type.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: invokespecial org.hibernate.MappingException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.mapping.IndexedCollection.indexNodeName:Ljava/lang/String;
ifnull 11
aload 0
getfield org.hibernate.mapping.IndexedCollection.indexNodeName:Ljava/lang/String;
ldc "@"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 11
10: new org.hibernate.MappingException
dup
new java.lang.StringBuilder
dup
ldc "index node must be an attribute: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.hibernate.mapping.IndexedCollection.indexNodeName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.hibernate.MappingException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/hibernate/mapping/IndexedCollection;
0 12 1 mapping Lorg/hibernate/engine/spi/Mapping;
Exceptions:
throws org.hibernate.MappingException
MethodParameters:
Name Flags
mapping
public boolean isList();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/mapping/IndexedCollection;
public java.lang.String getIndexNodeName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.mapping.IndexedCollection.indexNodeName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/mapping/IndexedCollection;
public void setIndexNodeName(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.hibernate.mapping.IndexedCollection.indexNodeName:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/mapping/IndexedCollection;
0 2 1 indexNodeName Ljava/lang/String;
MethodParameters:
Name Flags
indexNodeName
}
SourceFile: "IndexedCollection.java"