Methods Summary |
---|
public java.lang.Object | accept(ValueVisitor visitor)
return visitor.accept(this);
|
public abstract void | createForeignKey()
|
public org.hibernate.FetchMode | getFetchMode()
return fetchMode;
|
public java.lang.String | getReferencedEntityName()
return referencedEntityName;
|
public java.lang.String | getReferencedPropertyName()
return referencedPropertyName;
|
public abstract org.hibernate.type.Type | getType()
|
public boolean | isEmbedded()
return embedded;
|
public boolean | isLazy()
return lazy;
|
public boolean | isTypeSpecified()
return referencedEntityName!=null;
|
public boolean | isUnwrapProxy()
return unwrapProxy;
|
public boolean | isValid(org.hibernate.engine.Mapping mapping)
if (referencedEntityName==null) {
throw new MappingException("association must specify the referenced entity");
}
return super.isValid( mapping );
|
public void | setEmbedded(boolean embedded)
this.embedded = embedded;
|
public void | setFetchMode(org.hibernate.FetchMode fetchMode)
this.fetchMode=fetchMode;
|
public void | setLazy(boolean lazy)
this.lazy = lazy;
|
public void | setReferencedEntityName(java.lang.String referencedEntityName)
this.referencedEntityName = referencedEntityName==null ?
null : referencedEntityName.intern();
|
public void | setReferencedPropertyName(java.lang.String name)
referencedPropertyName = name==null ? null : name.intern();
|
public void | setTypeUsingReflection(java.lang.String className, java.lang.String propertyName)
if (referencedEntityName==null) {
referencedEntityName = ReflectHelper.reflectedPropertyClass(className, propertyName).getName();
}
|
public void | setUnwrapProxy(boolean unwrapProxy)
this.unwrapProxy = unwrapProxy;
|