public class org.hibernate.mapping.OneToOne extends org.hibernate.mapping.ToOne
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.mapping.OneToOne
super_class: org.hibernate.mapping.ToOne
{
private boolean constrained;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private org.hibernate.type.ForeignKeyDirection foreignKeyType;
descriptor: Lorg/hibernate/type/ForeignKeyDirection;
flags: (0x0002) ACC_PRIVATE
private org.hibernate.mapping.KeyValue identifier;
descriptor: Lorg/hibernate/mapping/KeyValue;
flags: (0x0002) ACC_PRIVATE
private java.lang.String propertyName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String entityName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.hibernate.boot.spi.MetadataImplementor, org.hibernate.mapping.Table, org.hibernate.mapping.PersistentClass);
descriptor: (Lorg/hibernate/boot/spi/MetadataImplementor;Lorg/hibernate/mapping/Table;Lorg/hibernate/mapping/PersistentClass;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokespecial org.hibernate.mapping.ToOne.<init>:(Lorg/hibernate/boot/spi/MetadataImplementor;Lorg/hibernate/mapping/Table;)V
1: aload 0
aload 3
invokevirtual org.hibernate.mapping.PersistentClass.getKey:()Lorg/hibernate/mapping/KeyValue;
putfield org.hibernate.mapping.OneToOne.identifier:Lorg/hibernate/mapping/KeyValue;
2: aload 0
aload 3
invokevirtual org.hibernate.mapping.PersistentClass.getEntityName:()Ljava/lang/String;
putfield org.hibernate.mapping.OneToOne.entityName:Ljava/lang/String;
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/mapping/OneToOne;
0 4 1 metadata Lorg/hibernate/boot/spi/MetadataImplementor;
0 4 2 table Lorg/hibernate/mapping/Table;
0 4 3 owner Lorg/hibernate/mapping/PersistentClass;
Exceptions:
throws org.hibernate.MappingException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
metadata
table
owner
public void <init>(org.hibernate.boot.spi.MetadataBuildingContext, org.hibernate.mapping.Table, org.hibernate.mapping.PersistentClass);
descriptor: (Lorg/hibernate/boot/spi/MetadataBuildingContext;Lorg/hibernate/mapping/Table;Lorg/hibernate/mapping/PersistentClass;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokespecial org.hibernate.mapping.ToOne.<init>:(Lorg/hibernate/boot/spi/MetadataBuildingContext;Lorg/hibernate/mapping/Table;)V
1: aload 0
aload 3
invokevirtual org.hibernate.mapping.PersistentClass.getKey:()Lorg/hibernate/mapping/KeyValue;
putfield org.hibernate.mapping.OneToOne.identifier:Lorg/hibernate/mapping/KeyValue;
2: aload 0
aload 3
invokevirtual org.hibernate.mapping.PersistentClass.getEntityName:()Ljava/lang/String;
putfield org.hibernate.mapping.OneToOne.entityName:Ljava/lang/String;
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/mapping/OneToOne;
0 4 1 buildingContext Lorg/hibernate/boot/spi/MetadataBuildingContext;
0 4 2 table Lorg/hibernate/mapping/Table;
0 4 3 owner Lorg/hibernate/mapping/PersistentClass;
Exceptions:
throws org.hibernate.MappingException
MethodParameters:
Name Flags
buildingContext
table
owner
public java.lang.String getPropertyName();
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.OneToOne.propertyName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/mapping/OneToOne;
public void setPropertyName(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
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack: org.hibernate.mapping.OneToOne
1: aload 1
invokevirtual java.lang.String.intern:()Ljava/lang/String;
StackMap locals: org.hibernate.mapping.OneToOne java.lang.String
StackMap stack: org.hibernate.mapping.OneToOne java.lang.String
2: putfield org.hibernate.mapping.OneToOne.propertyName:Ljava/lang/String;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/mapping/OneToOne;
0 4 1 propertyName Ljava/lang/String;
MethodParameters:
Name Flags
propertyName
public java.lang.String getEntityName();
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.OneToOne.entityName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/mapping/OneToOne;
public void setEntityName(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 0
getfield org.hibernate.mapping.OneToOne.entityName:Ljava/lang/String;
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack: org.hibernate.mapping.OneToOne
1: aload 0
getfield org.hibernate.mapping.OneToOne.entityName:Ljava/lang/String;
invokevirtual java.lang.String.intern:()Ljava/lang/String;
StackMap locals: org.hibernate.mapping.OneToOne java.lang.String
StackMap stack: org.hibernate.mapping.OneToOne java.lang.String
2: putfield org.hibernate.mapping.OneToOne.entityName:Ljava/lang/String;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/mapping/OneToOne;
0 4 1 propertyName Ljava/lang/String;
MethodParameters:
Name Flags
propertyName
public org.hibernate.type.Type getType();
descriptor: ()Lorg/hibernate/type/Type;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.hibernate.mapping.OneToOne.getColumnIterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 11
1: aload 0
invokevirtual org.hibernate.mapping.OneToOne.getMetadata:()Lorg/hibernate/boot/spi/MetadataImplementor;
invokeinterface org.hibernate.boot.spi.MetadataImplementor.getTypeResolver:()Lorg/hibernate/type/TypeResolver;
invokevirtual org.hibernate.type.TypeResolver.getTypeFactory:()Lorg/hibernate/type/TypeFactory;
2: aload 0
invokevirtual org.hibernate.mapping.OneToOne.getReferencedEntityName:()Ljava/lang/String;
3: aload 0
getfield org.hibernate.mapping.OneToOne.foreignKeyType:Lorg/hibernate/type/ForeignKeyDirection;
4: aload 0
getfield org.hibernate.mapping.OneToOne.referenceToPrimaryKey:Z
5: aload 0
getfield org.hibernate.mapping.OneToOne.referencedPropertyName:Ljava/lang/String;
6: aload 0
invokevirtual org.hibernate.mapping.OneToOne.isLazy:()Z
7: aload 0
invokevirtual org.hibernate.mapping.OneToOne.isUnwrapProxy:()Z
8: aload 0
getfield org.hibernate.mapping.OneToOne.entityName:Ljava/lang/String;
9: aload 0
getfield org.hibernate.mapping.OneToOne.propertyName:Ljava/lang/String;
10: invokevirtual org.hibernate.type.TypeFactory.specialOneToOne:(Ljava/lang/String;Lorg/hibernate/type/ForeignKeyDirection;ZLjava/lang/String;ZZLjava/lang/String;Ljava/lang/String;)Lorg/hibernate/type/EntityType;
areturn
11: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.hibernate.mapping.OneToOne.getMetadata:()Lorg/hibernate/boot/spi/MetadataImplementor;
invokeinterface org.hibernate.boot.spi.MetadataImplementor.getTypeResolver:()Lorg/hibernate/type/TypeResolver;
invokevirtual org.hibernate.type.TypeResolver.getTypeFactory:()Lorg/hibernate/type/TypeFactory;
12: aload 0
invokevirtual org.hibernate.mapping.OneToOne.getReferencedEntityName:()Ljava/lang/String;
13: aload 0
getfield org.hibernate.mapping.OneToOne.foreignKeyType:Lorg/hibernate/type/ForeignKeyDirection;
14: aload 0
getfield org.hibernate.mapping.OneToOne.referenceToPrimaryKey:Z
15: aload 0
getfield org.hibernate.mapping.OneToOne.referencedPropertyName:Ljava/lang/String;
16: aload 0
invokevirtual org.hibernate.mapping.OneToOne.isLazy:()Z
17: aload 0
invokevirtual org.hibernate.mapping.OneToOne.isUnwrapProxy:()Z
18: aload 0
getfield org.hibernate.mapping.OneToOne.entityName:Ljava/lang/String;
19: aload 0
getfield org.hibernate.mapping.OneToOne.propertyName:Ljava/lang/String;
20: invokevirtual org.hibernate.type.TypeFactory.oneToOne:(Ljava/lang/String;Lorg/hibernate/type/ForeignKeyDirection;ZLjava/lang/String;ZZLjava/lang/String;Ljava/lang/String;)Lorg/hibernate/type/EntityType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/hibernate/mapping/OneToOne;
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.OneToOne.constrained:Z
ifeq 2
aload 0
getfield org.hibernate.mapping.OneToOne.referencedPropertyName:Ljava/lang/String;
ifnonnull 2
1: aload 0
aload 0
invokevirtual org.hibernate.mapping.OneToOne.getType:()Lorg/hibernate/type/Type;
checkcast org.hibernate.type.EntityType
invokevirtual org.hibernate.type.EntityType.getAssociatedEntityName:()Ljava/lang/String;
invokevirtual org.hibernate.mapping.OneToOne.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/OneToOne;
Exceptions:
throws org.hibernate.MappingException
public java.util.List getConstraintColumns();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
getfield org.hibernate.mapping.OneToOne.identifier:Lorg/hibernate/mapping/KeyValue;
invokeinterface org.hibernate.mapping.KeyValue.getColumnIterator:()Ljava/util/Iterator;
astore 2
start local 2 2: goto 4
3: StackMap locals: java.util.ArrayList java.util.Iterator
StackMap stack:
aload 1
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
5: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/hibernate/mapping/OneToOne;
1 6 1 list Ljava/util/ArrayList;
2 6 2 iter Ljava/util/Iterator;
public boolean isConstrained();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.mapping.OneToOne.constrained:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/mapping/OneToOne;
public org.hibernate.type.ForeignKeyDirection getForeignKeyType();
descriptor: ()Lorg/hibernate/type/ForeignKeyDirection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.mapping.OneToOne.foreignKeyType:Lorg/hibernate/type/ForeignKeyDirection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/mapping/OneToOne;
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.OneToOne.identifier:Lorg/hibernate/mapping/KeyValue;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/mapping/OneToOne;
public void setConstrained(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.OneToOne.constrained:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/mapping/OneToOne;
0 2 1 constrained Z
MethodParameters:
Name Flags
constrained
public void setForeignKeyType(org.hibernate.type.ForeignKeyDirection);
descriptor: (Lorg/hibernate/type/ForeignKeyDirection;)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.OneToOne.foreignKeyType:Lorg/hibernate/type/ForeignKeyDirection;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/mapping/OneToOne;
0 2 1 foreignKeyType Lorg/hibernate/type/ForeignKeyDirection;
MethodParameters:
Name Flags
foreignKeyType
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.OneToOne.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/OneToOne;
0 2 1 identifier Lorg/hibernate/mapping/KeyValue;
MethodParameters:
Name Flags
identifier
public boolean isNullable();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.mapping.OneToOne.constrained:Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/mapping/OneToOne;
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/OneToOne;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/mapping/OneToOne;
0 1 1 visitor Lorg/hibernate/mapping/ValueVisitor;
MethodParameters:
Name Flags
visitor
public boolean isSame(org.hibernate.mapping.ToOne);
descriptor: (Lorg/hibernate/mapping/ToOne;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.hibernate.mapping.OneToOne
ifeq 1
aload 0
aload 1
checkcast org.hibernate.mapping.OneToOne
invokevirtual org.hibernate.mapping.OneToOne.isSame:(Lorg/hibernate/mapping/OneToOne;)Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/mapping/OneToOne;
0 2 1 other Lorg/hibernate/mapping/ToOne;
MethodParameters:
Name Flags
other
public boolean isSame(org.hibernate.mapping.OneToOne);
descriptor: (Lorg/hibernate/mapping/OneToOne;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.hibernate.mapping.ToOne.isSame:(Lorg/hibernate/mapping/ToOne;)Z
ifeq 7
1: aload 0
getfield org.hibernate.mapping.OneToOne.foreignKeyType:Lorg/hibernate/type/ForeignKeyDirection;
aload 1
getfield org.hibernate.mapping.OneToOne.foreignKeyType:Lorg/hibernate/type/ForeignKeyDirection;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 7
2: aload 0
getfield org.hibernate.mapping.OneToOne.identifier:Lorg/hibernate/mapping/KeyValue;
aload 1
getfield org.hibernate.mapping.OneToOne.identifier:Lorg/hibernate/mapping/KeyValue;
invokestatic org.hibernate.mapping.OneToOne.isSame:(Lorg/hibernate/mapping/Value;Lorg/hibernate/mapping/Value;)Z
ifeq 7
3: aload 0
getfield org.hibernate.mapping.OneToOne.propertyName:Ljava/lang/String;
aload 1
getfield org.hibernate.mapping.OneToOne.propertyName:Ljava/lang/String;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 7
4: aload 0
getfield org.hibernate.mapping.OneToOne.entityName:Ljava/lang/String;
aload 1
getfield org.hibernate.mapping.OneToOne.entityName:Ljava/lang/String;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 7
5: aload 0
getfield org.hibernate.mapping.OneToOne.constrained:Z
aload 1
getfield org.hibernate.mapping.OneToOne.constrained:Z
if_icmpne 7
6: iconst_1
ireturn
StackMap locals:
StackMap stack:
7: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/hibernate/mapping/OneToOne;
0 8 1 other Lorg/hibernate/mapping/OneToOne;
MethodParameters:
Name Flags
other
}
SourceFile: "OneToOne.java"