public class org.hibernate.mapping.ManyToOne extends org.hibernate.mapping.ToOne
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.mapping.ManyToOne
super_class: org.hibernate.mapping.ToOne
{
private boolean ignoreNotFound;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean isLogicalOneToOne;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(org.hibernate.cfg.Mappings, org.hibernate.mapping.Table);
descriptor: (Lorg/hibernate/cfg/Mappings;Lorg/hibernate/mapping/Table;)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.ToOne.<init>:(Lorg/hibernate/cfg/Mappings;Lorg/hibernate/mapping/Table;)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/ManyToOne;
0 2 1 mappings Lorg/hibernate/cfg/Mappings;
0 2 2 table Lorg/hibernate/mapping/Table;
MethodParameters:
Name Flags
mappings
table
public org.hibernate.type.Type getType();
descriptor: ()Lorg/hibernate/type/Type;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.hibernate.mapping.ManyToOne.getMappings:()Lorg/hibernate/cfg/Mappings;
invokeinterface org.hibernate.cfg.Mappings.getTypeResolver:()Lorg/hibernate/type/TypeResolver;
invokevirtual org.hibernate.type.TypeResolver.getTypeFactory:()Lorg/hibernate/type/TypeFactory;
1: aload 0
invokevirtual org.hibernate.mapping.ManyToOne.getReferencedEntityName:()Ljava/lang/String;
2: aload 0
getfield org.hibernate.mapping.ManyToOne.referenceToPrimaryKey:Z
3: aload 0
invokevirtual org.hibernate.mapping.ManyToOne.getReferencedPropertyName:()Ljava/lang/String;
4: aload 0
invokevirtual org.hibernate.mapping.ManyToOne.isLazy:()Z
5: aload 0
invokevirtual org.hibernate.mapping.ManyToOne.isUnwrapProxy:()Z
6: aload 0
invokevirtual org.hibernate.mapping.ManyToOne.isIgnoreNotFound:()Z
7: aload 0
getfield org.hibernate.mapping.ManyToOne.isLogicalOneToOne:Z
8: invokevirtual org.hibernate.type.TypeFactory.manyToOne:(Ljava/lang/String;ZLjava/lang/String;ZZZZ)Lorg/hibernate/type/EntityType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/hibernate/mapping/ManyToOne;
Exceptions:
throws org.hibernate.MappingException
public void createForeignKey();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.mapping.ManyToOne.referencedPropertyName:Ljava/lang/String;
ifnonnull 2
aload 0
invokevirtual org.hibernate.mapping.ManyToOne.hasFormula:()Z
ifne 2
1: aload 0
aload 0
invokevirtual org.hibernate.mapping.ManyToOne.getType:()Lorg/hibernate/type/Type;
checkcast org.hibernate.type.EntityType
invokevirtual org.hibernate.type.EntityType.getAssociatedEntityName:()Ljava/lang/String;
invokevirtual org.hibernate.mapping.ManyToOne.createForeignKeyOfEntity:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/mapping/ManyToOne;
Exceptions:
throws org.hibernate.MappingException
public void createPropertyRefConstraints(java.util.Map);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.mapping.ManyToOne.referencedPropertyName:Ljava/lang/String;
ifnull 25
1: aload 1
aload 0
invokevirtual org.hibernate.mapping.ManyToOne.getReferencedEntityName:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.hibernate.mapping.PersistentClass
astore 2
start local 2 2: aload 2
aload 0
invokevirtual org.hibernate.mapping.ManyToOne.getReferencedPropertyName:()Ljava/lang/String;
invokevirtual org.hibernate.mapping.PersistentClass.getReferencedProperty:(Ljava/lang/String;)Lorg/hibernate/mapping/Property;
astore 3
start local 3 3: aload 3
ifnonnull 11
4: new org.hibernate.MappingException
dup
5: new java.lang.StringBuilder
dup
ldc "Could not find property "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
6: aload 0
invokevirtual org.hibernate.mapping.ManyToOne.getReferencedPropertyName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: ldc " on "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: aload 0
invokevirtual org.hibernate.mapping.ManyToOne.getReferencedEntityName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: invokespecial org.hibernate.MappingException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals: org.hibernate.mapping.PersistentClass org.hibernate.mapping.Property
StackMap stack:
aload 0
invokevirtual org.hibernate.mapping.ManyToOne.hasFormula:()Z
ifne 25
ldc "none"
aload 0
invokevirtual org.hibernate.mapping.ManyToOne.getForeignKeyName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 25
12: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 13: aload 3
invokevirtual org.hibernate.mapping.Property.getColumnIterator:()Ljava/util/Iterator;
astore 5
start local 5 14: goto 17
15: StackMap locals: java.util.List java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.mapping.Column
astore 6
start local 6 16: aload 4
aload 6
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 17: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 15
18: aload 0
invokevirtual org.hibernate.mapping.ManyToOne.getTable:()Lorg/hibernate/mapping/Table;
19: aload 0
invokevirtual org.hibernate.mapping.ManyToOne.getForeignKeyName:()Ljava/lang/String;
20: aload 0
invokevirtual org.hibernate.mapping.ManyToOne.getConstraintColumns:()Ljava/util/List;
21: aload 0
invokevirtual org.hibernate.mapping.ManyToOne.getType:()Lorg/hibernate/type/Type;
checkcast org.hibernate.type.EntityType
invokevirtual org.hibernate.type.EntityType.getAssociatedEntityName:()Ljava/lang/String;
22: aload 4
23: invokevirtual org.hibernate.mapping.Table.createForeignKey:(Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/util/List;)Lorg/hibernate/mapping/ForeignKey;
astore 6
start local 6 24: aload 6
aload 0
invokevirtual org.hibernate.mapping.ManyToOne.isCascadeDeleteEnabled:()Z
invokevirtual org.hibernate.mapping.ForeignKey.setCascadeDeleteEnabled:(Z)V
end local 6 end local 5 end local 4 end local 3 end local 2 25: StackMap locals: org.hibernate.mapping.ManyToOne java.util.Map
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lorg/hibernate/mapping/ManyToOne;
0 26 1 persistentClasses Ljava/util/Map;
2 25 2 pc Lorg/hibernate/mapping/PersistentClass;
3 25 3 property Lorg/hibernate/mapping/Property;
13 25 4 refColumns Ljava/util/List;
14 25 5 iter Ljava/util/Iterator;
16 17 6 col Lorg/hibernate/mapping/Column;
24 25 6 fk Lorg/hibernate/mapping/ForeignKey;
MethodParameters:
Name Flags
persistentClasses
public java.lang.Object accept(org.hibernate.mapping.ValueVisitor);
descriptor: (Lorg/hibernate/mapping/ValueVisitor;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokeinterface org.hibernate.mapping.ValueVisitor.accept:(Lorg/hibernate/mapping/ManyToOne;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/mapping/ManyToOne;
0 1 1 visitor Lorg/hibernate/mapping/ValueVisitor;
MethodParameters:
Name Flags
visitor
public boolean isIgnoreNotFound();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.mapping.ManyToOne.ignoreNotFound:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/mapping/ManyToOne;
public void setIgnoreNotFound(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.hibernate.mapping.ManyToOne.ignoreNotFound:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/mapping/ManyToOne;
0 2 1 ignoreNotFound Z
MethodParameters:
Name Flags
ignoreNotFound
public void markAsLogicalOneToOne();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.hibernate.mapping.ManyToOne.isLogicalOneToOne:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/mapping/ManyToOne;
public boolean isLogicalOneToOne();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.mapping.ManyToOne.isLogicalOneToOne:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/mapping/ManyToOne;
}
SourceFile: "ManyToOne.java"