public abstract class org.hibernate.mapping.IdentifierCollection 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.IdentifierCollection
super_class: org.hibernate.mapping.Collection
{
public static final java.lang.String DEFAULT_IDENTIFIER_COLUMN_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "id"
private org.hibernate.mapping.KeyValue identifier;
descriptor: Lorg/hibernate/mapping/KeyValue;
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/IdentifierCollection;
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.KeyValue getIdentifier();
descriptor: ()Lorg/hibernate/mapping/KeyValue;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.mapping.IdentifierCollection.identifier:Lorg/hibernate/mapping/KeyValue;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/mapping/IdentifierCollection;
public void setIdentifier(org.hibernate.mapping.KeyValue);
descriptor: (Lorg/hibernate/mapping/KeyValue;)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.IdentifierCollection.identifier:Lorg/hibernate/mapping/KeyValue;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/mapping/IdentifierCollection;
0 2 1 identifier Lorg/hibernate/mapping/KeyValue;
MethodParameters:
Name Flags
identifier
public final boolean isIdentified();
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/IdentifierCollection;
void createPrimaryKey();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.hibernate.mapping.IdentifierCollection.isOneToMany:()Z
ifne 4
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.IdentifierCollection.getIdentifier:()Lorg/hibernate/mapping/KeyValue;
invokeinterface org.hibernate.mapping.KeyValue.getColumnIterator:()Ljava/util/Iterator;
invokevirtual org.hibernate.mapping.PrimaryKey.addColumns:(Ljava/util/Iterator;)V
3: aload 0
invokevirtual org.hibernate.mapping.IdentifierCollection.getCollectionTable:()Lorg/hibernate/mapping/Table;
aload 1
invokevirtual org.hibernate.mapping.Table.setPrimaryKey:(Lorg/hibernate/mapping/PrimaryKey;)V
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/mapping/IdentifierCollection;
2 4 1 pk Lorg/hibernate/mapping/PrimaryKey;
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.IdentifierCollection.getIdentifier:()Lorg/hibernate/mapping/KeyValue;
aload 1
invokeinterface org.hibernate.mapping.KeyValue.isValid:(Lorg/hibernate/engine/spi/Mapping;)Z
ifne 9
2: new org.hibernate.MappingException
dup
3: new java.lang.StringBuilder
dup
ldc "collection id mapping has wrong number of columns: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
4: aload 0
invokevirtual org.hibernate.mapping.IdentifierCollection.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.IdentifierCollection.getIdentifier:()Lorg/hibernate/mapping/KeyValue;
invokeinterface org.hibernate.mapping.KeyValue.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:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/hibernate/mapping/IdentifierCollection;
0 10 1 mapping Lorg/hibernate/engine/spi/Mapping;
Exceptions:
throws org.hibernate.MappingException
MethodParameters:
Name Flags
mapping
}
SourceFile: "IdentifierCollection.java"