public abstract class org.hibernate.mapping.ToOne extends org.hibernate.mapping.SimpleValue implements org.hibernate.mapping.Fetchable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.hibernate.mapping.ToOne
super_class: org.hibernate.mapping.SimpleValue
{
private org.hibernate.FetchMode fetchMode;
descriptor: Lorg/hibernate/FetchMode;
flags: (0x0002) ACC_PRIVATE
protected java.lang.String referencedPropertyName;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
private java.lang.String referencedEntityName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean embedded;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean lazy;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
protected boolean unwrapProxy;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected boolean referenceToPrimaryKey;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected void <init>(org.hibernate.cfg.Mappings, org.hibernate.mapping.Table);
descriptor: (Lorg/hibernate/cfg/Mappings;Lorg/hibernate/mapping/Table;)V
flags: (0x0004) ACC_PROTECTED
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.SimpleValue.<init>:(Lorg/hibernate/cfg/Mappings;Lorg/hibernate/mapping/Table;)V
1: aload 0
iconst_1
putfield org.hibernate.mapping.ToOne.lazy:Z
2: aload 0
iconst_1
putfield org.hibernate.mapping.ToOne.referenceToPrimaryKey:Z
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/mapping/ToOne;
0 4 1 mappings Lorg/hibernate/cfg/Mappings;
0 4 2 table Lorg/hibernate/mapping/Table;
MethodParameters:
Name Flags
mappings
table
public org.hibernate.FetchMode getFetchMode();
descriptor: ()Lorg/hibernate/FetchMode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.mapping.ToOne.fetchMode:Lorg/hibernate/FetchMode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/mapping/ToOne;
public void setFetchMode(org.hibernate.FetchMode);
descriptor: (Lorg/hibernate/FetchMode;)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.ToOne.fetchMode:Lorg/hibernate/FetchMode;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/mapping/ToOne;
0 2 1 fetchMode Lorg/hibernate/FetchMode;
MethodParameters:
Name Flags
fetchMode
public abstract void createForeignKey();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws org.hibernate.MappingException
public abstract org.hibernate.type.Type getType();
descriptor: ()Lorg/hibernate/type/Type;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws org.hibernate.MappingException
public java.lang.String getReferencedPropertyName();
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.ToOne.referencedPropertyName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/mapping/ToOne;
public void setReferencedPropertyName(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.ToOne
1: aload 1
invokevirtual java.lang.String.intern:()Ljava/lang/String;
StackMap locals: org.hibernate.mapping.ToOne java.lang.String
StackMap stack: org.hibernate.mapping.ToOne java.lang.String
2: putfield org.hibernate.mapping.ToOne.referencedPropertyName:Ljava/lang/String;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/mapping/ToOne;
0 4 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public java.lang.String getReferencedEntityName();
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.ToOne.referencedEntityName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/mapping/ToOne;
public void setReferencedEntityName(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 2
1: aconst_null
goto 3
StackMap locals:
StackMap stack: org.hibernate.mapping.ToOne
2: aload 1
invokevirtual java.lang.String.intern:()Ljava/lang/String;
3: StackMap locals: org.hibernate.mapping.ToOne java.lang.String
StackMap stack: org.hibernate.mapping.ToOne java.lang.String
putfield org.hibernate.mapping.ToOne.referencedEntityName:Ljava/lang/String;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/mapping/ToOne;
0 5 1 referencedEntityName Ljava/lang/String;
MethodParameters:
Name Flags
referencedEntityName
public void setTypeUsingReflection(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)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
getfield org.hibernate.mapping.ToOne.referencedEntityName:Ljava/lang/String;
ifnonnull 2
1: aload 0
aload 1
aload 2
invokestatic org.hibernate.internal.util.ReflectHelper.reflectedPropertyClass:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
putfield org.hibernate.mapping.ToOne.referencedEntityName:Ljava/lang/String;
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/mapping/ToOne;
0 3 1 className Ljava/lang/String;
0 3 2 propertyName Ljava/lang/String;
Exceptions:
throws org.hibernate.MappingException
MethodParameters:
Name Flags
className
propertyName
public boolean isTypeSpecified();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.mapping.ToOne.referencedEntityName:Ljava/lang/String;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/mapping/ToOne;
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/SimpleValue;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/mapping/ToOne;
0 1 1 visitor Lorg/hibernate/mapping/ValueVisitor;
MethodParameters:
Name Flags
visitor
public boolean isEmbedded();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.mapping.ToOne.embedded:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/mapping/ToOne;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public void setEmbedded(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.ToOne.embedded:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/mapping/ToOne;
0 2 1 embedded Z
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
embedded
public boolean isValid(org.hibernate.engine.spi.Mapping);
descriptor: (Lorg/hibernate/engine/spi/Mapping;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.mapping.ToOne.referencedEntityName:Ljava/lang/String;
ifnonnull 2
1: new org.hibernate.MappingException
dup
ldc "association must specify the referenced entity"
invokespecial org.hibernate.MappingException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial org.hibernate.mapping.SimpleValue.isValid:(Lorg/hibernate/engine/spi/Mapping;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/mapping/ToOne;
0 3 1 mapping Lorg/hibernate/engine/spi/Mapping;
Exceptions:
throws org.hibernate.MappingException
MethodParameters:
Name Flags
mapping
public boolean isLazy();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.mapping.ToOne.lazy:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/mapping/ToOne;
public void setLazy(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.ToOne.lazy:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/mapping/ToOne;
0 2 1 lazy Z
MethodParameters:
Name Flags
lazy
public boolean isUnwrapProxy();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.mapping.ToOne.unwrapProxy:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/mapping/ToOne;
public void setUnwrapProxy(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.ToOne.unwrapProxy:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/mapping/ToOne;
0 2 1 unwrapProxy Z
MethodParameters:
Name Flags
unwrapProxy
public boolean isReferenceToPrimaryKey();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.mapping.ToOne.referenceToPrimaryKey:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/mapping/ToOne;
public void setReferenceToPrimaryKey(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.ToOne.referenceToPrimaryKey:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/mapping/ToOne;
0 2 1 referenceToPrimaryKey Z
MethodParameters:
Name Flags
referenceToPrimaryKey
}
SourceFile: "ToOne.java"