Methods Summary |
---|
public java.lang.Object | accept(ValueVisitor visitor)
return visitor.accept(this);
|
public org.hibernate.type.CollectionType | getDefaultCollectionType()
return TypeFactory.array( getRole(), getReferencedPropertyName(), isEmbedded(), getElementClass() );
|
public java.lang.Class | getElementClass()
if (elementClassName==null) {
org.hibernate.type.Type elementType = getElement().getType();
return isPrimitiveArray() ?
( (PrimitiveType) elementType ).getPrimitiveClass() :
elementType.getReturnedClass();
}
else {
try {
return ReflectHelper.classForName(elementClassName);
}
catch (ClassNotFoundException cnfe) {
throw new MappingException(cnfe);
}
}
|
public java.lang.String | getElementClassName()
return elementClassName;
|
public boolean | isArray()
return true;
|
public void | setElementClassName(java.lang.String elementClassName)
this.elementClassName = elementClassName;
|